Removed support for 'rsrc' spec file statement.
[wine] / dlls / user / Makefile.in
1 EXTRADEFS = -D_USER32_ -D_WINABLE_ -DWINE_NO_STRICT
2 TOPSRCDIR = @top_srcdir@
3 TOPOBJDIR = ../..
4 SRCDIR    = @srcdir@
5 VPATH     = @srcdir@
6 MODULE    = user32.dll
7 IMPORTS   = gdi32 advapi32 kernel32
8 ALTNAMES  = user.exe keyboard.dll ddeml.dll display.dll mouse.dll
9 EXTRALIBS = $(LIBUNICODE)
10 DLLMAIN   = UserClientDllInitialize
11
12 LDDLLFLAGS = @LDDLLFLAGS@
13 SYMBOLFILE = $(MODULE).tmp.o
14
15 C_SRCS = \
16         $(TOPOBJDIR)/controls/button.c \
17         $(TOPOBJDIR)/controls/combo.c \
18         $(TOPOBJDIR)/controls/desktop.c \
19         $(TOPOBJDIR)/controls/edit.c \
20         $(TOPOBJDIR)/controls/icontitle.c \
21         $(TOPOBJDIR)/controls/listbox.c \
22         $(TOPOBJDIR)/controls/menu.c \
23         $(TOPOBJDIR)/controls/scroll.c \
24         $(TOPOBJDIR)/controls/static.c \
25         $(TOPOBJDIR)/controls/uitools.c \
26         $(TOPOBJDIR)/windows/class.c \
27         $(TOPOBJDIR)/windows/clipboard.c \
28         $(TOPOBJDIR)/windows/cursoricon.c \
29         $(TOPOBJDIR)/windows/dce.c \
30         $(TOPOBJDIR)/windows/defdlg.c \
31         $(TOPOBJDIR)/windows/defwnd.c \
32         $(TOPOBJDIR)/windows/dialog.c \
33         $(TOPOBJDIR)/windows/driver.c \
34         $(TOPOBJDIR)/windows/input.c \
35         $(TOPOBJDIR)/windows/keyboard.c \
36         $(TOPOBJDIR)/windows/mdi.c \
37         $(TOPOBJDIR)/windows/message.c \
38         $(TOPOBJDIR)/windows/msgbox.c \
39         $(TOPOBJDIR)/windows/multimon.c \
40         $(TOPOBJDIR)/windows/nonclient.c \
41         $(TOPOBJDIR)/windows/painting.c \
42         $(TOPOBJDIR)/windows/queue.c \
43         $(TOPOBJDIR)/windows/rect.c \
44         $(TOPOBJDIR)/windows/scroll.c \
45         $(TOPOBJDIR)/windows/spy.c \
46         $(TOPOBJDIR)/windows/struct32.c \
47         $(TOPOBJDIR)/windows/syscolor.c \
48         $(TOPOBJDIR)/windows/sysmetrics.c \
49         $(TOPOBJDIR)/windows/sysparams.c \
50         $(TOPOBJDIR)/windows/timer.c \
51         $(TOPOBJDIR)/windows/user.c \
52         $(TOPOBJDIR)/windows/win.c \
53         $(TOPOBJDIR)/windows/winhelp.c \
54         $(TOPOBJDIR)/windows/winpos.c \
55         $(TOPOBJDIR)/windows/winproc.c \
56         cache.c \
57         caret.c \
58         comm16.c \
59         dde/client.c \
60         dde/ddeml16.c \
61         dde/misc.c \
62         dde/server.c \
63         display.c \
64         exticon.c \
65         focus.c \
66         hook.c \
67         lstr.c \
68         message.c \
69         misc.c \
70         mouse.c \
71         msg16.c \
72         painting.c \
73         property.c \
74         resource.c \
75         text.c \
76         user_main.c \
77         wsprintf.c
78
79 C_SRCS16 = \
80         bidi16.c \
81         hook16.c \
82         network.c \
83         user16.c \
84         wnd16.c
85
86 RC_SRCS = resources/user32.rc
87
88 RC_SRCS16 = \
89         resources/display.rc \
90         resources/mouse.rc \
91         resources/version16.rc
92
93 SUBDIRS = tests
94
95 EXTRA_OBJS = $(MODULE).glue.o
96
97 EXTRASUBDIRS = \
98         $(TOPOBJDIR)/controls \
99         $(TOPOBJDIR)/windows \
100         dde \
101         resources
102
103 @MAKE_DLL_RULES@
104
105 # Special rules for 16-bit resource and spec files
106
107 user.exe.spec.c: user.exe.spec resources/version16.res
108         $(LDPATH) $(WINEBUILD) $(DEFS) -H 65520 -o $@ -M $(MODULE) -r resources/version16.res --spec $(SRCDIR)/user.exe.spec
109
110 display.spec.c: display.spec resources/display.res
111         $(LDPATH) $(WINEBUILD) $(DEFS) -o $@ -M $(MODULE) -r resources/display.res --spec $(SRCDIR)/display.spec
112
113 mouse.spec.c: mouse.spec resources/mouse.res
114         $(LDPATH) $(WINEBUILD) $(DEFS) -o $@ -M $(MODULE) -r resources/mouse.res --spec $(SRCDIR)/mouse.spec
115
116 resources/display.res: resources/display.rc
117         $(LDPATH) $(WRC) $(DIVINCL) -o $@ -w16 -m -r $(SRCDIR)/resources/display.rc
118
119 resources/mouse.res: resources/mouse.rc
120         $(LDPATH) $(WRC) $(DIVINCL) -o $@ -w16 -m -r $(SRCDIR)/resources/mouse.rc
121
122 resources/version16.res: resources/version16.rc
123         $(LDPATH) $(WRC) $(DIVINCL) -o $@ -w16 -m -r $(SRCDIR)/resources/version16.rc
124
125 ### Dependencies: