- Don't string copy from uninitialised stack memory. In fact don't
[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         painting.c \
27         property.c \
28         resource.c \
29         text.c \
30         user_main.c \
31         wnd16.c \
32         wsprintf.c
33
34 RC_SRCS = \
35         resources/user32.rc
36
37 RC_SRCS16 = \
38         resources/display.rc \
39         resources/mouse.rc \
40         resources/version16.rc
41
42 GLUE = \
43         dde/ddeml16.c \
44         property.c \
45         text.c \
46         wnd16.c
47
48 EXTRA_OBJS = \
49         $(TOPOBJDIR)/controls/controls.o \
50         $(TOPOBJDIR)/windows/windows.o
51
52 SUBDIRS = \
53         $(TOPOBJDIR)/controls \
54         $(TOPOBJDIR)/windows
55
56 EXTRASUBDIRS = \
57         dde \
58         resources
59
60 @MAKE_DLL_RULES@
61
62 $(EXTRA_OBJS): dummy
63         @cd `dirname $@` && $(MAKE) `basename $@`
64
65 # Special rules for 16-bit resource files
66
67 resources/display.res: resources/display.rc
68         $(LDPATH) $(WRC) $(DIVINCL) -o $@ -w16 -m -r $(SRCDIR)/resources/display.rc
69
70 resources/mouse.res: resources/mouse.rc
71         $(LDPATH) $(WRC) $(DIVINCL) -o $@ -w16 -m -r $(SRCDIR)/resources/mouse.rc
72
73 resources/version16.res: resources/version16.rc
74         $(LDPATH) $(WRC) $(DIVINCL) -o $@ -w16 -m -r $(SRCDIR)/resources/version16.rc
75
76 display.spec.c: resources/display.res
77
78 mouse.spec.c: resources/mouse.res
79
80 user.spec.c: resources/version16.res
81
82 ### Dependencies: