1/* 2 3 4 RUN xmkmf -a; make clean AFTER CHANGING THIS FILE! 5 6 7*/ 8/* comment folloving out if you want to disable network support 9 It is experimantal and may cause some problems..*/ 10#define NETWORK 11/* comment following to disable mit shared memory support 12 mitshm now works on all X servers with shared images 13 support with depth 8,16,24,32. Fastest is in 8bpp mode. 14 great speedup better intro etc.. 15 mitshm support is now automatically diabled for aix*/ 16#define MITSHM 17/* have usleep? Some unixes don't have this call...so we have to 18 use my emulation 19 If you are unsure try to leave it commented out. My emulation 20 works on most unixes*/ 21/*#define HAVEUSLEEP*/ 22/* for network audio server(supported by most unixes)*/ 23/* It does not sound as well as built in driver ... koules uses too 24 much sounds*/ 25/*#define NAS_SOUND*/ /*comented=use own sounds server(linux,freebsd,sun,hpux,sgi)*/ 26/* for rplay deamon(supported by most unixes)*/ 27/* it is now in experimental ... also does not sounds very well*/ 28/*#define RSOUND*/ 29/* linux joystick support 30 Now compiles w/o joystick toolkit. For using joystick support is 31 joystick toolikit required...of course */ 32/*#define JOYSTICK*/ 33/*for fast 386 based assembler routines 34 recomended for linux*/ 35/*#define I386ASSEMBLY*/ 36/* directories*/ 37KOULESDIR =${DESTDIR}$(PREFIX)/libexec 38SOUNDDIR =${DESTDIR}$(PREFIX)/share/xkoules 39MANSUFFIX =6 40 41/*You need some extra libraryes for BSD sockets compatibility?*/ 42/* TOP_INCLUDES = /* Sun users with GCC need this */ 43/* EXTRALIB = -ldnet_stub /* DEC/OSF1 DECnet library required */ 44/* EXTRALIB = -lsocket -lnsl /* Solaris needs these */ 45/* EXTRALIB = /* normal */ 46 47 48 49DEPLIBS = $(DEPXLIB) 50INCLUDES = -Ixlib 51SUBDIRS = xlib 52 53#if defined(LinuxArchitecture) 54 SYSDEFS = -Wall -fomit-frame-pointer -O6 -ffast-math 55#if !defined(NAS_SOUND)&&!defined(RSOUND) 56#define SOUND 57 SOUNDSERVER = koules.sndsrv.linux 58 SOUNDOBJS = sound.o 59 SOUNDDEV = /dev/dsp 60#endif 61#endif 62 63 64#if defined(HPArchitecture) 65 SYSDEFS = +O3 -Ae 66#if !defined(NAS_SOUND)&&!defined(RSOUND) 67#define SOUND 68 SOUNDSERVER = koules.sndsrv.hp 69 SOUNDOBJS = sound.o 70 SOUNDDEV = /dev/audio 71#endif 72#endif 73 74 75#if defined(SGIArchitecture) 76SYSDEFS = 77#if !defined(NAS_SOUND)&&!defined(RSOUND) 78#define SOUND 79SOUNDSERVER = koules.sndsrv.sgi 80SOUNDOBJS = sound.o 81EXTRA_LOAD_FLAGS = -laudio 82#endif 83#endif 84 85#if defined(SunArchitecture) 86 SYSDEFS = 87#if !defined(NAS_SOUND)&&!defined(RSOUND) 88#define SOUND 89 SOUNDSERVER = koules.sndsrv.sun 90 SOUNDOBJS = sound.o 91 SOUNDDEV = /dev/audio 92#endif 93#endif 94 95#if defined(FreeBSDArchitecture) 96SYSDEFS = 97#if !defined(NAS_SOUND)&&!defined(RSOUND) 98#define SOUND 99SOUNDSERVER = koules.sndsrv.freebsd 100SOUNDOBJS = sound.o 101SOUNDDEV = /dev/dsp 102#endif 103#endif 104 105#if defined(AIXArchitecture) 106 SYSDEFS = 107 SOUNDSERVER = 108 SOUNDOBJS = 109#undef MITSHM 110/*aix doesnt support mitshm*/ 111#endif 112 113