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