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