1 ##### DP_MAKE_TARGET autodetection and arch specific variables #####
11 # Command used to delete files
14 UNIX_X11LIBPATH=/usr/X11R6/lib
17 .if $(DP_MAKE_TARGET) == "bsd"
20 .if $(DP_ARCH) == "FreeBSD"
31 LDFLAGS_CL=$(LDFLAGS_BSDCL)
32 LDFLAGS_SV=$(LDFLAGS_BSDSV)
33 LDFLAGS_SDL=$(LDFLAGS_BSDSDL)
37 EXE_SDL=$(EXE_UNIXSDL)
38 EXE_CLNEXUIZ=$(EXE_UNIXCLNEXUIZ)
39 EXE_SVNEXUIZ=$(EXE_UNIXSVNEXUIZ)
40 EXE_SDLNEXUIZ=$(EXE_UNIXSDLNEXUIZ)
45 ##### Sound configuration #####
48 DP_SOUND_API=$(DEFAULT_SNDAPI)
52 .if $(DP_SOUND_API) == "NULL"
53 OBJ_SOUND=$(OBJ_SND_NULL)
54 LIB_SOUND=$(LIB_SND_NULL)
57 # OSS: Open Sound System
58 .if $(DP_SOUND_API) == "OSS"
59 OBJ_SOUND=$(OBJ_SND_OSS)
60 LIB_SOUND=$(LIB_SND_OSS)
63 # BSD: BSD / Sun audio API
64 .if $(DP_SOUND_API) == "BSD"
65 OBJ_SOUND=$(OBJ_SND_BSD)
66 LIB_SOUND=$(LIB_SND_BSD)
70 ##### BSD Make specific definitions #####
74 DO_LD=$(CC) -o $@ $> $(LDFLAGS)
77 ##### Definitions shared by all makefiles #####
78 .include "makefile.inc"
81 ##### Dependency files #####
83 DEPEND_FILES != ls *.d
84 .for i in $(DEPEND_FILES)