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