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