1 EXTRADEFS = -D_USER32_ -D_WINABLE_
2 TOPSRCDIR = @top_srcdir@
7 IMPORTS = gdi32 advapi32 kernel32 ntdll
8 ALTNAMES = user.exe ddeml.dll display.drv keyboard.drv mouse.drv
9 EXTRALIBS = $(LIBUNICODE)
19 $(TOPOBJDIR)/controls/button.c \
20 $(TOPOBJDIR)/controls/combo.c \
21 $(TOPOBJDIR)/controls/desktop.c \
22 $(TOPOBJDIR)/controls/edit.c \
23 $(TOPOBJDIR)/controls/icontitle.c \
24 $(TOPOBJDIR)/controls/listbox.c \
25 $(TOPOBJDIR)/controls/menu.c \
26 $(TOPOBJDIR)/controls/scroll.c \
27 $(TOPOBJDIR)/controls/static.c \
28 $(TOPOBJDIR)/controls/uitools.c \
29 $(TOPOBJDIR)/windows/class.c \
30 $(TOPOBJDIR)/windows/clipboard.c \
31 $(TOPOBJDIR)/windows/cursoricon.c \
32 $(TOPOBJDIR)/windows/dce.c \
33 $(TOPOBJDIR)/windows/defdlg.c \
34 $(TOPOBJDIR)/windows/defwnd.c \
35 $(TOPOBJDIR)/windows/dialog.c \
36 $(TOPOBJDIR)/windows/driver.c \
37 $(TOPOBJDIR)/windows/input.c \
38 $(TOPOBJDIR)/windows/keyboard.c \
39 $(TOPOBJDIR)/windows/mdi.c \
40 $(TOPOBJDIR)/windows/message.c \
41 $(TOPOBJDIR)/windows/msgbox.c \
42 $(TOPOBJDIR)/windows/multimon.c \
43 $(TOPOBJDIR)/windows/nonclient.c \
44 $(TOPOBJDIR)/windows/painting.c \
45 $(TOPOBJDIR)/windows/queue.c \
46 $(TOPOBJDIR)/windows/rect.c \
47 $(TOPOBJDIR)/windows/scroll.c \
48 $(TOPOBJDIR)/windows/spy.c \
49 $(TOPOBJDIR)/windows/struct32.c \
50 $(TOPOBJDIR)/windows/syscolor.c \
51 $(TOPOBJDIR)/windows/sysmetrics.c \
52 $(TOPOBJDIR)/windows/sysparams.c \
53 $(TOPOBJDIR)/windows/timer.c \
54 $(TOPOBJDIR)/windows/user.c \
55 $(TOPOBJDIR)/windows/win.c \
56 $(TOPOBJDIR)/windows/winhelp.c \
57 $(TOPOBJDIR)/windows/winpos.c \
58 $(TOPOBJDIR)/windows/winproc.c \
90 RC_SRCS = resources/user32.rc
92 RC_BINSRC = resources/user32_bin.rc
94 resources/obm_btncorners.bmp \
95 resources/obm_btsize.bmp \
96 resources/obm_check.bmp \
97 resources/obm_checkboxes.bmp \
98 resources/obm_close.bmp \
99 resources/obm_combo.bmp \
100 resources/obm_dnarrow.bmp \
101 resources/obm_dnarrowd.bmp \
102 resources/obm_dnarrowi.bmp \
103 resources/obm_lfarrow.bmp \
104 resources/obm_lfarrowd.bmp \
105 resources/obm_lfarrowi.bmp \
106 resources/obm_mnarrow.bmp \
107 resources/obm_old_close.bmp \
108 resources/obm_old_dnarrow.bmp \
109 resources/obm_old_lfarrow.bmp \
110 resources/obm_old_reduce.bmp \
111 resources/obm_old_restore.bmp \
112 resources/obm_old_rgarrow.bmp \
113 resources/obm_old_uparrow.bmp \
114 resources/obm_old_zoom.bmp \
115 resources/obm_reduce.bmp \
116 resources/obm_reduced.bmp \
117 resources/obm_restore.bmp \
118 resources/obm_restored.bmp \
119 resources/obm_rgarrow.bmp \
120 resources/obm_rgarrowd.bmp \
121 resources/obm_rgarrowi.bmp \
122 resources/obm_size.bmp \
123 resources/obm_trtype.bmp \
124 resources/obm_uparrow.bmp \
125 resources/obm_uparrowd.bmp \
126 resources/obm_uparrowi.bmp \
127 resources/obm_zoom.bmp \
128 resources/obm_zoomd.bmp \
129 resources/ocr_appstarting.cur \
130 resources/ocr_cross.cur \
131 resources/ocr_dragobject.cur \
132 resources/ocr_hand.cur \
133 resources/ocr_help.cur \
134 resources/ocr_ibeam.cur \
135 resources/ocr_icon.cur \
136 resources/ocr_no.cur \
137 resources/ocr_normal.cur \
138 resources/ocr_size.cur \
139 resources/ocr_sizeall.cur \
140 resources/ocr_sizenesw.cur \
141 resources/ocr_sizens.cur \
142 resources/ocr_sizenwse.cur \
143 resources/ocr_sizewe.cur \
144 resources/ocr_up.cur \
145 resources/ocr_wait.cur \
146 resources/oic_bang.ico \
147 resources/oic_hand.ico \
148 resources/oic_note.ico \
149 resources/oic_ques.ico \
150 resources/oic_sample.ico \
151 resources/oic_winlogo.ico
154 resources/display.rc \
156 resources/version16.rc
161 $(TOPOBJDIR)/controls \
162 $(TOPOBJDIR)/windows \
168 # Special rules for 16-bit resource and spec files
170 user.exe.spec.c: user.exe.spec resources/version16.res
171 $(WINEBUILD) $(DEFS) $(DLLFLAGS) -o $@ --heap 65520 --main-module $(MODULE) --res resources/version16.res --dll $(SRCDIR)/user.exe.spec
173 display.drv.spec.c: display.drv.spec resources/display.res
174 $(WINEBUILD) $(DEFS) $(DLLFLAGS) -o $@ --main-module $(MODULE) --res resources/display.res --dll $(SRCDIR)/display.drv.spec
176 mouse.drv.spec.c: mouse.drv.spec resources/mouse.res
177 $(WINEBUILD) $(DEFS) $(DLLFLAGS) -o $@ --main-module $(MODULE) --res resources/mouse.res --dll $(SRCDIR)/mouse.drv.spec
179 resources/display.res: resources/display.rc
180 $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/resources/display.rc
182 resources/mouse.res: resources/mouse.rc
183 $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/resources/mouse.rc
185 resources/version16.res: resources/version16.rc
186 $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/resources/version16.rc