]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - BSDmakefile
DP_PRELOAD_DEPENDENCIES=yes makefile option: when set, link against the libraries...
[xonotic/darkplaces.git] / BSDmakefile
index 249a2bc960d248f13b649f88cf120e4aea6b0cd4..6514487ef9a43741712a230e9c88ddee520bf731 100644 (file)
@@ -75,6 +75,14 @@ CFLAGS_FS=-DDP_FS_BASEDIR='\"$(DP_FS_BASEDIR)\"'
 CFLAGS_FS=
 .endif
 
 CFLAGS_FS=
 .endif
 
+CFLAGS_PRELOAD=
+.ifdef DP_PRELOAD_DEPENDENCIES
+LDFLAGS_CL+=$(LDFLAGS_UNIXCL_PRELOAD)
+LDFLAGS_SV+=$(LDFLAGS_UNIXSV_PRELOAD)
+LDFLAGS_SDL+=$(LDFLAGS_UNIXSDL_PRELOAD)
+CFLAGS_PRELOAD=$(CFLAGS_UNIX_PRELOAD)
+.endif
+
 
 ##### BSD Make specific definitions #####
 
 
 ##### BSD Make specific definitions #####