CFLAGS = @CFLAGS@
SHELL = @SHELL@
RANLIB = @RANLIB@
+MOC = @MOC@
#
# Installation environment
LIB += @LIB@ -L/usr/local/lib
ifneq (,$(findstring mingw32,$(SYS)))
-LIB += -lws2_32
+LIB += -lws2_32 -lnetapi32
endif
#
#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