ntdll: Free old memory block when reallocating to a large block.
[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         user.exe.spec
13
14 C_SRCS = \
15         button.c \
16         caret.c \
17         class.c \
18         clipboard.c \
19         combo.c \
20         cursoricon.c \
21         dde_client.c \
22         dde_misc.c \
23         dde_server.c \
24         defdlg.c \
25         defwnd.c \
26         desktop.c \
27         dialog.c \
28         dialog16.c \
29         driver.c \
30         driver16.c \
31         edit.c \
32         exticon.c \
33         focus.c \
34         hook.c \
35         icontitle.c \
36         input.c \
37         listbox.c \
38         lstr.c \
39         mdi.c \
40         menu.c \
41         message.c \
42         misc.c \
43         msg16.c \
44         msgbox.c \
45         nonclient.c \
46         painting.c \
47         property.c \
48         resource.c \
49         scroll.c \
50         spy.c \
51         static.c \
52         sysparams.c \
53         text.c \
54         uitools.c \
55         user_main.c \
56         win.c \
57         winhelp.c \
58         winpos.c \
59         winproc.c \
60         winstation.c \
61         wsprintf.c
62
63 C_SRCS16 = \
64         bidi16.c \
65         comm16.c \
66         hook16.c \
67         network.c \
68         user16.c \
69         wnd16.c
70
71 RC_SRCS = resources/user32.rc
72
73 SVG_SRCS = resources/oic_winlogo.svg
74
75 RC_SRCS16 = \
76         resources/version16.rc
77
78 EXTRASUBDIRS = resources
79
80 @MAKE_DLL_RULES@
81
82 # Special rules for 16-bit resource and spec files
83
84 user.exe.spec.o: user.exe.spec resources/version16.res
85         $(WINEBUILD) $(WINEBUILDFLAGS) --dll -o $@ --heap 65520 --main-module $(MODULE) --res resources/version16.res --export $(SRCDIR)/user.exe.spec
86
87 resources/version16.res: resources/version16.rc
88         $(LDPATH) $(RC16) $(RC16FLAGS) -fo$@ $(SRCDIR)/resources/version16.rc
89
90 @DEPENDENCIES@  # everything below this line is overwritten by make depend