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
|
#include "../Iconfig"
#XCOMM ***********************************************************
#XCOMM ---> Configuration options was moved indo Iconfig <----
#XCOMM ***********************************************************
#ifdef I386ASSEMBLY
MEMOBJ = mem.o
MEMSRC = mem.S
ASMDEF = -DASSEMBLY
#endif
#ifdef NETWORK
NET = -DNETSUPPORT
#endif
#ifdef JOYSTICK
JOYSTICK1 = -DJOYSTICK
#endif
#ifdef MITSHM
MITSHM1 = -DMITSHM
#endif
#ifdef HAVEUSLEEP
HAVEUSLEEP1 = -DHAVEUSLEEP
#endif
DEPLIBS = $(DEPXLIB)
#ifndef SOUND
#ifndef NAS_SOUND
#ifndef RSOUND
DEFINES = -DONLYANSI $(JOYSTICK1) $(NET) $(MITSHM1) $(HAVEUSLEEP1) $(SYSDEFS) $(JOYSTICK) -I.\
$(NAMEDEF) $(ASMDEF)
#else
INSTALLSOUND = True
NASLIB = -L/usr/local/lib/rplay -lrplay
SOUNDOBJS = rsound.o
DEFINES = -DONLYANSI -DRSOUND $(JOYSTICK1) $(NET) $(MITSHM1) $(HAVEUSLEEP1) $(SYSDEFS) $(JOYSTICK) -I.\
$(NAMEDEF) $(ASMDEF)\
-DSOUNDDIR=\"$(SOUNDDIR)\"
#endif
#else
INSTALLSOUND = True
NASLIB = -laudio
SOUNDOBJS = nas_sound.o
DEFINES = -DONLYANSI -DNAS_SOUND $(JOYSTICK1) $(NET) $(MITSHM1) $(HAVEUSLEEP1) $(SYSDEFS) $(JOYSTICK) -I.\
$(NAMEDEF) $(ASMDEF)\
-DSOUNDDIR=\"$(SOUNDDIR)\"
#endif
#else
INSTALLSOUND = True
DEFINES = -DONLYANSI -DSOUND $(JOYSTICK1) $(NET) $(MITSHM1) $(HAVEUSLEEP1) $(SYSDEFS) $(JOYSTICK) -I.\
$(NAMEDEF) $(ASMDEF)\
-DSOUNDSERVER=\"$(KOULESDIR)/$(SOUNDSERVER)\" \
-DSOUNDDIR=\"$(SOUNDDIR)\" \
-DSOUNDDEV=\"$(SOUNDDEV)\"
#endif
OBJS = init.o $(MEMOBJ)\
interface.o shmbitmap.o text.o font8x8.o
SRCS = init.c $(MEMSRC)\
interface.c shmbitmap.c text.c font8x8.o
NormalLibraryTarget(xlib, $(OBJS))
all::libxlib.a
|