1 ##### DP_MAKE_TARGET autodetection and arch specific variables #####
10 # Command used to delete files
13 UNIX_X11LIBPATH=/usr/X11R6/lib
16 .if $(DP_MAKE_TARGET) == "bsd"
19 .if $(DP_ARCH) == "FreeBSD"
30 LDFLAGS_CL=$(LDFLAGS_BSDCL)
31 LDFLAGS_SV=$(LDFLAGS_BSDSV)
32 LDFLAGS_SDL=$(LDFLAGS_BSDSDL)
36 EXE_SDL=$(EXE_UNIXSDL)
37 EXE_CLNEXUIZ=$(EXE_UNIXCLNEXUIZ)
38 EXE_SVNEXUIZ=$(EXE_UNIXSVNEXUIZ)
39 EXE_SDLNEXUIZ=$(EXE_UNIXSDLNEXUIZ)
44 ##### Sound configuration #####
47 DP_SOUND_API=$(DEFAULT_SNDAPI)
51 .if $(DP_SOUND_API) == "NULL"
52 OBJ_SOUND=$(OBJ_SND_NULL)
53 LIB_SOUND=$(LIB_SND_NULL)
56 # OSS: Open Sound System
57 .if $(DP_SOUND_API) == "OSS"
58 OBJ_SOUND=$(OBJ_SND_OSS)
59 LIB_SOUND=$(LIB_SND_OSS)
62 # BSD: BSD / Sun audio API
63 .if $(DP_SOUND_API) == "BSD"
64 OBJ_SOUND=$(OBJ_SND_BSD)
65 LIB_SOUND=$(LIB_SND_BSD)
69 ##### Extra CFLAGS #####
73 CFLAGS_FS=-DDP_FS_BASEDIR='\"$(DP_FS_BASEDIR)\"'
79 ##### BSD Make specific definitions #####
81 MAKE:=$(MAKE) -f BSDmakefile
83 DO_LD=$(CC) -o $@ $> $(LDFLAGS)
86 ##### Definitions shared by all makefiles #####
87 .include "makefile.inc"
90 ##### Dependency files #####
92 DEPEND_FILES != ls *.d
93 .for i in $(DEPEND_FILES)