1 ##### DP_MAKE_TARGET autodetection and arch specific variables #####
11 # Command used to delete files
14 UNIX_X11LIBPATH=-L/usr/X11R6/lib
17 .if $(DP_MAKE_TARGET) == "bsd"
20 .if $(DP_ARCH) == "FreeBSD"
21 DEFAULT_SNDAPI=$(DEFAULT_SNDAPI_OSS)
23 DEFAULT_SNDAPI=$(DEFAULT_SNDAPI_BSD)
29 LDFLAGS_CL=$(LDFLAGS_BSDCL)
30 LDFLAGS_SV=$(LDFLAGS_BSDSV)
34 EXE_SDL=$(EXE_UNIXSDL)
39 ##### Sound configuration #####
42 DP_SOUND_API=$(DEFAULT_SNDAPI)
46 .if $(DP_SOUND_API) == "NULL"
47 OBJ_SOUND=$(OBJ_SND_NULL)
48 LIB_SOUND=$(LIB_SND_NULL)
51 # OSS: Open Sound System
52 .if $(DP_SOUND_API) == "OSS"
53 OBJ_SOUND=$(OBJ_SND_OSS)
54 LIB_SOUND=$(LIB_SND_OSS)
57 # BSD: BSD / Sun audio API
58 .if $(DP_SOUND_API) == "BSD"
59 OBJ_SOUND=$(OBJ_SND_BSD)
60 LIB_SOUND=$(LIB_SND_BSD)
64 ##### BSD Make specific definitions #####
66 MAKE:=$(MAKE) -f makefile.bsd
68 DO_LD=$(CC) -o $@ $> $(LDFLAGS)
71 ##### Definitions shared by all makefiles #####
72 .include "makefile.inc"
75 ##### Dependency files #####
77 DEPEND_FILES != ls *.d
78 .for i in $(DEPEND_FILES)