msi: Fix a memory leak (valgrind).
[wine] / include / Makefile.in
1 PRIVATE_IDL_H_SRCS = \
2         wine/wined3d.idl \
3         wine/winedxgi.idl
4
5 PUBLIC_IDL_H_SRCS = \
6         activaut.idl \
7         activdbg.idl \
8         activscp.idl \
9         amstream.idl \
10         amvideo.idl \
11         asptlb.idl \
12         atliface.idl \
13         audioclient.idl \
14         audiopolicy.idl \
15         austream.idl \
16         bits.idl \
17         bits1_5.idl \
18         comcat.idl \
19         commoncontrols.idl \
20         control.idl \
21         cor.idl \
22         ctfutb.idl \
23         ctxtcall.idl \
24         d3d10.idl \
25         d3d10_1.idl \
26         d3d11.idl \
27         d3dcommon.idl \
28         ddstream.idl \
29         devicetopology.idl \
30         dimm.idl \
31         dispex.idl \
32         docobj.idl \
33         downloadmgr.idl \
34         dxgi.idl \
35         dxgitype.idl \
36         endpointvolume.idl \
37         exdisp.idl \
38         fusion.idl \
39         gameux.idl \
40         hlink.idl \
41         htiframe.idl \
42         iads.idl \
43         icftypes.idl \
44         imnact.idl \
45         imnxport.idl \
46         indexsrv.idl \
47         mediaobj.idl \
48         metahost.idl \
49         mimeinfo.idl \
50         mimeole.idl \
51         mlang.idl \
52         mmdeviceapi.idl \
53         mmstream.idl \
54         mscoree.idl \
55         msctf.idl \
56         msdadc.idl \
57         mshtmhst.idl \
58         mshtml.idl \
59         msinkaut.idl \
60         mstask.idl \
61         msxml.idl \
62         msxml2.idl \
63         msxml6.idl \
64         netcon.idl \
65         netfw.idl \
66         oaidl.idl \
67         objidl.idl \
68         objsafe.idl \
69         ocidl.idl \
70         ocmm.idl \
71         oleacc.idl \
72         oledb.idl \
73         oleidl.idl \
74         optary.idl \
75         perhist.idl \
76         propidl.idl \
77         propsys.idl \
78         pstore.idl \
79         qedit.idl \
80         richole.idl \
81         sensevts.idl \
82         servprov.idl \
83         shdeprecated.idl \
84         shldisp.idl \
85         shobjidl.idl \
86         shtypes.idl \
87         strmif.idl \
88         structuredquerycondition.idl \
89         textstor.idl \
90         tom.idl \
91         unknwn.idl \
92         urlhist.idl \
93         urlmon.idl \
94         vmr9.idl \
95         wbemcli.idl \
96         wia_lh.idl \
97         wia_xp.idl \
98         wincodec.idl \
99         wine/itss.idl \
100         wine/svcctl.idl \
101         winsxs.idl \
102         wtypes.idl \
103         wuapi.idl \
104         xmllite.idl
105
106 IDL_TLB_SRCS = \
107         stdole2.idl
108
109 SRCDIR_INCLUDES = \
110         $(IDL_TLB_SRCS) \
111         $(PUBLIC_IDL_H_SRCS) \
112         accctrl.h \
113         access.idl \
114         aclapi.h \
115         aclui.h \
116         adshlp.h \
117         advpub.h \
118         af_irda.h \
119         amaudio.h \
120         appmgmt.h \
121         asynot.idl \
122         asysta.idl \
123         audevcod.h \
124         audiosessiontypes.h \
125         aviriff.h \
126         avrt.h \
127         axcore.idl \
128         axextend.idl \
129         basetsd.h \
130         basetyps.h \
131         bcrypt.h \
132         binres.idl \
133         bitsmsg.h \
134         cderr.h \
135         cfgmgr32.h \
136         cguid.h \
137         cierror.h \
138         clusapi.h \
139         cmdbas.idl \
140         cmdtxt.idl \
141         commctrl.h \
142         commctrl.rh \
143         commdlg.h \
144         compobj.h \
145         corerror.h \
146         corhdr.h \
147         cpl.h \
148         crtrow.idl \
149         cryptdlg.h \
150         cryptuiapi.h \
151         custcntl.h \
152         cvconst.h \
153         d3d.h \
154         d3d10_1shader.h \
155         d3d10effect.h \
156         d3d10misc.h \
157         d3d10shader.h \
158         d3d11shader.h \
159         d3d8.h \
160         d3d8caps.h \
161         d3d8types.h \
162         d3d9.h \
163         d3d9caps.h \
164         d3d9types.h \
165         d3dcaps.h \
166         d3dcompiler.h \
167         d3dhal.h \
168         d3drm.h \
169         d3drmdef.h \
170         d3drmobj.h \
171         d3drmwin.h \
172         d3dtypes.h \
173         d3dvec.inl \
174         d3dx9.h \
175         d3dx9core.h \
176         d3dx9effect.h \
177         d3dx9math.h \
178         d3dx9math.inl \
179         d3dx9mesh.h \
180         d3dx9shader.h \
181         d3dx9shape.h \
182         d3dx9tex.h \
183         dbccmd.idl \
184         dbcses.idl \
185         dbdsad.idl \
186         dbghelp.h \
187         dbinit.idl \
188         dbprop.idl \
189         dbs.idl \
190         dbt.h \
191         dciddi.h \
192         dciman.h \
193         dde.h \
194         ddeml.h \
195         ddk/compstui.h \
196         ddk/hidsdi.h \
197         ddk/imm.h \
198         ddk/mountmgr.h \
199         ddk/ntddcdvd.h \
200         ddk/ntddk.h \
201         ddk/ntddser.h \
202         ddk/ntddtape.h \
203         ddk/usb.h \
204         ddk/usb100.h \
205         ddk/usb200.h \
206         ddk/usbdlib.h \
207         ddk/wdm.h \
208         ddk/winddiui.h \
209         ddk/winsplp.h \
210         ddraw.h \
211         ddrawgdi.h \
212         ddrawi.h \
213         devenum.idl \
214         devguid.h \
215         devpkey.h \
216         devpropdef.h \
217         digitalv.h \
218         dinput.h \
219         dispdib.h \
220         dlgs.h \
221         dls1.h \
222         dls2.h \
223         dmdls.h \
224         dmerror.h \
225         dmo.h \
226         dmoreg.h \
227         dmort.h \
228         dmplugin.h \
229         dmusbuff.h \
230         dmusicc.h \
231         dmusicf.h \
232         dmusici.h \
233         dmusics.h \
234         dpaddr.h \
235         dplay.h \
236         dplay8.h \
237         dplobby.h \
238         dplobby8.h \
239         dpnathlp.h \
240         dsconf.h \
241         dsdriver.h \
242         dsgetdc.h \
243         dshow.h \
244         dsound.h \
245         dsrole.h \
246         dvdmedia.h \
247         dwmapi.h \
248         dxdiag.h \
249         dxerr8.h \
250         dxerr9.h \
251         dxfile.h \
252         dyngraph.idl \
253         errorrep.h \
254         errors.h \
255         evcode.h \
256         evntprov.h \
257         evntrace.h \
258         excpt.h \
259         exdispid.h \
260         fci.h \
261         fdi.h \
262         gdiplus.h \
263         gdipluscolor.h \
264         gdipluscolormatrix.h \
265         gdiplusenums.h \
266         gdiplusflat.h \
267         gdiplusgpstubs.h \
268         gdiplusimaging.h \
269         gdiplusinit.h \
270         gdiplusmem.h \
271         gdiplusmetaheader.h \
272         gdipluspixelformats.h \
273         gdiplustypes.h \
274         guiddef.h \
275         hlguids.h \
276         htmlhelp.h \
277         http.h \
278         i_cryptasn1tls.h \
279         icm.h \
280         icmpapi.h \
281         idispids.h \
282         ifdef.h \
283         imagehlp.h \
284         imm.h \
285         in6addr.h \
286         inaddr.h \
287         initguid.h \
288         intshcut.h \
289         ipexport.h \
290         iphlpapi.h \
291         ipifcons.h \
292         iprtrmib.h \
293         iptypes.h \
294         isguids.h \
295         knownfolders.h \
296         ks.h \
297         ksguid.h \
298         ksmedia.h \
299         lm.h \
300         lmaccess.h \
301         lmapibuf.h \
302         lmbrowsr.h \
303         lmcons.h \
304         lmerr.h \
305         lmjoin.h \
306         lmmsg.h \
307         lmserver.h \
308         lmshare.h \
309         lmstats.h \
310         lmuse.h \
311         lmuseflg.h \
312         lmwksta.h \
313         loadperf.h \
314         lzexpand.h \
315         mapi.h \
316         mapicode.h \
317         mapidefs.h \
318         mapiform.h \
319         mapiguid.h \
320         mapitags.h \
321         mapiutil.h \
322         mapival.h \
323         mapix.h \
324         mciavi.h \
325         mcx.h \
326         mediaerr.h \
327         midles.h \
328         minmax.h \
329         mmddk.h \
330         mmreg.h \
331         mmsystem.h \
332         mprapi.h \
333         mprerror.h \
334         msacm.h \
335         msacmdlg.h \
336         msacmdrv.h \
337         mscat.h \
338         msdaguid.h \
339         mshtmcid.h \
340         mshtmdid.h \
341         msi.h \
342         msidefs.h \
343         msiquery.h \
344         mssip.h \
345         mstcpip.h \
346         msvcrt/assert.h \
347         msvcrt/conio.h \
348         msvcrt/crtdbg.h \
349         msvcrt/crtdefs.h \
350         msvcrt/ctype.h \
351         msvcrt/direct.h \
352         msvcrt/dirent.h \
353         msvcrt/dos.h \
354         msvcrt/eh.h \
355         msvcrt/errno.h \
356         msvcrt/fcntl.h \
357         msvcrt/float.h \
358         msvcrt/io.h \
359         msvcrt/limits.h \
360         msvcrt/locale.h \
361         msvcrt/malloc.h \
362         msvcrt/math.h \
363         msvcrt/mbctype.h \
364         msvcrt/mbstring.h \
365         msvcrt/memory.h \
366         msvcrt/process.h \
367         msvcrt/search.h \
368         msvcrt/setjmp.h \
369         msvcrt/share.h \
370         msvcrt/signal.h \
371         msvcrt/stddef.h \
372         msvcrt/stdio.h \
373         msvcrt/stdlib.h \
374         msvcrt/string.h \
375         msvcrt/sys/locking.h \
376         msvcrt/sys/stat.h \
377         msvcrt/sys/timeb.h \
378         msvcrt/sys/types.h \
379         msvcrt/sys/unistd.h \
380         msvcrt/sys/utime.h \
381         msvcrt/time.h \
382         msvcrt/unistd.h \
383         msvcrt/wchar.h \
384         msvcrt/wctype.h \
385         mswsock.h \
386         msxml2did.h \
387         msxml6did.h \
388         msxmldid.h \
389         nb30.h \
390         ndrtypes.h \
391         npapi.h \
392         nspapi.h \
393         ntddcdrm.h \
394         ntddndis.h \
395         ntddscsi.h \
396         ntddstor.h \
397         ntdsapi.h \
398         ntquery.h \
399         ntsecapi.h \
400         ntsecpkg.h \
401         ntstatus.h \
402         objbase.h \
403         objsel.h \
404         odbcinst.h \
405         ole2.h \
406         ole2ver.h \
407         oleauto.h \
408         olectl.h \
409         oledberr.h \
410         oledlg.h \
411         opnrst.idl \
412         pdh.h \
413         pdhmsg.h \
414         pktdef.h \
415         poppack.h \
416         powrprof.h \
417         profinfo.h \
418         propkey.h \
419         propkeydef.h \
420         propvarutil.h \
421         prsht.h \
422         psapi.h \
423         pshpack1.h \
424         pshpack2.h \
425         pshpack4.h \
426         pshpack8.h \
427         ras.h \
428         rasdlg.h \
429         raserror.h \
430         reason.h \
431         regstr.h \
432         restartmanager.h \
433         richedit.h \
434         rmxfguid.h \
435         row.idl \
436         rowchg.idl \
437         rpc.h \
438         rpcasync.h \
439         rpcdce.h \
440         rpcdcep.h \
441         rpcndr.h \
442         rpcnterr.h \
443         rpcproxy.h \
444         rstbas.idl \
445         rstinf.idl \
446         rstloc.idl \
447         rtutils.h \
448         scarderr.h \
449         schannel.h \
450         schemadef.h \
451         schnlsp.h \
452         sddl.h \
453         secext.h \
454         security.h \
455         sensapi.h \
456         sesprp.idl \
457         setupapi.h \
458         sfc.h \
459         shdispid.h \
460         shellapi.h \
461         shlguid.h \
462         shlobj.h \
463         shlwapi.h \
464         sipbase.h \
465         slerror.h \
466         slpublic.h \
467         snmp.h \
468         softpub.h \
469         sql.h \
470         sqlext.h \
471         sqltypes.h \
472         srrestoreptapi.h \
473         sspi.h \
474         sti.h \
475         storage.h \
476         strsafe.h \
477         svrapi.h \
478         t2embapi.h \
479         tapi.h \
480         tchar.h \
481         textserv.h \
482         tlhelp32.h \
483         tmschema.h \
484         traffic.h \
485         twain.h \
486         userenv.h \
487         usp10.h \
488         uuids.h \
489         uxtheme.h \
490         vdmdbg.h \
491         ver.h \
492         vfw.h \
493         vfwmsgs.h \
494         vmrender.idl \
495         werapi.h \
496         wfext.h \
497         wia.h \
498         winbase.h \
499         wincon.h \
500         wincred.h \
501         wincrypt.h \
502         windef.h \
503         windns.h \
504         windows.h \
505         windowsx.h \
506         wine/debug.h \
507         wine/exception.h \
508         wine/library.h \
509         wine/unicode.h \
510         winerror.h \
511         wingdi.h \
512         winhttp.h \
513         wininet.h \
514         winineti.h \
515         winioctl.h \
516         winldap.h \
517         winnetwk.h \
518         winnls.h \
519         winnls32.h \
520         winnt.h \
521         winperf.h \
522         winreg.h \
523         winresrc.h \
524         winsafer.h \
525         winscard.h \
526         winsmcrd.h \
527         winsock.h \
528         winsock2.h \
529         winspool.h \
530         winsvc.h \
531         wintab.h \
532         wintabx.h \
533         winternl.h \
534         wintrust.h \
535         winuser.h \
536         winuser.rh \
537         winver.h \
538         wmistr.h \
539         wnaspi32.h \
540         wownt32.h \
541         ws2def.h \
542         ws2ipdef.h \
543         ws2spi.h \
544         ws2tcpip.h \
545         wshisotp.h \
546         wsipx.h \
547         wsnwlink.h \
548         wtsapi32.h \
549         xcmc.h \
550         xinput.h \
551         xmldom.h \
552         xmldom.idl \
553         xmldomdid.h \
554         xmldso.idl \
555         xmldsodid.h \
556         zmouse.h
557
558 EXTRASUBDIRS = \
559         ddk \
560         msvcrt \
561         msvcrt/sys \
562         wine
563
564 INSTALLDIRS = \
565         $(DESTDIR)$(includedir)/windows/ddk \
566         $(DESTDIR)$(includedir)/windows \
567         $(DESTDIR)$(includedir)/msvcrt/sys \
568         $(DESTDIR)$(includedir)/msvcrt \
569         $(DESTDIR)$(includedir)
570
571 IDL_H_SRCS = $(PUBLIC_IDL_H_SRCS) $(PRIVATE_IDL_H_SRCS)
572
573 @MAKE_RULES@
574
575 OBJDIR_INCLUDES = $(PUBLIC_IDL_H_SRCS:.idl=.h)
576
577 all: $(IDL_H_SRCS:.idl=.h) $(IDL_TLB_SRCS:.idl=.tlb)
578
579 install install-dev:: $(OBJDIR_INCLUDES) $(INSTALLDIRS)
580         for f in $(SRCDIR_INCLUDES); do case $$f in \
581           wine/*)   $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(includedir)/`expr $$f : 'wine/\(.*\)'` ;; \
582           msvcrt/*) $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(includedir)/$$f ;; \
583           *)        $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(includedir)/windows/$$f ;; \
584         esac; done
585         for f in $(OBJDIR_INCLUDES); do case $$f in \
586           wine/*)   $(INSTALL_DATA) $$f $(DESTDIR)$(includedir)/`expr $$f : 'wine/\(.*\)'` ;; \
587           msvcrt/*) $(INSTALL_DATA) $$f $(DESTDIR)$(includedir)/$$f ;; \
588           *)        $(INSTALL_DATA) $$f $(DESTDIR)$(includedir)/windows/$$f ;; \
589         esac; done
590
591 # Don't just do a rm -rf on $(includedir) -- don't want to wipe out
592 # anything extra the user may have put there.
593 uninstall::
594         for f in $(SRCDIR_INCLUDES) $(OBJDIR_INCLUDES); do case $$f in \
595           wine/*)   $(RM) $(DESTDIR)$(includedir)/`expr $$f : 'wine/\(.*\)'` ;; \
596           msvcrt/*) $(RM) $(DESTDIR)$(includedir)/$$f ;; \
597           *)        $(RM) $(DESTDIR)$(includedir)/windows/$$f ;; \
598         esac; done
599         -rmdir $(INSTALLDIRS)