Generate 16-bit spec files as assembly code too.
[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 IMPORTLIB = libgdi32.$(IMPLIBEXT)
8 IMPORTS   = advapi32 kernel32 ntdll
9 EXTRAINCL = @FREETYPEINCL@
10 EXTRALIBS = $(LIBUNICODE) @ICULIBS@
11
12 SPEC_SRCS16 = \
13         dispdib.spec \
14         gdi.exe.spec \
15         wing.spec
16
17 C_SRCS = \
18         bidi.c \
19         bitblt.c \
20         bitmap.c \
21         brush.c \
22         clipping.c \
23         dc.c \
24         dib.c \
25         driver.c \
26         enhmetafile.c \
27         enhmfdrv/bitblt.c \
28         enhmfdrv/dc.c \
29         enhmfdrv/graphics.c \
30         enhmfdrv/init.c \
31         enhmfdrv/mapping.c \
32         enhmfdrv/objects.c \
33         font.c \
34         freetype.c \
35         gdi_main.c \
36         gdiobj.c \
37         icm.c \
38         mapping.c \
39         metafile.c \
40         mfdrv/bitblt.c \
41         mfdrv/dc.c \
42         mfdrv/graphics.c \
43         mfdrv/init.c \
44         mfdrv/mapping.c \
45         mfdrv/objects.c \
46         mfdrv/text.c \
47         painting.c \
48         palette.c \
49         path.c \
50         pen.c \
51         printdrv.c \
52         region.c
53
54 C_SRCS16 = \
55         bidi16.c \
56         dispdib.c \
57         env.c \
58         gdi16.c \
59         wing.c
60
61 RC_SRCS = version.rc
62 RC_SRCS16 = version16.rc
63
64 SUBDIRS = tests
65
66 EXTRASUBDIRS = \
67         enhmfdrv \
68         mfdrv
69
70 @MAKE_DLL_RULES@
71
72 # Special rules for 16-bit resource and spec files
73
74 gdi.exe.spec.o: gdi.exe.spec version16.res
75         $(WINEBUILD) $(WINEBUILDFLAGS) --dll -o $@ --heap 65520 --main-module $(MODULE) --res version16.res --export $(SRCDIR)/gdi.exe.spec
76
77 version16.res: version16.rc
78         $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/version16.rc
79
80 ### Dependencies: