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