# 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
# Build environment
#
CC = @CC@
+CFLAGS = @CFLAGS@
SHELL = @SHELL@
+RANLIB = @RANLIB@
+MOC = @MOC@
#
# Installation environment
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@
#
LIB += @LIB@ -L/usr/local/lib
+ifneq (,$(findstring mingw32,$(SYS)))
+LIB += -lws2_32 -lnetapi32
+endif
+
#
# Libraries needed by built-in modules
#
#end of optimisations
endif
-# Optional MMX optimizations for x86
-ifneq (,$(findstring mmx,$(ARCH)))
-CFLAGS += -DHAVE_MMX
-endif
-
#
# C compiler flags: dependancies
#
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