# *
# *  XMMP - LinuX MultiMedia Project ( www.frozenproductions.com )
# *  Copyright (c) 1999 - 2002 Arthur Kleer <kleer@frozenproductions.com>
# *

TOPDIR = ../../..

include $(TOPDIR)/Makefile.conf

OBJS = afl.o driver.o elfdll.o ext.o ldt_keeper.o module.o pe_image.o \
	pe_resource.o registry.o resource.o stubs.o vfl.o win32.o

O_TARGET = _wine.o

CDEFS = -DHAVE_CONFIG_H -D_REENTRANT -D_FILE_OFFSET_BITS=64 \
	-D__WINE__ -Ddbg_printf=__vprintf -DTRACE=__vprintf -D__NO_STRING_INLINES -DWIN32_PATH=\"$(CONFIG_W32DLL_PATH)\"

all:	$(O_TARGET)

clean:	cleanlib

install:

include $(TOPDIR)/Makefile.make

# We do not want to debug wine code
DEBUG = 
# We really need this. -O3 will cause segfault in wine code
OPT += -funroll-all-loops -fno-omit-frame-pointer
# We are not interested thousand pages of warnings ;-)
WARNING = -Wmissing-prototypes -Wimplicit-function-declaration
# No other headers needed
INCLUDES = -I ./ -I ../
