Make it easy to use something other than wrc to compile resources.
[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 EXTRAINCL = @FREETYPEINCL@
10 EXTRALIBS = $(LIBUNICODE)
11
12 LDDLLFLAGS = @LDDLLFLAGS@
13 SYMBOLFILE = $(MODULE).tmp.o
14
15 SPEC_SRCS16 = \
16         dispdib.spec \
17         gdi.exe.spec \
18         wing.spec
19
20 C_SRCS = \
21         $(TOPOBJDIR)/graphics/bitblt.c \
22         $(TOPOBJDIR)/graphics/dispdib.c \
23         $(TOPOBJDIR)/graphics/env.c \
24         $(TOPOBJDIR)/graphics/escape.c \
25         $(TOPOBJDIR)/graphics/fontengine.c \
26         $(TOPOBJDIR)/graphics/mapping.c \
27         $(TOPOBJDIR)/graphics/painting.c \
28         $(TOPOBJDIR)/graphics/path.c \
29         $(TOPOBJDIR)/objects/bitmap.c \
30         $(TOPOBJDIR)/objects/brush.c \
31         $(TOPOBJDIR)/objects/clipping.c \
32         $(TOPOBJDIR)/objects/dc.c \
33         $(TOPOBJDIR)/objects/dcvalues.c \
34         $(TOPOBJDIR)/objects/dib.c \
35         $(TOPOBJDIR)/objects/enhmetafile.c \
36         $(TOPOBJDIR)/objects/font.c \
37         $(TOPOBJDIR)/objects/gdiobj.c \
38         $(TOPOBJDIR)/objects/linedda.c \
39         $(TOPOBJDIR)/objects/metafile.c \
40         $(TOPOBJDIR)/objects/palette.c \
41         $(TOPOBJDIR)/objects/pen.c \
42         $(TOPOBJDIR)/objects/region.c \
43         $(TOPOBJDIR)/objects/text.c \
44         driver.c \
45         enhmfdrv/bitblt.c \
46         enhmfdrv/dc.c \
47         enhmfdrv/graphics.c \
48         enhmfdrv/init.c \
49         enhmfdrv/mapping.c \
50         enhmfdrv/objects.c \
51         freetype.c \
52         gdi_main.c \
53         mfdrv/bitblt.c \
54         mfdrv/dc.c \
55         mfdrv/graphics.c \
56         mfdrv/init.c \
57         mfdrv/mapping.c \
58         mfdrv/objects.c \
59         mfdrv/text.c \
60         printdrv.c
61
62 C_SRCS16 = \
63         bidi16.c \
64         gdi16.c \
65         wing.c
66
67 RC_SRCS = version.rc
68 RC_SRCS16 = version16.rc
69
70 SUBDIRS = tests
71
72 EXTRASUBDIRS = \
73         $(TOPOBJDIR)/graphics \
74         $(TOPOBJDIR)/objects \
75         enhmfdrv \
76         mfdrv
77
78 @MAKE_DLL_RULES@
79
80 # Special rules for 16-bit resource and spec files
81
82 gdi.exe.spec.c: gdi.exe.spec version16.res
83         $(WINEBUILD) $(DEFS) -o $@ --heap 65520 --main-module $(MODULE) --res version16.res --spec $(SRCDIR)/gdi.exe.spec
84
85 version16.res: version16.rc
86         $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/version16.rc
87
88 ### Dependencies: