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