Create at most one glue file for a single dll.
[wine] / dlls / gdi / Makefile.in
1 EXTRADEFS = -D_GDI32_
2 TOPSRCDIR = @top_srcdir@
3 TOPOBJDIR = ../..
4 SRCDIR    = @srcdir@
5 VPATH     = @srcdir@
6 MODULE    = gdi32.dll
7 IMPORTS   = advapi32 kernel32
8 ALTNAMES  = gdi.exe dispdib.dll wing.dll
9 LDIMPORTS = kernel32.dll ntdll.dll
10 EXTRAINCL = @FREETYPEINCL@
11
12 C_SRCS = \
13         $(TOPOBJDIR)/graphics/bitblt.c \
14         $(TOPOBJDIR)/graphics/dispdib.c \
15         $(TOPOBJDIR)/graphics/env.c \
16         $(TOPOBJDIR)/graphics/escape.c \
17         $(TOPOBJDIR)/graphics/fontengine.c \
18         $(TOPOBJDIR)/graphics/mapping.c \
19         $(TOPOBJDIR)/graphics/painting.c \
20         $(TOPOBJDIR)/graphics/path.c \
21         $(TOPOBJDIR)/objects/bitmap.c \
22         $(TOPOBJDIR)/objects/brush.c \
23         $(TOPOBJDIR)/objects/clipping.c \
24         $(TOPOBJDIR)/objects/dc.c \
25         $(TOPOBJDIR)/objects/dcvalues.c \
26         $(TOPOBJDIR)/objects/dib.c \
27         $(TOPOBJDIR)/objects/enhmetafile.c \
28         $(TOPOBJDIR)/objects/font.c \
29         $(TOPOBJDIR)/objects/gdiobj.c \
30         $(TOPOBJDIR)/objects/linedda.c \
31         $(TOPOBJDIR)/objects/metafile.c \
32         $(TOPOBJDIR)/objects/palette.c \
33         $(TOPOBJDIR)/objects/pen.c \
34         $(TOPOBJDIR)/objects/region.c \
35         $(TOPOBJDIR)/objects/text.c \
36         bidi16.c \
37         driver.c \
38         enhmfdrv/bitblt.c \
39         enhmfdrv/dc.c \
40         enhmfdrv/graphics.c \
41         enhmfdrv/init.c \
42         enhmfdrv/mapping.c \
43         enhmfdrv/objects.c \
44         freetype.c \
45         gdi_main.c \
46         mfdrv/bitblt.c \
47         mfdrv/dc.c \
48         mfdrv/graphics.c \
49         mfdrv/init.c \
50         mfdrv/mapping.c \
51         mfdrv/objects.c \
52         mfdrv/text.c \
53         printdrv.c \
54         win16drv/font.c \
55         win16drv/graphics.c \
56         win16drv/init.c \
57         win16drv/objects.c \
58         win16drv/prtdrv.c \
59         win16drv/text.c \
60         wing.c
61
62 RC_SRCS = version.rc
63 RC_SRCS16 = version16.rc
64
65 EXTRA_OBJS = $(MODULE).glue.o
66
67 EXTRASUBDIRS = \
68         $(TOPOBJDIR)/graphics \
69         $(TOPOBJDIR)/objects \
70         enhmfdrv \
71         mfdrv \
72         win16drv
73
74 @MAKE_DLL_RULES@
75
76 # Special rules for 16-bit resource files
77
78 version16.res: version16.rc
79         $(LDPATH) $(WRC) $(DIVINCL) -o $@ -w16 -m -r $(SRCDIR)/version16.rc
80
81 gdi.exe.spec.c: version16.res
82
83 ### Dependencies: