blob: b7dcd81ebc0807dbc9ae626e5b43c63993f67d24 [file] [log] [blame]
James Juranc70dc831999-02-13 12:18:33 +00001TOPSRCDIR = @top_srcdir@
2TOPOBJDIR = ..
3SRCDIR = @srcdir@
4VPATH = @srcdir@
5MODULE = none
6
Alexandre Julliarded2f8fc2002-12-03 23:36:05 +00007IDL_SRCS = \
Alexandre Julliard3e1c5af2003-09-03 19:31:57 +00008 comcat.idl \
Alexandre Julliardb90d6112003-09-04 01:51:43 +00009 docobj.idl \
Alexandre Julliard96b0b342003-09-04 02:00:46 +000010 exdisp.idl \
Ove Kaaven6463e382003-01-05 20:31:51 +000011 oaidl.idl \
Ove Kaaven9a580d92002-12-19 22:15:24 +000012 objidl.idl \
Alexandre Julliard8da94c92003-09-04 00:03:48 +000013 ocidl.idl \
Alexandre Julliard802ebc12003-09-03 20:17:39 +000014 oleidl.idl \
Alexandre Julliard1843cd32003-09-03 20:20:49 +000015 servprov.idl \
Alexandre Julliardd937dc22003-09-04 19:43:39 +000016 shobjidl.idl \
17 shtypes.idl \
Robert Shearman7c8b85a2003-06-30 20:24:52 +000018 strmif.idl \
Ove Kaaven0df7b242002-12-16 23:49:30 +000019 unknwn.idl \
Alexandre Julliardb7c62802003-09-03 23:52:07 +000020 urlmon.idl \
Alexandre Julliarded2f8fc2002-12-03 23:36:05 +000021 wtypes.idl
22
Robert Shearman7c8b85a2003-06-30 20:24:52 +000023IDL_INCLUDES = \
24 axcore.idl \
25 axextend.idl \
26 devenum.idl \
27 dyngraph.idl
28
Dimitrie O. Pauncaa603f2002-12-03 21:34:44 +000029WINDOWS_INCLUDES = \
Alexandre Julliardafba1592002-12-19 04:15:02 +000030 accctrl.h \
Hidenori Takeshima64fa1412001-08-15 17:38:28 +000031 audevcod.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +000032 basetsd.h \
33 cderr.h \
Peter Hunnisett4b520a32000-09-09 19:41:31 +000034 cguid.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +000035 commctrl.h \
36 commdlg.h \
37 compobj.h \
Lionel Ulmer1fa96242003-06-13 18:06:44 +000038 control.h \
Eric Pouech92b23182001-02-23 01:12:26 +000039 cpl.h \
György 'Nog' Jeneydfacb6e2002-09-29 18:04:15 +000040 custcntl.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +000041 d3d.h \
Jason Edmeades66fcb2b2002-09-12 22:25:16 +000042 d3d8.h \
43 d3d8caps.h \
44 d3d8types.h \
Raphael Junqueira9a401a02003-06-20 21:28:34 +000045 d3d9.h \
46 d3d9caps.h \
47 d3d9types.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +000048 d3dcaps.h \
Dimitrie O. Paun4d5f2912002-12-06 19:45:18 +000049 d3dhal.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +000050 d3dtypes.h \
Alexandre Julliard83f52d12000-09-26 22:20:14 +000051 d3dvec.inl \
Raphael Junqueirae31ae922002-12-17 01:15:15 +000052 d3dx8core.h \
Eric Pouech6235e932003-06-26 02:06:40 +000053 dbghelp.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +000054 dde.h \
55 ddeml.h \
56 ddraw.h \
Dimitrie O. Paun4d5f2912002-12-06 19:45:18 +000057 ddrawi.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +000058 digitalv.h \
59 dinput.h \
60 dispdib.h \
61 dlgs.h \
Rok Mandeljc2d04be72003-03-21 00:42:38 +000062 dls1.h \
63 dmdls.h \
64 dmerror.h \
Hidenori Takeshimaae6075c2002-03-12 19:20:44 +000065 dmo.h \
66 dmoreg.h \
67 dmort.h \
Rok Mandeljc3dec4c52003-04-08 03:56:04 +000068 dmplugin.h \
Rok Mandeljc2d04be72003-03-21 00:42:38 +000069 dmusbuff.h \
70 dmusicc.h \
Rok Mandeljc3dec4c52003-04-08 03:56:04 +000071 dmusicf.h \
72 dmusici.h \
73 dmusics.h \
Raphael Junqueirab351e882003-06-30 18:26:13 +000074 dpaddr.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +000075 dplay.h \
Raphael Junqueirab351e882003-06-30 18:26:13 +000076 dplay8.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +000077 dplobby.h \
Robert Reife743e092003-04-29 22:49:52 +000078 dsconf.h \
Dimitrie O. Paun4d5f2912002-12-06 19:45:18 +000079 dsdriver.h \
Hidenori Takeshima64fa1412001-08-15 17:38:28 +000080 dshow.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +000081 dsound.h \
Dimitrie O. Paun737d4be2002-12-12 23:34:01 +000082 excpt.h \
Patrik Stridvalld1447fa2002-11-19 00:47:12 +000083 fci.h \
84 fdi.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +000085 guiddef.h \
Alexandre Julliard27483682002-12-03 22:08:14 +000086 icmpapi.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +000087 imagehlp.h \
88 imm.h \
89 initguid.h \
90 instance.h \
Alexandre Julliard27483682002-12-03 22:08:14 +000091 ipexport.h \
Juan Lang38fa5ad2003-05-13 03:32:20 +000092 iphlpapi.h \
93 ipifcons.h \
94 iprtrmib.h \
95 iptypes.h \
Andriy Palamarchukb812c902002-09-11 02:35:17 +000096 lm.h \
97 lmaccess.h \
98 lmapibuf.h \
Andriy Palamarchuk2693eb9a2002-09-23 20:36:50 +000099 lmbrowsr.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000100 lmcons.h \
Andriy Palamarchukb812c902002-09-11 02:35:17 +0000101 lmerr.h \
Geoff Thorpe23609d22003-09-11 03:09:19 +0000102 lmstats.h \
Andriy Palamarchukb812c902002-09-11 02:35:17 +0000103 lmwksta.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000104 lzexpand.h \
François Gouget3481e802000-12-13 21:28:57 +0000105 mapi.h \
Aric Stewart71a081c2002-01-29 18:10:53 +0000106 mapicode.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000107 mapidefs.h \
Eric Pouech26146cd2001-02-14 21:49:22 +0000108 mciavi.h \
Francois Gouget83804d22000-10-13 23:16:46 +0000109 mcx.h \
Hidenori Takeshimaae6075c2002-03-12 19:20:44 +0000110 mediaerr.h \
111 mediaobj.h \
Francois Gouget56539392001-05-07 20:14:00 +0000112 minmax.h \
Dimitrie O. Paun4d5f2912002-12-06 19:45:18 +0000113 mmddk.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000114 mmreg.h \
115 mmsystem.h \
116 msacm.h \
Eric Pouech28b8ac82001-01-04 20:58:05 +0000117 msacmdlg.h \
Mike McCormack6386edc2003-08-13 01:27:48 +0000118 msi.h \
119 msiquery.h \
Patrik Stridvall1b32e5e2002-09-09 19:35:42 +0000120 mssip.h \
Francois Gougetac70c402002-05-22 01:51:41 +0000121 mswsock.h \
Mike McCormack2e40b962001-11-06 17:52:36 +0000122 nb30.h \
Dimitrie O. Paun4d5f2912002-12-06 19:45:18 +0000123 netspi.h \
Stefan Leichter73db9002001-01-12 23:15:54 +0000124 nspapi.h \
Dimitrie O. Paun4d5f2912002-12-06 19:45:18 +0000125 ntddcdrm.h \
126 ntddscsi.h \
127 ntddstor.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000128 ntsecapi.h \
Francois Gougetde0f0152002-09-17 00:03:39 +0000129 ntstatus.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000130 objbase.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000131 ole2.h \
132 ole2ver.h \
133 oleauto.h \
134 olectl.h \
135 oledlg.h \
Patrik Stridvall5caddc72002-12-17 01:49:16 +0000136 pktdef.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000137 poppack.h \
138 prsht.h \
139 psapi.h \
140 pshpack1.h \
141 pshpack2.h \
142 pshpack4.h \
143 pshpack8.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000144 ras.h \
145 regstr.h \
146 richedit.h \
Andriy Palamarchuk3d8b1232002-08-09 19:51:49 +0000147 richole.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000148 rpc.h \
Francois Gouget552fddc2000-11-08 05:06:10 +0000149 rpcdce.h \
150 rpcdcep.h \
151 rpcndr.h \
Peter Hunnisett8cec3cff2001-07-11 20:19:06 +0000152 rpcnterr.h \
Ove Kaaven0dac9722001-10-14 16:15:37 +0000153 rpcproxy.h \
James Hathewaycb655b02000-11-06 20:24:43 +0000154 setupapi.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000155 shellapi.h \
156 shlguid.h \
157 shlobj.h \
158 shlwapi.h \
Patrik Stridvall1b32e5e2002-09-09 19:35:42 +0000159 sipbase.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000160 sql.h \
161 sqlext.h \
162 sqltypes.h \
163 storage.h \
Lionel Ulmer1fa96242003-06-13 18:06:44 +0000164 strmif.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000165 tapi.h \
Andriy Palamarchuk3e2887a2002-09-12 17:54:09 +0000166 tchar.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000167 tlhelp32.h \
Hidenori Takeshima64fa1412001-08-15 17:38:28 +0000168 uuids.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000169 ver.h \
170 vfw.h \
Hidenori Takeshimaffb0d942001-08-22 18:20:36 +0000171 vfwmsgs.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000172 winbase.h \
173 wincon.h \
174 wincrypt.h \
Niels Kristian Bech Jensen37130801999-03-15 15:12:38 +0000175 windef.h \
James Juranc70dc831999-02-13 12:18:33 +0000176 windows.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000177 windowsx.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000178 winerror.h \
James Juranc70dc831999-02-13 12:18:33 +0000179 wingdi.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000180 wininet.h \
181 winioctl.h \
182 winnetwk.h \
183 winnls.h \
184 winnt.h \
185 winreg.h \
Alexandre Julliard12070e12001-07-20 17:59:28 +0000186 winres.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000187 winresrc.h \
188 winsock.h \
189 winsock2.h \
190 winspool.h \
191 winsvc.h \
Patrik Stridvall5caddc72002-12-17 01:49:16 +0000192 wintab.h \
193 wintabx.h \
Patrik Stridvalleba96492002-09-10 00:33:34 +0000194 winternl.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000195 winuser.h \
196 winver.h \
Alexandre Julliard83f52d12000-09-26 22:20:14 +0000197 wnaspi32.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000198 wownt32.h \
Patrik Stridvalle668a9d2001-10-09 21:48:22 +0000199 ws2spi.h \
Francois Gouget27202312001-11-14 21:26:23 +0000200 ws2tcpip.h \
Stefan Leichter73db9002001-01-12 23:15:54 +0000201 wshisotp.h \
202 wsipx.h \
Alexandre Julliarded2f8fc2002-12-03 23:36:05 +0000203 zmouse.h \
Robert Shearman7c8b85a2003-06-30 20:24:52 +0000204 $(IDL_INCLUDES) \
Alexandre Julliardaa89ecc2003-04-11 00:38:56 +0000205 $(IDL_SRCS) \
Alexandre Julliarded2f8fc2002-12-03 23:36:05 +0000206 $(IDL_SRCS:.idl=.h)
James Juranc70dc831999-02-13 12:18:33 +0000207
Dimitrie O. Pauncaa603f2002-12-03 21:34:44 +0000208MSVCRT_INCLUDES = \
209 msvcrt/conio.h \
210 msvcrt/crtdbg.h \
211 msvcrt/ctype.h \
212 msvcrt/direct.h \
Dimitrie O. Paun4d28cc82003-01-11 20:54:06 +0000213 msvcrt/dirent.h \
Dimitrie O. Pauncaa603f2002-12-03 21:34:44 +0000214 msvcrt/dos.h \
215 msvcrt/eh.h \
216 msvcrt/errno.h \
Dimitrie O. Pauncaa603f2002-12-03 21:34:44 +0000217 msvcrt/fcntl.h \
218 msvcrt/io.h \
Vincent Bérondc7c2e42003-09-02 00:58:21 +0000219 msvcrt/limits.h \
Dimitrie O. Pauncaa603f2002-12-03 21:34:44 +0000220 msvcrt/locale.h \
221 msvcrt/malloc.h \
Vincent Bérondc7c2e42003-09-02 00:58:21 +0000222 msvcrt/math.h \
Dimitrie O. Pauncaa603f2002-12-03 21:34:44 +0000223 msvcrt/mbctype.h \
224 msvcrt/mbstring.h \
225 msvcrt/process.h \
226 msvcrt/search.h \
227 msvcrt/setjmp.h \
228 msvcrt/share.h \
229 msvcrt/stddef.h \
230 msvcrt/stdio.h \
231 msvcrt/stdlib.h \
232 msvcrt/string.h \
233 msvcrt/sys/locking.h \
234 msvcrt/sys/stat.h \
235 msvcrt/sys/timeb.h \
236 msvcrt/sys/types.h \
Dimitrie O. Paun651f32f2003-01-10 01:47:48 +0000237 msvcrt/sys/unistd.h \
Dimitrie O. Pauncaa603f2002-12-03 21:34:44 +0000238 msvcrt/sys/utime.h \
239 msvcrt/time.h \
Dimitrie O. Paun651f32f2003-01-10 01:47:48 +0000240 msvcrt/unistd.h \
Dimitrie O. Pauncaa603f2002-12-03 21:34:44 +0000241 msvcrt/wchar.h \
242 msvcrt/wctype.h
243
244WINE_INCLUDES = \
245 debug.h \
246 exception.h \
Dimitrie O. Pauncaa603f2002-12-03 21:34:44 +0000247 library.h \
Dimitrie O. Pauncaa603f2002-12-03 21:34:44 +0000248 unicode.h
249
Francois Gougeteee695d2001-04-10 23:21:43 +0000250EXTRASUBDIRS = bitmaps msvcrt msvcrt/sys wine
Alexandre Julliardc53ceba2000-04-09 18:19:59 +0000251
James Juranc70dc831999-02-13 12:18:33 +0000252@MAKE_RULES@
253
Alexandre Julliarded2f8fc2002-12-03 23:36:05 +0000254.SUFFIXES: .idl .h
255
256.idl.h:
Alexandre Julliard2e12d332003-04-21 23:54:05 +0000257 $(WIDL) $(DEFS) -b -h -H $@ $<
Alexandre Julliarded2f8fc2002-12-03 23:36:05 +0000258
Alexandre Julliardd1d5d422003-01-09 01:09:16 +0000259.PHONY: idl
260
261idl: $(IDL_SRCS:.idl=.h)
262
Alexandre Julliard318f4ce2000-01-31 05:02:49 +0000263install::
Dimitrie O. Pauncaa603f2002-12-03 21:34:44 +0000264 $(MKINSTALLDIRS) $(includedir) $(includedir)/windows $(includedir)/msvcrt $(includedir)/msvcrt/sys
265 for f in $(WINDOWS_INCLUDES); do $(INSTALL_DATA) $(SRCDIR)/$$f $(includedir)/windows/$$f; done
266 for f in $(MSVCRT_INCLUDES); do $(INSTALL_DATA) $(SRCDIR)/$$f $(includedir)/$$f; done
267 for f in $(WINE_INCLUDES); do $(INSTALL_DATA) $(SRCDIR)/wine/$$f $(includedir)/$$f; done
James Juranc70dc831999-02-13 12:18:33 +0000268
Alexandre Julliard7cae5582002-06-01 02:55:48 +0000269# Don't just do a rm -rf on $(includedir) -- don't want to wipe out
James Juranc70dc831999-02-13 12:18:33 +0000270# anything extra the user may have put there.
271uninstall::
Dimitrie O. Pauncaa603f2002-12-03 21:34:44 +0000272 [ -d $(includedir)/windows ] && cd $(includedir)/windows && $(RM) $(WINDOWS_INCLUDES) || true
273 [ -d $(includedir) ] && cd $(includedir) && $(RM) $(MSVCRT_INCLUDES) $(WINE_INCLUDES) || true
274 -rmdir $(includedir)/msvcrt/sys $(includedir)/msvcrt $(includedir)/windows $(includedir)
James Juranc70dc831999-02-13 12:18:33 +0000275
James Juranc70dc831999-02-13 12:18:33 +0000276### Dependencies: