Made all 16<->32 HWND conversions use explicit functions instead of
[wine] / dlls / user / Makefile.in
1 TOPSRCDIR = @top_srcdir@
2 TOPOBJDIR = ../..
3 SRCDIR    = @srcdir@
4 VPATH     = @srcdir@
5 MODULE    = user32
6 SOVERSION = 1.0
7 ALTNAMES  = user keyboard ddeml display mouse
8 IMPORTS   = gdi32 kernel32 ntdll
9
10 C_SRCS = \
11         bidi16.c \
12         cache.c \
13         comm16.c \
14         dde/client.c \
15         dde/ddeml16.c \
16         dde/misc.c \
17         dde/server.c \
18         display.c \
19         exticon.c \
20         lstr.c \
21         message.c \
22         misc.c \
23         mouse.c \
24         msg16.c \
25         network.c \
26         resource.c \
27         text.c \
28         thunk.c \
29         user_main.c \
30         wnd16.c \
31         wsprintf.c
32
33 RC_SRCS = \
34         resources/user32.rc
35
36 RC_SRCS16 = \
37         resources/display.rc \
38         resources/mouse.rc \
39         resources/version16.rc
40
41 GLUE = \
42         dde/ddeml16.c \
43         thunk.c
44
45 EXTRA_OBJS = \
46         $(TOPOBJDIR)/controls/controls.o \
47         $(TOPOBJDIR)/windows/windows.o
48
49 SUBDIRS = \
50         $(TOPOBJDIR)/controls \
51         $(TOPOBJDIR)/windows
52
53 EXTRASUBDIRS = \
54         dde \
55         resources
56
57 @MAKE_DLL_RULES@
58
59 $(EXTRA_OBJS): dummy
60         @cd `dirname $@` && $(MAKE) `basename $@`
61
62 # Special rules for 16-bit resource files
63
64 resources/display.res: resources/display.rc
65         $(LDPATH) $(WRC) $(DIVINCL) -o $@ -w16 -m -r $(SRCDIR)/resources/display.rc
66
67 resources/mouse.res: resources/mouse.rc
68         $(LDPATH) $(WRC) $(DIVINCL) -o $@ -w16 -m -r $(SRCDIR)/resources/mouse.rc
69
70 resources/version16.res: resources/version16.rc
71         $(LDPATH) $(WRC) $(DIVINCL) -o $@ -w16 -m -r $(SRCDIR)/resources/version16.rc
72
73 display.spec.c: resources/display.res
74
75 mouse.spec.c: resources/mouse.res
76
77 user.spec.c: resources/version16.res
78
79 ### Dependencies: