Added rules for building import libraries in the individual dll
[wine.git] / dlls / user / Makefile.in
blob782747d67ec6e353012deff5311ed76509af7e23
1 EXTRADEFS = -D_USER32_ -D_WINABLE_
2 TOPSRCDIR = @top_srcdir@
3 TOPOBJDIR = ../..
4 SRCDIR = @srcdir@
5 VPATH = @srcdir@
6 MODULE = user32.dll
7 IMPORTLIB = libuser32.$(IMPLIBEXT)
8 IMPORTS = gdi32 advapi32 kernel32 ntdll
9 EXTRALIBS = $(LIBUNICODE)
11 SPEC_SRCS16 = \
12 ddeml.spec \
13 display.drv.spec \
14 keyboard.drv.spec \
15 mouse.drv.spec \
16 user.exe.spec
18 C_SRCS = \
19 $(TOPOBJDIR)/windows/driver.c \
20 $(TOPOBJDIR)/windows/multimon.c \
21 $(TOPOBJDIR)/windows/syscolor.c \
22 $(TOPOBJDIR)/windows/user.c \
23 button.c \
24 caret.c \
25 class.c \
26 clipboard.c \
27 combo.c \
28 cursoricon.c \
29 dde/client.c \
30 dde/ddeml16.c \
31 dde/misc.c \
32 dde/server.c \
33 defdlg.c \
34 defwnd.c \
35 desktop.c \
36 dialog.c \
37 dialog16.c \
38 edit.c \
39 exticon.c \
40 focus.c \
41 hook.c \
42 icontitle.c \
43 input.c \
44 listbox.c \
45 lstr.c \
46 mdi.c \
47 menu.c \
48 message.c \
49 misc.c \
50 msg16.c \
51 msgbox.c \
52 nonclient.c \
53 painting.c \
54 property.c \
55 resource.c \
56 scroll.c \
57 spy.c \
58 static.c \
59 sysparams.c \
60 text.c \
61 uitools.c \
62 user_main.c \
63 win.c \
64 winhelp.c \
65 winpos.c \
66 winproc.c \
67 wsprintf.c
69 C_SRCS16 = \
70 bidi16.c \
71 comm16.c \
72 display.c \
73 hook16.c \
74 kbd16.c \
75 mouse16.c \
76 network.c \
77 user16.c \
78 wnd16.c
80 RC_SRCS = resources/user32.rc
82 RC_BINSRC = resources/user32_bin.rc
83 RC_BINARIES = \
84 resources/obm_btncorners.bmp \
85 resources/obm_btsize.bmp \
86 resources/obm_check.bmp \
87 resources/obm_checkboxes.bmp \
88 resources/obm_close.bmp \
89 resources/obm_combo.bmp \
90 resources/obm_dnarrow.bmp \
91 resources/obm_dnarrowd.bmp \
92 resources/obm_dnarrowi.bmp \
93 resources/obm_lfarrow.bmp \
94 resources/obm_lfarrowd.bmp \
95 resources/obm_lfarrowi.bmp \
96 resources/obm_mnarrow.bmp \
97 resources/obm_old_close.bmp \
98 resources/obm_old_dnarrow.bmp \
99 resources/obm_old_lfarrow.bmp \
100 resources/obm_old_reduce.bmp \
101 resources/obm_old_restore.bmp \
102 resources/obm_old_rgarrow.bmp \
103 resources/obm_old_uparrow.bmp \
104 resources/obm_old_zoom.bmp \
105 resources/obm_reduce.bmp \
106 resources/obm_reduced.bmp \
107 resources/obm_restore.bmp \
108 resources/obm_restored.bmp \
109 resources/obm_rgarrow.bmp \
110 resources/obm_rgarrowd.bmp \
111 resources/obm_rgarrowi.bmp \
112 resources/obm_size.bmp \
113 resources/obm_trtype.bmp \
114 resources/obm_uparrow.bmp \
115 resources/obm_uparrowd.bmp \
116 resources/obm_uparrowi.bmp \
117 resources/obm_zoom.bmp \
118 resources/obm_zoomd.bmp \
119 resources/ocr_appstarting.cur \
120 resources/ocr_cross.cur \
121 resources/ocr_dragobject.cur \
122 resources/ocr_hand.cur \
123 resources/ocr_help.cur \
124 resources/ocr_ibeam.cur \
125 resources/ocr_icon.cur \
126 resources/ocr_no.cur \
127 resources/ocr_normal.cur \
128 resources/ocr_size.cur \
129 resources/ocr_sizeall.cur \
130 resources/ocr_sizenesw.cur \
131 resources/ocr_sizens.cur \
132 resources/ocr_sizenwse.cur \
133 resources/ocr_sizewe.cur \
134 resources/ocr_up.cur \
135 resources/ocr_wait.cur \
136 resources/oic_bang.ico \
137 resources/oic_hand.ico \
138 resources/oic_note.ico \
139 resources/oic_ques.ico \
140 resources/oic_sample.ico \
141 resources/oic_winlogo.ico
143 RC_SRCS16 = \
144 resources/display.rc \
145 resources/mouse.rc \
146 resources/version16.rc
148 SUBDIRS = tests
150 EXTRASUBDIRS = \
151 $(TOPOBJDIR)/windows \
152 dde \
153 resources
155 @MAKE_DLL_RULES@
157 # Special rules for 16-bit resource and spec files
159 user.exe.spec.c: user.exe.spec resources/version16.res
160 $(WINEBUILD) $(DEFS) $(DLLFLAGS) --dll -o $@ --heap 65520 --main-module $(MODULE) --res resources/version16.res --export $(SRCDIR)/user.exe.spec
162 display.drv.spec.c: display.drv.spec resources/display.res
163 $(WINEBUILD) $(DEFS) $(DLLFLAGS) --dll -o $@ --main-module $(MODULE) --res resources/display.res --export $(SRCDIR)/display.drv.spec
165 mouse.drv.spec.c: mouse.drv.spec resources/mouse.res
166 $(WINEBUILD) $(DEFS) $(DLLFLAGS) --dll -o $@ --main-module $(MODULE) --res resources/mouse.res --export $(SRCDIR)/mouse.drv.spec
168 resources/display.res: resources/display.rc
169 $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/resources/display.rc
171 resources/mouse.res: resources/mouse.rc
172 $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/resources/mouse.rc
174 resources/version16.res: resources/version16.rc
175 $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/resources/version16.rc
177 ### Dependencies: