]> git.sesse.net Git - vlc/blobdiff - Makefile.opts.in
* DirectX plugin by Gildas Bazin <gbazin@netcourrier.com>.
[vlc] / Makefile.opts.in
index d36fe45ed6d6884c5bca5cdf81955cbdf4a151dc..13fcf0d960194957d6fa37b998d2c106f63ad80f 100644 (file)
 # the plugins in this line and put them as built-ins, otherwise your
 # application won't be able to load them.
 # 
-PLUGINS := @PLUGINS@
+PLUGINS :=@PLUGINS@
 
 # 
 # Built-in modules to build
 # WARNING: do NOT put gtk and gnome together in this rule.
 # 
-BUILTINS := @BUILTINS@
+BUILTINS :=@BUILTINS@
 
 # 
 # Additional build options
@@ -42,7 +42,10 @@ GETOPT = @GETOPT@
 # Build environment
 # 
 CC = @CC@
+CFLAGS = @CFLAGS@
 SHELL = @SHELL@
+RANLIB = @RANLIB@
+MOC = @MOC@
 
 # 
 # Installation environment
@@ -70,6 +73,7 @@ LIB_NCURSES = @LIB_NCURSES@
 LIB_QT = @LIB_QT@
 LIB_TS = @LIB_TS@
 LIB_SDL = @LIB_SDL@
+LIB_DIRECTX = @LIB_DIRECTX@
 LIB_X11 = @LIB_X11@
 LIB_XVIDEO = @LIB_XVIDEO@
 LIB_YUV = @LIB_YUV@
@@ -137,6 +141,10 @@ INCLUDE += -Iinclude -Iextras -I/usr/local/include
 #
 LIB += @LIB@ -L/usr/local/lib
 
+ifneq (,$(findstring mingw32,$(SYS)))
+LIB += -lws2_32 -lnetapi32
+endif
+
 #
 # Libraries needed by built-in modules
 #
@@ -193,11 +201,6 @@ endif
 #end of optimisations
 endif
 
-# Optional MMX optimizations for x86
-ifneq (,$(findstring mmx,$(ARCH)))
-CFLAGS += -DHAVE_MMX
-endif
-
 #
 # C compiler flags: dependancies
 #
@@ -210,25 +213,14 @@ DCFLAGS += -MM
 LCFLAGS += @LCFLAGS@ $(LIB)
 LCFLAGS += -Wall
 #LCFLAGS += -s
-
-ifeq ($(SYS),beos)
-LCFLAGS += -Xlinker -soname=_APP_
-else
-ifneq (,$(findstring qnx,$(SYS)))
-LCFLAGS += -Xlinker -export-dynamic
-else
-ifneq (,$(findstring darwin,$(SYS)))
-LCFLAGS += -dyn
-else
-LCFLAGS += --export-dynamic
-endif
-endif
+ifneq (,$(findstring mingw32,$(SYS)))
+LCFLAGS += -Xlinker --force-exe-suffix
 endif
 
 #
 # Debugging and profiling support
 #
-ifeq ($(TRACE),1)
+ifeq ($(DEBUG),1)
 CFLAGS += -g
 endif