1 EXTRADEFS = -D_USER32_ -D_WINABLE_
2 TOPSRCDIR = @top_srcdir@
7 IMPORTS = gdi32 advapi32 kernel32 ntdll
8 ALTNAMES = user.exe keyboard.dll ddeml.dll display.dll mouse.dll
9 EXTRALIBS = $(LIBUNICODE)
10 DLLMAIN = UserClientDllInitialize@12
12 LDDLLFLAGS = @LDDLLFLAGS@
13 SYMBOLFILE = $(MODULE).tmp.o
23 $(TOPOBJDIR)/controls/button.c \
24 $(TOPOBJDIR)/controls/combo.c \
25 $(TOPOBJDIR)/controls/desktop.c \
26 $(TOPOBJDIR)/controls/edit.c \
27 $(TOPOBJDIR)/controls/icontitle.c \
28 $(TOPOBJDIR)/controls/listbox.c \
29 $(TOPOBJDIR)/controls/menu.c \
30 $(TOPOBJDIR)/controls/scroll.c \
31 $(TOPOBJDIR)/controls/static.c \
32 $(TOPOBJDIR)/controls/uitools.c \
33 $(TOPOBJDIR)/windows/class.c \
34 $(TOPOBJDIR)/windows/clipboard.c \
35 $(TOPOBJDIR)/windows/cursoricon.c \
36 $(TOPOBJDIR)/windows/dce.c \
37 $(TOPOBJDIR)/windows/defdlg.c \
38 $(TOPOBJDIR)/windows/defwnd.c \
39 $(TOPOBJDIR)/windows/dialog.c \
40 $(TOPOBJDIR)/windows/driver.c \
41 $(TOPOBJDIR)/windows/input.c \
42 $(TOPOBJDIR)/windows/keyboard.c \
43 $(TOPOBJDIR)/windows/mdi.c \
44 $(TOPOBJDIR)/windows/message.c \
45 $(TOPOBJDIR)/windows/msgbox.c \
46 $(TOPOBJDIR)/windows/multimon.c \
47 $(TOPOBJDIR)/windows/nonclient.c \
48 $(TOPOBJDIR)/windows/painting.c \
49 $(TOPOBJDIR)/windows/queue.c \
50 $(TOPOBJDIR)/windows/rect.c \
51 $(TOPOBJDIR)/windows/scroll.c \
52 $(TOPOBJDIR)/windows/spy.c \
53 $(TOPOBJDIR)/windows/struct32.c \
54 $(TOPOBJDIR)/windows/syscolor.c \
55 $(TOPOBJDIR)/windows/sysmetrics.c \
56 $(TOPOBJDIR)/windows/sysparams.c \
57 $(TOPOBJDIR)/windows/timer.c \
58 $(TOPOBJDIR)/windows/user.c \
59 $(TOPOBJDIR)/windows/win.c \
60 $(TOPOBJDIR)/windows/winhelp.c \
61 $(TOPOBJDIR)/windows/winpos.c \
62 $(TOPOBJDIR)/windows/winproc.c \
94 RC_SRCS = resources/user32.rc
97 resources/display.rc \
99 resources/version16.rc
104 $(TOPOBJDIR)/controls \
105 $(TOPOBJDIR)/windows \
111 # Special rules for 16-bit resource and spec files
113 user.exe.spec.c: user.exe.spec resources/version16.res
114 $(WINEBUILD) $(DEFS) $(DLLFLAGS) -o $@ --heap 65520 --main-module $(MODULE) --res resources/version16.res --spec $(SRCDIR)/user.exe.spec
116 display.spec.c: display.spec resources/display.res
117 $(WINEBUILD) $(DEFS) $(DLLFLAGS) -o $@ --main-module $(MODULE) --res resources/display.res --spec $(SRCDIR)/display.spec
119 mouse.spec.c: mouse.spec resources/mouse.res
120 $(WINEBUILD) $(DEFS) $(DLLFLAGS) -o $@ --main-module $(MODULE) --res resources/mouse.res --spec $(SRCDIR)/mouse.spec
122 resources/display.res: resources/display.rc
123 $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/resources/display.rc
125 resources/mouse.res: resources/mouse.rc
126 $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/resources/mouse.rc
128 resources/version16.res: resources/version16.rc
129 $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/resources/version16.rc