user32/tests: Skip checks if pre-condition does not match.
[wine] / dlls / user32 / 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 = user32
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 SVG_SRCS = resources/oic_winlogo.svg
82
83 RC_SRCS16 = \
84         resources/display.rc \
85         resources/mouse.rc \
86         resources/version16.rc
87
88 EXTRASUBDIRS = resources
89
90 @MAKE_DLL_RULES@
91
92 # Special rules for 16-bit resource and spec files
93
94 user.exe.spec.o: user.exe.spec resources/version16.res
95         $(WINEBUILD) $(WINEBUILDFLAGS) --dll -o $@ --heap 65520 --main-module $(MODULE) --res resources/version16.res --export $(SRCDIR)/user.exe.spec
96
97 display.drv.spec.o: display.drv.spec resources/display.res
98         $(WINEBUILD) $(WINEBUILDFLAGS) --dll -o $@ --main-module $(MODULE) --res resources/display.res --export $(SRCDIR)/display.drv.spec
99
100 mouse.drv.spec.o: mouse.drv.spec resources/mouse.res
101         $(WINEBUILD) $(WINEBUILDFLAGS) --dll -o $@ --main-module $(MODULE) --res resources/mouse.res --export $(SRCDIR)/mouse.drv.spec
102
103 resources/display.res: resources/display.rc
104         $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/resources/display.rc
105
106 resources/mouse.res: resources/mouse.rc
107         $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/resources/mouse.rc
108
109 resources/version16.res: resources/version16.rc
110         $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/resources/version16.rc
111
112 @DEPENDENCIES@  # everything below this line is overwritten by make depend