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