TOPDIR = ../..

include $(TOPDIR)/Makefile.conf

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

TARGET = w32dll.a

CDEFS = -D__WINE__ -Ddbg_printf=__vprintf -DTRACE=__vprintf -DWIN32_PATH=\"$(CONFIG_W32DLL_PATH)\"

all:	$(TARGET)

clean:	cleanlib

install:

include $(TOPDIR)/Makefile.make

# We really need this. -O3 will cause segfault in wine code
OPT = -funroll-loops #-O3 
# We are not interested thousand pages of warnings ;-)
WARNING = #-Wall -Wstrict-prototypes
# We do not want to debug wine code
DEBUG = 
# No other headers needed
INCLUDES = -I ./ -I wine/ -I $(TOPDIR)/lib
