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