]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - BSDmakefile
ode: Disable by default. Minor memory savings in all edict_ts
[xonotic/darkplaces.git] / BSDmakefile
index 0c5e55cc47dff9c249cdcd3e5eb1d73c2b05c336..b98686dccb87bd85d723b4d3744eaf5ebc5b479b 100644 (file)
@@ -25,9 +25,10 @@ TARGETS_NEXUIZ=sv-nexuiz sdl-nexuiz
 # Link options
 DP_LINK_ZLIB?=shared
 DP_LINK_JPEG?=shared
-DP_LINK_ODE?=dlopen
+DP_LINK_ODE?=
 DP_LINK_CRYPTO?=dlopen
 DP_LINK_CRYPTO_RIJNDAEL?=dlopen
+DP_LINK_XMP?=dlopen
 
 ###### Optional features #####
 DP_VIDEO_CAPTURE?=enabled
@@ -112,6 +113,17 @@ LIB_CRYPTO_RIJNDAEL=
 CFLAGS_CRYPTO_RIJNDAEL=
 .endif
 
+# xmp
+.if $(DP_LINK_XMP) == "shared"
+OBJ_SND_XMP=snd_xmp.o
+LIB_SND_XMP=-lxmp
+CFLAGS_SND_XMP=-DUSEXMP -DLINK_TO_LIBXMP
+.else
+OBJ_SND_XMP=snd_xmp.o
+LIB_SND_XMP=
+CFLAGS_SND_XMP=-DUSEXMP
+.endif
+
 .endif