Fixed a possible memory corruption.
[wine] / include / Makefile.in
1 TOPSRCDIR = @top_srcdir@
2 TOPOBJDIR = ..
3 SRCDIR    = @srcdir@
4 VPATH     = @srcdir@
5 MODULE    = none
6
7 IDL_SRCS = \
8         oaidl.idl \
9         objidl.idl \
10         unknwn.idl \
11         wtypes.idl
12
13 WINDOWS_INCLUDES = \
14         accctrl.h \
15         audevcod.h \
16         basetsd.h \
17         cderr.h \
18         cguid.h \
19         comcat.h \
20         commctrl.h \
21         commdlg.h \
22         compobj.h \
23         cpl.h \
24         custcntl.h \
25         d3d.h \
26         d3d8.h \
27         d3d8caps.h \
28         d3d8types.h \
29         d3dcaps.h \
30         d3dhal.h \
31         d3dtypes.h \
32         d3dvec.inl \
33         d3dx8core.h \
34         dde.h \
35         ddeml.h \
36         ddraw.h \
37         ddrawi.h \
38         digitalv.h \
39         dinput.h \
40         dispdib.h \
41         dlgs.h \
42         dls1.h \
43         dmdls.h \
44         dmerror.h \
45         dmo.h \
46         dmoreg.h \
47         dmort.h \
48         dmplugin.h \
49         dmusbuff.h \
50         dmusicc.h \
51         dmusicf.h \
52         dmusici.h \
53         dmusics.h \
54         docobj.h \
55         dplay.h \
56         dplobby.h \
57         dsconf.h \
58         dsdriver.h \
59         dshow.h \
60         dsound.h \
61         excpt.h \
62         fci.h \
63         fdi.h \
64         guiddef.h \
65         icmpapi.h \
66         imagehlp.h \
67         imm.h \
68         initguid.h \
69         instance.h \
70         ipexport.h \
71         lm.h \
72         lmaccess.h \
73         lmapibuf.h \
74         lmbrowsr.h \
75         lmcons.h \
76         lmerr.h \
77         lmwksta.h \
78         lzexpand.h \
79         mapi.h \
80         mapicode.h \
81         mapidefs.h \
82         mciavi.h \
83         mcx.h \
84         mediaerr.h \
85         mediaobj.h \
86         minmax.h \
87         mmddk.h \
88         mmreg.h \
89         mmsystem.h \
90         msacm.h \
91         msacmdlg.h \
92         mssip.h \
93         mswsock.h \
94         nb30.h \
95         netspi.h \
96         nspapi.h \
97         ntddcdrm.h \
98         ntddscsi.h \
99         ntddstor.h \
100         ntsecapi.h \
101         ntstatus.h \
102         objbase.h \
103         ocidl.h \
104         ole2.h \
105         ole2ver.h \
106         oleauto.h \
107         olectl.h \
108         oledlg.h \
109         oleidl.h \
110         pktdef.h \
111         poppack.h \
112         prsht.h \
113         psapi.h \
114         pshpack1.h \
115         pshpack2.h \
116         pshpack4.h \
117         pshpack8.h \
118         ras.h \
119         regstr.h \
120         richedit.h \
121         richole.h \
122         rpc.h \
123         rpcdce.h \
124         rpcdcep.h \
125         rpcndr.h \
126         rpcnterr.h \
127         rpcproxy.h \
128         servprov.h \
129         setupapi.h \
130         shellapi.h \
131         shlguid.h \
132         shlobj.h \
133         shlwapi.h \
134         sipbase.h \
135         sql.h \
136         sqlext.h \
137         sqltypes.h \
138         storage.h \
139         tapi.h \
140         tchar.h \
141         tlhelp32.h \
142         urlmon.h \
143         uuids.h \
144         ver.h \
145         vfw.h \
146         vfwmsgs.h \
147         winbase.h \
148         wincon.h \
149         wincrypt.h \
150         windef.h \
151         windows.h \
152         windowsx.h \
153         winerror.h \
154         wingdi.h \
155         wininet.h \
156         winioctl.h \
157         winnetwk.h \
158         winnls.h \
159         winnt.h \
160         winreg.h \
161         winres.h \
162         winresrc.h \
163         winsock.h \
164         winsock2.h \
165         winspool.h \
166         winsvc.h \
167         wintab.h \
168         wintabx.h \
169         winternl.h \
170         winuser.h \
171         winver.h \
172         wnaspi32.h \
173         wownt32.h \
174         ws2spi.h \
175         ws2tcpip.h \
176         wshisotp.h \
177         wsipx.h \
178         zmouse.h \
179         $(IDL_SRCS) \
180         $(IDL_SRCS:.idl=.h)
181
182 MSVCRT_INCLUDES = \
183         msvcrt/conio.h \
184         msvcrt/crtdbg.h \
185         msvcrt/ctype.h \
186         msvcrt/direct.h \
187         msvcrt/dirent.h \
188         msvcrt/dos.h \
189         msvcrt/eh.h \
190         msvcrt/errno.h \
191         msvcrt/fcntl.h \
192         msvcrt/io.h \
193         msvcrt/locale.h \
194         msvcrt/malloc.h \
195         msvcrt/mbctype.h \
196         msvcrt/mbstring.h \
197         msvcrt/process.h \
198         msvcrt/search.h \
199         msvcrt/setjmp.h \
200         msvcrt/share.h \
201         msvcrt/stddef.h \
202         msvcrt/stdio.h \
203         msvcrt/stdlib.h \
204         msvcrt/string.h \
205         msvcrt/sys/locking.h \
206         msvcrt/sys/stat.h \
207         msvcrt/sys/timeb.h \
208         msvcrt/sys/types.h \
209         msvcrt/sys/unistd.h \
210         msvcrt/sys/utime.h \
211         msvcrt/time.h \
212         msvcrt/unistd.h \
213         msvcrt/wchar.h \
214         msvcrt/wctype.h
215
216 WINE_INCLUDES = \
217         debug.h \
218         exception.h \
219         library.h \
220         obj_cache.h \
221         obj_comcat.h \
222         obj_commdlgbrowser.h \
223         obj_connection.h \
224         obj_contextmenu.h \
225         obj_control.h \
226         obj_dockingwindowframe.h \
227         obj_dragdrop.h \
228         obj_dragdrophelper.h \
229         obj_enumguid.h \
230         obj_enumidlist.h \
231         obj_extracticon.h \
232         obj_inplace.h \
233         obj_olefont.h \
234         obj_oleobj.h \
235         obj_oleundo.h \
236         obj_oleview.h \
237         obj_picture.h \
238         obj_property.h \
239         obj_serviceprovider.h \
240         obj_shellbrowser.h \
241         obj_shellextinit.h \
242         obj_shellfolder.h \
243         obj_shelllink.h \
244         obj_shellview.h \
245         obj_webbrowser.h \
246         unicode.h
247
248 EXTRASUBDIRS = bitmaps msvcrt msvcrt/sys wine
249
250 @MAKE_RULES@
251
252 .SUFFIXES: .idl .h
253
254 .idl.h:
255         $(WIDL) $(DEFS) -b -h -H $@ $<
256
257 .PHONY: idl
258
259 idl: $(IDL_SRCS:.idl=.h)
260
261 install::
262         $(MKINSTALLDIRS) $(includedir) $(includedir)/windows $(includedir)/msvcrt $(includedir)/msvcrt/sys
263         for f in $(WINDOWS_INCLUDES); do $(INSTALL_DATA) $(SRCDIR)/$$f $(includedir)/windows/$$f; done
264         for f in $(MSVCRT_INCLUDES); do $(INSTALL_DATA) $(SRCDIR)/$$f $(includedir)/$$f; done
265         for f in $(WINE_INCLUDES); do $(INSTALL_DATA) $(SRCDIR)/wine/$$f $(includedir)/$$f; done
266
267 # Don't just do a rm -rf on $(includedir) -- don't want to wipe out
268 # anything extra the user may have put there.
269 uninstall::
270         [ -d $(includedir)/windows ] && cd $(includedir)/windows && $(RM) $(WINDOWS_INCLUDES) || true
271         [ -d $(includedir) ] && cd $(includedir) && $(RM) $(MSVCRT_INCLUDES) $(WINE_INCLUDES) || true
272         -rmdir $(includedir)/msvcrt/sys $(includedir)/msvcrt $(includedir)/windows $(includedir)
273
274 ### Dependencies: