]> 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 04821ddb67a9aacc18c11bd4b69e219c325b343f..a4337a4d938de59f075e6c077f64dec14cb119d1 100644 (file)
@@ -5,19 +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 $(DP_ARCH) == "FreeBSD"
+OBJ_SOUND=$(OBJ_OSSSOUND)
+LIB_SOUND=$(LIB_OSSSOUND)
+.else
 OBJ_SOUND=$(OBJ_BSDSOUND)
 LIB_SOUND=$(LIB_BSDSOUND)
+.endif
 OBJ_CD=$(OBJ_BSDCD)
 
 OBJ_CL=$(OBJ_GLX)