1 ##### DP_MAKE_TARGET autodetection and arch specific variables #####
12 # Command used to delete files
15 UNIX_X11LIBPATH=/usr/X11R6/lib
18 .if $(DP_MAKE_TARGET) == "bsd"
21 .if $(DP_ARCH) == "FreeBSD"
32 LDFLAGS_CL=$(LDFLAGS_BSDCL)
33 LDFLAGS_SV=$(LDFLAGS_BSDSV)
34 LDFLAGS_SDL=$(LDFLAGS_BSDSDL)
38 EXE_SDL=$(EXE_UNIXSDL)
39 EXE_CLNEXUIZ=$(EXE_UNIXCLNEXUIZ)
40 EXE_SVNEXUIZ=$(EXE_UNIXSVNEXUIZ)
41 EXE_SDLNEXUIZ=$(EXE_UNIXSDLNEXUIZ)
46 ##### Sound configuration #####
49 DP_SOUND_API=$(DEFAULT_SNDAPI)
53 .if $(DP_SOUND_API) == "NULL"
54 OBJ_SOUND=$(OBJ_SND_NULL)
55 LIB_SOUND=$(LIB_SND_NULL)
58 # OSS: Open Sound System
59 .if $(DP_SOUND_API) == "OSS"
60 OBJ_SOUND=$(OBJ_SND_OSS)
61 LIB_SOUND=$(LIB_SND_OSS)
64 # BSD: BSD / Sun audio API
65 .if $(DP_SOUND_API) == "BSD"
66 OBJ_SOUND=$(OBJ_SND_BSD)
67 LIB_SOUND=$(LIB_SND_BSD)
71 ##### BSD Make specific definitions #####
73 MAKE:=$(MAKE) -f BSDmakefile
75 DO_LD=$(CC) -o $@ $> $(LDFLAGS)
78 ##### Definitions shared by all makefiles #####
79 .include "makefile.inc"
82 ##### Dependency files #####
84 DEPEND_FILES != ls *.d
85 .for i in $(DEPEND_FILES)