DP_VIDEO_CAPTURE?=enabled
ifeq ($(DP_VIDEO_CAPTURE), enabled)
CFLAGS_VIDEO_CAPTURE=-DCONFIG_VIDEO_CAPTURE
- OBJ_VIDEO_CAPTURE= cap_avi.o cap_ogg.o
+ OBJ_VIDEO_CAPTURE=cap_avi.o cap_ogg.o
else
CFLAGS_VIDEO_CAPTURE=
OBJ_VIDEO_CAPTURE=
DP_LINK_ODE?=dlopen
DP_LINK_CRYPTO?=dlopen
DP_LINK_CRYPTO_RIJNDAEL?=dlopen
+ DP_LINK_XMP?=dlopen
endif
# Mac OS X configuration
DP_LINK_ODE?=dlopen
DP_LINK_CRYPTO?=dlopen
DP_LINK_CRYPTO_RIJNDAEL?=dlopen
+ DP_LINK_XMP?=dlopen
# on OS X, we don't build the CL by default because it uses deprecated
# and not-implemented-in-64bit Carbon
DP_LINK_ODE?=dlopen
DP_LINK_CRYPTO?=dlopen
DP_LINK_CRYPTO_RIJNDAEL?=dlopen
+ DP_LINK_XMP?=dlopen
endif
# BSD configuration
DP_LINK_ODE?=dlopen
DP_LINK_CRYPTO?=dlopen
DP_LINK_CRYPTO_RIJNDAEL?=dlopen
+ DP_LINK_XMP?=dlopen
endif
# Win32 configuration
# WINDRES=$(TARGET)-windres
endif
-CFLAGS_D3D=
CFLAGS_WARNINGS=-Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes
-LDFLAGS_D3D=
ifeq ($(DP_MAKE_TARGET), mingw)
DP_LINK_ODE?=dlopen
DP_LINK_CRYPTO?=dlopen
DP_LINK_CRYPTO_RIJNDAEL?=dlopen
+ DP_LINK_XMP?=dlopen
endif
# set these to "" if you want to use dynamic loading instead
CFLAGS_CRYPTO_RIJNDAEL=
endif
+# xmp
+ifeq ($(DP_LINK_XMP), shared)
+ OBJ_SND_XMP=snd_xmp.o
+ LIB_SND_XMP=-lxmp
+ CFLAGS_SND_XMP=-DUSEXMP -DLINK_TO_LIBXMP
+endif
+ifeq ($(DP_LINK_XMP), dlopen)
+ OBJ_SND_XMP=snd_xmp.o
+ LIB_SND_XMP=
+ CFLAGS_SND_XMP=-DUSEXMP
+endif
+
+
##### Extra CFLAGS #####
CFLAGS_MAKEDEP?=-MMD