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