EXTRADEFS = -D_GDI32_
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR    = @srcdir@
VPATH     = @srcdir@
MODULE    = gdi32
SOVERSION = 1.0
ALTNAMES  = gdi dispdib wing
IMPORTS   = kernel32 ntdll
EXTRALIBS = @FREETYPELIBS@
EXTRAINCL = @FREETYPEINCL@

C_SRCS = \
	bidi16.c \
	driver.c \
	freetype.c \
	gdi_main.c \
	printdrv.c \
	wing.c

RC_SRCS= \
	version.rc

RC_SRCS16= \
	version16.rc

GLUE = printdrv.c

EXTRA_OBJS = \
	$(TOPOBJDIR)/graphics/graphics.o \
	$(TOPOBJDIR)/graphics/enhmetafiledrv/enhmetafiledrv.o \
	$(TOPOBJDIR)/graphics/metafiledrv/metafiledrv.o \
	$(TOPOBJDIR)/graphics/win16drv/win16drv.o \
	$(TOPOBJDIR)/objects/objects.o

SUBDIRS = \
	$(TOPOBJDIR)/graphics \
	$(TOPOBJDIR)/graphics/enhmetafiledrv \
	$(TOPOBJDIR)/graphics/metafiledrv \
	$(TOPOBJDIR)/graphics/win16drv \
	$(TOPOBJDIR)/objects

@MAKE_DLL_RULES@

$(EXTRA_OBJS): dummy
	@cd `dirname $@` && $(MAKE) `basename $@`

# Special rules for 16-bit resource files

version16.res: version16.rc
	$(LDPATH) $(WRC) $(DIVINCL) -o $@ -w16 -m -r $(SRCDIR)/version16.rc

gdi.spec.c: version16.res

### Dependencies:

