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