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