Add support for 'make install DESTDIR'.
[wine/dcerpc.git] / include / Makefile.in
blob4adce04de4c339e347ceb9e37ad4252401d5aadb
1 TOPSRCDIR = @top_srcdir@
2 TOPOBJDIR = ..
3 SRCDIR = @srcdir@
4 VPATH = @srcdir@
5 MODULE = none
7 WINDOWS_IDL_SRCS = \
8 activscp.idl \
9 amstream.idl \
10 amvideo.idl \
11 austream.idl \
12 comcat.idl \
13 control.idl \
14 ddstream.idl \
15 dispex.idl \
16 docobj.idl \
17 downloadmgr.idl \
18 exdisp.idl \
19 hlink.idl \
20 iads.idl \
21 mediaobj.idl \
22 mimeinfo.idl \
23 mlang.idl \
24 mmstream.idl \
25 mshtmhst.idl \
26 mshtml.idl \
27 msxml.idl \
28 msxml2.idl \
29 oaidl.idl \
30 objidl.idl \
31 objsafe.idl \
32 ocidl.idl \
33 oleidl.idl \
34 propidl.idl \
35 pstore.idl \
36 richole.idl \
37 sensevts.idl \
38 servprov.idl \
39 shldisp.idl \
40 shobjidl.idl \
41 shtypes.idl \
42 strmif.idl \
43 unknwn.idl \
44 urlmon.idl \
45 wtypes.idl \
46 xmldom.idl \
47 xmldso.idl
49 WINDOWS_IDL_INCLUDES = \
50 $(WINDOWS_IDL_SRCS) \
51 axcore.idl \
52 axextend.idl \
53 devenum.idl \
54 dyngraph.idl
56 WINDOWS_INCLUDES = \
57 $(WINDOWS_IDL_INCLUDES) \
58 accctrl.h \
59 aclapi.h \
60 advpub.h \
61 appmgmt.h \
62 audevcod.h \
63 aviriff.h \
64 basetsd.h \
65 basetyps.h \
66 cderr.h \
67 cguid.h \
68 commctrl.h \
69 commdlg.h \
70 compobj.h \
71 cpl.h \
72 custcntl.h \
73 cvconst.h \
74 d3d.h \
75 d3d8.h \
76 d3d8caps.h \
77 d3d8types.h \
78 d3d9.h \
79 d3d9caps.h \
80 d3d9types.h \
81 d3dcaps.h \
82 d3dhal.h \
83 d3drm.h \
84 d3dtypes.h \
85 d3dvec.inl \
86 d3dx8core.h \
87 dbghelp.h \
88 dbt.h \
89 dciddi.h \
90 dciman.h \
91 dde.h \
92 ddeml.h \
93 ddk/cfgmgr32.h \
94 ddk/ntddcdvd.h \
95 ddk/ntddser.h \
96 ddk/ntddtape.h \
97 ddk/wdm.h \
98 ddk/winsplp.h \
99 ddraw.h \
100 ddrawi.h \
101 devguid.h \
102 digitalv.h \
103 dinput.h \
104 dispdib.h \
105 dlgs.h \
106 dls1.h \
107 dls2.h \
108 dmdls.h \
109 dmerror.h \
110 dmo.h \
111 dmoreg.h \
112 dmort.h \
113 dmplugin.h \
114 dmusbuff.h \
115 dmusicc.h \
116 dmusicf.h \
117 dmusici.h \
118 dmusics.h \
119 dpaddr.h \
120 dplay.h \
121 dplay8.h \
122 dplobby.h \
123 dplobby8.h \
124 dpnathlp.h \
125 dsconf.h \
126 dsdriver.h \
127 dshow.h \
128 dsound.h \
129 dsrole.h \
130 dxdiag.h \
131 dxerr8.h \
132 dxerr9.h \
133 dxfile.h \
134 evcode.h \
135 evntrace.h \
136 excpt.h \
137 exdispid.h \
138 fci.h \
139 fdi.h \
140 guiddef.h \
141 htmlhelp.h \
142 icm.h \
143 icmpapi.h \
144 idispids.h \
145 imagehlp.h \
146 imm.h \
147 initguid.h \
148 ipexport.h \
149 iphlpapi.h \
150 ipifcons.h \
151 iprtrmib.h \
152 iptypes.h \
153 ks.h \
154 ksguid.h \
155 ksmedia.h \
156 lm.h \
157 lmaccess.h \
158 lmapibuf.h \
159 lmbrowsr.h \
160 lmcons.h \
161 lmerr.h \
162 lmjoin.h \
163 lmserver.h \
164 lmshare.h \
165 lmstats.h \
166 lmwksta.h \
167 lzexpand.h \
168 mapi.h \
169 mapicode.h \
170 mapidefs.h \
171 mapiguid.h \
172 mapitags.h \
173 mapiutil.h \
174 mapival.h \
175 mapix.h \
176 mciavi.h \
177 mcx.h \
178 mediaerr.h \
179 minmax.h \
180 mmddk.h \
181 mmreg.h \
182 mmsystem.h \
183 msacm.h \
184 msacmdlg.h \
185 msacmdrv.h \
186 mscat.h \
187 mshtmcid.h \
188 mshtmdid.h \
189 msi.h \
190 msidefs.h \
191 msiquery.h \
192 mssip.h \
193 mswsock.h \
194 msxml2did.h \
195 msxmldid.h \
196 nb30.h \
197 npapi.h \
198 nspapi.h \
199 ntddcdrm.h \
200 ntddscsi.h \
201 ntddstor.h \
202 ntsecapi.h \
203 ntstatus.h \
204 objbase.h \
205 objsel.h \
206 odbcinst.h \
207 ole2.h \
208 ole2ver.h \
209 oleauto.h \
210 olectl.h \
211 oledlg.h \
212 pktdef.h \
213 poppack.h \
214 powrprof.h \
215 prsht.h \
216 psapi.h \
217 pshpack1.h \
218 pshpack2.h \
219 pshpack4.h \
220 pshpack8.h \
221 ras.h \
222 reason.h \
223 regstr.h \
224 richedit.h \
225 rpc.h \
226 rpcdce.h \
227 rpcdcep.h \
228 rpcndr.h \
229 rpcnterr.h \
230 rpcproxy.h \
231 schannel.h \
232 schemadef.h \
233 schnlsp.h \
234 sddl.h \
235 secext.h \
236 security.h \
237 sensapi.h \
238 setupapi.h \
239 shellapi.h \
240 shlguid.h \
241 shlobj.h \
242 shlwapi.h \
243 sipbase.h \
244 snmp.h \
245 sql.h \
246 sqlext.h \
247 sqltypes.h \
248 sspi.h \
249 storage.h \
250 tapi.h \
251 tchar.h \
252 textserv.h \
253 tlhelp32.h \
254 tmschema.h \
255 usp10.h \
256 uuids.h \
257 uxtheme.h \
258 ver.h \
259 vfw.h \
260 vfwmsgs.h \
261 winbase.h \
262 wincon.h \
263 wincrypt.h \
264 windef.h \
265 windows.h \
266 windowsx.h \
267 winerror.h \
268 wingdi.h \
269 wininet.h \
270 winioctl.h \
271 winldap.h \
272 winnetwk.h \
273 winnls.h \
274 winnls32.h \
275 winnt.h \
276 winreg.h \
277 winres.h \
278 winresrc.h \
279 winsock.h \
280 winsock2.h \
281 winspool.h \
282 winsvc.h \
283 wintab.h \
284 wintabx.h \
285 winternl.h \
286 wintrust.h \
287 winuser.h \
288 winver.h \
289 wmistr.h \
290 wnaspi32.h \
291 wownt32.h \
292 ws2spi.h \
293 ws2tcpip.h \
294 wshisotp.h \
295 wsipx.h \
296 wsnwlink.h \
297 wtsapi32.h \
298 xcmc.h \
299 xmldomdid.h \
300 xmldsodid.h \
301 zmouse.h
303 MSVCRT_INCLUDES = \
304 msvcrt/conio.h \
305 msvcrt/crtdbg.h \
306 msvcrt/ctype.h \
307 msvcrt/direct.h \
308 msvcrt/dirent.h \
309 msvcrt/dos.h \
310 msvcrt/eh.h \
311 msvcrt/errno.h \
312 msvcrt/fcntl.h \
313 msvcrt/float.h \
314 msvcrt/io.h \
315 msvcrt/limits.h \
316 msvcrt/locale.h \
317 msvcrt/malloc.h \
318 msvcrt/math.h \
319 msvcrt/mbctype.h \
320 msvcrt/mbstring.h \
321 msvcrt/process.h \
322 msvcrt/search.h \
323 msvcrt/setjmp.h \
324 msvcrt/share.h \
325 msvcrt/signal.h \
326 msvcrt/stddef.h \
327 msvcrt/stdio.h \
328 msvcrt/stdlib.h \
329 msvcrt/string.h \
330 msvcrt/sys/locking.h \
331 msvcrt/sys/stat.h \
332 msvcrt/sys/timeb.h \
333 msvcrt/sys/types.h \
334 msvcrt/sys/unistd.h \
335 msvcrt/sys/utime.h \
336 msvcrt/time.h \
337 msvcrt/unistd.h \
338 msvcrt/wchar.h \
339 msvcrt/wctype.h
341 WINE_IDL_SRCS = \
342 itss.idl
344 WINE_INCLUDES = \
345 $(WINE_IDL_SRCS) \
346 debug.h \
347 exception.h \
348 library.h \
349 unicode.h
351 IDL_SRCS = $(WINDOWS_IDL_SRCS) $(WINE_IDL_SRCS:%=wine/%)
353 EXTRASUBDIRS = ddk msvcrt msvcrt/sys wine
355 @MAKE_RULES@
357 WINDOWS_IDL_HEADERS = $(WINDOWS_IDL_SRCS:.idl=.h)
358 WINE_IDL_HEADERS = $(WINE_IDL_SRCS:.idl=.h)
359 IDL_HEADERS = $(IDL_SRCS:.idl=.h)
361 all: $(IDL_HEADERS)
363 install:: $(IDL_HEADERS)
364 $(MKINSTALLDIRS) $(DESTDIR)$(includedir) $(DESTDIR)$(includedir)/windows $(DESTDIR)$(includedir)/windows/ddk $(DESTDIR)$(includedir)/msvcrt $(DESTDIR)$(includedir)/msvcrt/sys
365 for f in $(WINDOWS_INCLUDES); do $(INSTALL_DATA) $(SRCDIR)/$$f $(DESTDIR)$(includedir)/windows/$$f; done
366 for f in $(WINDOWS_IDL_HEADERS); do $(INSTALL_DATA) $$f $(DESTDIR)$(includedir)/windows/$$f; done
367 for f in $(MSVCRT_INCLUDES); do $(INSTALL_DATA) $(SRCDIR)/$$f $(DESTDIR)$(includedir)/$$f; done
368 for f in $(WINE_INCLUDES); do $(INSTALL_DATA) $(SRCDIR)/wine/$$f $(DESTDIR)$(includedir)/$$f; done
369 for f in $(WINE_IDL_HEADERS); do $(INSTALL_DATA) wine/$$f $(DESTDIR)$(includedir)/$$f; done
371 # Don't just do a rm -rf on $(includedir) -- don't want to wipe out
372 # anything extra the user may have put there.
373 uninstall::
374 -cd $(DESTDIR)$(includedir)/windows && $(RM) $(WINDOWS_INCLUDES) $(WINDOWS_IDL_HEADERS)
375 -cd $(DESTDIR)$(includedir) && $(RM) $(MSVCRT_INCLUDES) $(WINE_INCLUDES) $(WINE_IDL_HEADERS)
376 -rmdir $(DESTDIR)$(includedir)/msvcrt/sys $(DESTDIR)$(includedir)/msvcrt $(DESTDIR)$(includedir)/windows/ddk $(DESTDIR)$(includedir)/windows $(DESTDIR)$(includedir)
378 ### Dependencies: