]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - makefile.bsd
cl_capturevideo_raw* modes now use O_NONBLOCKING file access for more performance
[xonotic/darkplaces.git] / makefile.bsd
index a120a69fa68dfcc7a5192b7a91d19a27e28b5109..a4337a4d938de59f075e6c077f64dec14cb119d1 100644 (file)
@@ -5,24 +5,25 @@
 DP_MAKE_TARGET=bsd
 
 .endif
+DP_ARCH != uname
 
 
 # Command used to delete files
 CMD_RM=$(CMD_UNIXRM)
 
-# FIXME: should support lib64 based on uname -m output
 UNIX_X11LIBPATH=-L/usr/X11R6/lib
 
 # BSD configuration
 .if $(DP_MAKE_TARGET) == "bsd"
 
 # FreeBSD uses OSS
-.if exists(/usr/include/sys/soundcard.h)
+.if $(DP_ARCH) == "FreeBSD"
 OBJ_SOUND=$(OBJ_OSSSOUND)
+LIB_SOUND=$(LIB_OSSSOUND)
 .else
 OBJ_SOUND=$(OBJ_BSDSOUND)
-.endif
 LIB_SOUND=$(LIB_BSDSOUND)
+.endif
 OBJ_CD=$(OBJ_BSDCD)
 
 OBJ_CL=$(OBJ_GLX)