1 EXTRADEFS = -D_USER32_ -D_WINABLE_ -DWINE_NO_STRICT
2 TOPSRCDIR = @top_srcdir@
7 IMPORTS = gdi32 advapi32 kernel32
8 ALTNAMES = user.exe keyboard.dll ddeml.dll display.dll mouse.dll
9 EXTRALIBS = $(LIBUNICODE)
10 DLLMAIN = UserClientDllInitialize
12 LDDLLFLAGS = @LDDLLFLAGS@
13 SYMBOLFILE = $(MODULE).tmp.o
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 \
86 RC_SRCS = resources/user32.rc
89 resources/display.rc \
91 resources/version16.rc
95 EXTRA_OBJS = $(MODULE).glue.o
98 $(TOPOBJDIR)/controls \
99 $(TOPOBJDIR)/windows \
105 # Special rules for 16-bit resource and spec files
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
110 display.spec.c: display.spec resources/display.res
111 $(LDPATH) $(WINEBUILD) $(DEFS) -o $@ -M $(MODULE) -r resources/display.res --spec $(SRCDIR)/display.spec
113 mouse.spec.c: mouse.spec resources/mouse.res
114 $(LDPATH) $(WINEBUILD) $(DEFS) -o $@ -M $(MODULE) -r resources/mouse.res --spec $(SRCDIR)/mouse.spec
116 resources/display.res: resources/display.rc
117 $(LDPATH) $(WRC) $(DIVINCL) -o $@ -w16 -m -r $(SRCDIR)/resources/display.rc
119 resources/mouse.res: resources/mouse.rc
120 $(LDPATH) $(WRC) $(DIVINCL) -o $@ -w16 -m -r $(SRCDIR)/resources/mouse.rc
122 resources/version16.res: resources/version16.rc
123 $(LDPATH) $(WRC) $(DIVINCL) -o $@ -w16 -m -r $(SRCDIR)/resources/version16.rc