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