# 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 += @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 += -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
-endif
-
#
# Debugging and profiling support
#
-ifeq ($(TRACE),1)
+ifeq ($(DEBUG),1)
CFLAGS += -g
endif