git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4838
d7cf8633-e32d-0410-b094-
e92efae38249
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)