1 ##### DP_MAKE_TARGET autodetection and arch specific variables #####
10 # Command used to delete files
13 # FIXME: should support lib64 based on uname -m output
14 UNIX_X11LIBPATH=-L/usr/X11R6/lib
17 .if $(DP_MAKE_TARGET) == "bsd"
20 .if exists(/usr/include/sys/soundcard.h)
21 OBJ_SOUND=$(OBJ_OSSSOUND)
23 OBJ_SOUND=$(OBJ_BSDSOUND)
25 LIB_SOUND=$(LIB_BSDSOUND)
30 LDFLAGS_CL=$(LDFLAGS_BSDCL)
31 LDFLAGS_SV=$(LDFLAGS_BSDSV)
35 EXE_SDL=$(EXE_UNIXSDL)
40 ##### BSD Make specific definitions #####
42 MAKE:=$(MAKE) -f makefile.bsd
44 DO_LD=$(CC) -o $@ $> $(LDFLAGS)
47 ##### Definitions shared by all makefiles #####
48 .include "makefile.inc"
51 ##### Dependency files #####
53 DEPEND_FILES != ls *.d
54 .for i in $(DEPEND_FILES)