blob: 2346f46a902c44237b053f4e0a1fb0ec25208e73 [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 = \
Christian Costa76b77872004-03-09 01:29:56 +00008 amstream.idl \
Robert Shearman367cf412003-10-24 04:20:05 +00009 amvideo.idl \
Christian Costa76b77872004-03-09 01:29:56 +000010 austream.idl \
Alexandre Julliard3e1c5af2003-09-03 19:31:57 +000011 comcat.idl \
Christian Costa76b77872004-03-09 01:29:56 +000012 ddstream.idl \
Alexandre Julliardb90d6112003-09-04 01:51:43 +000013 docobj.idl \
Alexandre Julliard96b0b342003-09-04 02:00:46 +000014 exdisp.idl \
Christian Costa76b77872004-03-09 01:29:56 +000015 mmstream.idl \
Ove Kaaven6463e382003-01-05 20:31:51 +000016 oaidl.idl \
Ove Kaaven9a580d92002-12-19 22:15:24 +000017 objidl.idl \
Alexandre Julliard8da94c92003-09-04 00:03:48 +000018 ocidl.idl \
Alexandre Julliard802ebc12003-09-03 20:17:39 +000019 oleidl.idl \
Mike McCormackc3b8a202004-04-29 20:00:26 +000020 pstore.idl \
Alexandre Julliard1843cd32003-09-03 20:20:49 +000021 servprov.idl \
Maxime Bellengéb7852de2004-04-19 19:26:57 +000022 shldisp.idl \
Alexandre Julliardd937dc22003-09-04 19:43:39 +000023 shobjidl.idl \
24 shtypes.idl \
Robert Shearman7c8b85a2003-06-30 20:24:52 +000025 strmif.idl \
Ove Kaaven0df7b242002-12-16 23:49:30 +000026 unknwn.idl \
Alexandre Julliardb7c62802003-09-03 23:52:07 +000027 urlmon.idl \
Alexandre Julliarded2f8fc2002-12-03 23:36:05 +000028 wtypes.idl
29
Robert Shearman7c8b85a2003-06-30 20:24:52 +000030IDL_INCLUDES = \
31 axcore.idl \
32 axextend.idl \
33 devenum.idl \
34 dyngraph.idl
35
Dimitrie O. Pauncaa603f2002-12-03 21:34:44 +000036WINDOWS_INCLUDES = \
Alexandre Julliardafba1592002-12-19 04:15:02 +000037 accctrl.h \
Hidenori Takeshima64fa1412001-08-15 17:38:28 +000038 audevcod.h \
Robert Shearman367cf412003-10-24 04:20:05 +000039 aviriff.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +000040 basetsd.h \
41 cderr.h \
Peter Hunnisett4b520a32000-09-09 19:41:31 +000042 cguid.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +000043 commctrl.h \
44 commdlg.h \
45 compobj.h \
Lionel Ulmer1fa96242003-06-13 18:06:44 +000046 control.h \
Eric Pouech92b23182001-02-23 01:12:26 +000047 cpl.h \
György 'Nog' Jeneydfacb6e2002-09-29 18:04:15 +000048 custcntl.h \
Eric Pouech800864a2004-04-05 22:21:27 +000049 cvconst.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +000050 d3d.h \
Jason Edmeades66fcb2b2002-09-12 22:25:16 +000051 d3d8.h \
52 d3d8caps.h \
53 d3d8types.h \
Raphael Junqueira9a401a02003-06-20 21:28:34 +000054 d3d9.h \
55 d3d9caps.h \
56 d3d9types.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +000057 d3dcaps.h \
Dimitrie O. Paun4d5f2912002-12-06 19:45:18 +000058 d3dhal.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +000059 d3dtypes.h \
Alexandre Julliard83f52d12000-09-26 22:20:14 +000060 d3dvec.inl \
Raphael Junqueirae31ae922002-12-17 01:15:15 +000061 d3dx8core.h \
Eric Pouech6235e932003-06-26 02:06:40 +000062 dbghelp.h \
Ulrich Czekallae24d3fe2004-01-09 00:57:08 +000063 dbt.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +000064 dde.h \
65 ddeml.h \
66 ddraw.h \
Dimitrie O. Paun4d5f2912002-12-06 19:45:18 +000067 ddrawi.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +000068 digitalv.h \
69 dinput.h \
70 dispdib.h \
71 dlgs.h \
Rok Mandeljc2d04be72003-03-21 00:42:38 +000072 dls1.h \
Rok Mandeljc0382ea12004-01-20 00:21:40 +000073 dls2.h \
Rok Mandeljc2d04be72003-03-21 00:42:38 +000074 dmdls.h \
75 dmerror.h \
Hidenori Takeshimaae6075c2002-03-12 19:20:44 +000076 dmo.h \
77 dmoreg.h \
78 dmort.h \
Rok Mandeljc3dec4c52003-04-08 03:56:04 +000079 dmplugin.h \
Rok Mandeljc2d04be72003-03-21 00:42:38 +000080 dmusbuff.h \
81 dmusicc.h \
Rok Mandeljc3dec4c52003-04-08 03:56:04 +000082 dmusicf.h \
83 dmusici.h \
84 dmusics.h \
Raphael Junqueirab351e882003-06-30 18:26:13 +000085 dpaddr.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +000086 dplay.h \
Raphael Junqueirab351e882003-06-30 18:26:13 +000087 dplay8.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +000088 dplobby.h \
Robert Reife743e092003-04-29 22:49:52 +000089 dsconf.h \
Dimitrie O. Paun4d5f2912002-12-06 19:45:18 +000090 dsdriver.h \
Hidenori Takeshima64fa1412001-08-15 17:38:28 +000091 dshow.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +000092 dsound.h \
Raphael Junqueira675855d2004-04-15 04:56:51 +000093 dxdiag.h \
Robert Reif2e4105c2004-03-02 06:44:26 +000094 dxerr8.h \
95 dxerr9.h \
Christian Costaf1c1b6d2004-03-03 02:18:32 +000096 evcode.h \
Dimitrie O. Paun737d4be2002-12-12 23:34:01 +000097 excpt.h \
Patrik Stridvalld1447fa2002-11-19 00:47:12 +000098 fci.h \
99 fdi.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000100 guiddef.h \
Mike McCormacke5a11342004-01-08 00:40:22 +0000101 icm.h \
Alexandre Julliard27483682002-12-03 22:08:14 +0000102 icmpapi.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000103 imagehlp.h \
104 imm.h \
105 initguid.h \
Alexandre Julliard27483682002-12-03 22:08:14 +0000106 ipexport.h \
Juan Lang38fa5ad2003-05-13 03:32:20 +0000107 iphlpapi.h \
108 ipifcons.h \
109 iprtrmib.h \
110 iptypes.h \
Andriy Palamarchukb812c902002-09-11 02:35:17 +0000111 lm.h \
112 lmaccess.h \
113 lmapibuf.h \
Andriy Palamarchuk2693eb9a2002-09-23 20:36:50 +0000114 lmbrowsr.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000115 lmcons.h \
Andriy Palamarchukb812c902002-09-11 02:35:17 +0000116 lmerr.h \
Juan Lang159e0dc2004-03-01 21:18:49 +0000117 lmserver.h \
118 lmshare.h \
Geoff Thorpe23609d22003-09-11 03:09:19 +0000119 lmstats.h \
Andriy Palamarchukb812c902002-09-11 02:35:17 +0000120 lmwksta.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000121 lzexpand.h \
François Gouget3481e802000-12-13 21:28:57 +0000122 mapi.h \
Aric Stewart71a081c2002-01-29 18:10:53 +0000123 mapicode.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000124 mapidefs.h \
Jon Griffiths11b26f02004-04-23 23:28:04 +0000125 mapiguid.h \
126 mapitags.h \
127 mapiutil.h \
128 mapival.h \
129 mapix.h \
Eric Pouech26146cd2001-02-14 21:49:22 +0000130 mciavi.h \
Francois Gouget83804d22000-10-13 23:16:46 +0000131 mcx.h \
Hidenori Takeshimaae6075c2002-03-12 19:20:44 +0000132 mediaerr.h \
133 mediaobj.h \
Francois Gouget56539392001-05-07 20:14:00 +0000134 minmax.h \
Dimitrie O. Paun4d5f2912002-12-06 19:45:18 +0000135 mmddk.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000136 mmreg.h \
137 mmsystem.h \
138 msacm.h \
Eric Pouech28b8ac82001-01-04 20:58:05 +0000139 msacmdlg.h \
Alexandre Julliard32b1e672004-01-20 21:55:28 +0000140 msacmdrv.h \
Mike McCormack6386edc2003-08-13 01:27:48 +0000141 msi.h \
142 msiquery.h \
Patrik Stridvall1b32e5e2002-09-09 19:35:42 +0000143 mssip.h \
Francois Gougetac70c402002-05-22 01:51:41 +0000144 mswsock.h \
Mike McCormack2e40b962001-11-06 17:52:36 +0000145 nb30.h \
Dimitrie O. Paun4d5f2912002-12-06 19:45:18 +0000146 netspi.h \
Juan Lang2feebb42004-04-05 23:14:26 +0000147 npapi.h \
Stefan Leichter73db9002001-01-12 23:15:54 +0000148 nspapi.h \
Dimitrie O. Paun4d5f2912002-12-06 19:45:18 +0000149 ntddcdrm.h \
150 ntddscsi.h \
151 ntddstor.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000152 ntsecapi.h \
Francois Gougetde0f0152002-09-17 00:03:39 +0000153 ntstatus.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000154 objbase.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000155 ole2.h \
156 ole2ver.h \
157 oleauto.h \
158 olectl.h \
159 oledlg.h \
Patrik Stridvall5caddc72002-12-17 01:49:16 +0000160 pktdef.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000161 poppack.h \
162 prsht.h \
163 psapi.h \
164 pshpack1.h \
165 pshpack2.h \
166 pshpack4.h \
167 pshpack8.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000168 ras.h \
169 regstr.h \
170 richedit.h \
Andriy Palamarchuk3d8b1232002-08-09 19:51:49 +0000171 richole.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000172 rpc.h \
Francois Gouget552fddc2000-11-08 05:06:10 +0000173 rpcdce.h \
174 rpcdcep.h \
175 rpcndr.h \
Peter Hunnisett8cec3cff2001-07-11 20:19:06 +0000176 rpcnterr.h \
Ove Kaaven0dac9722001-10-14 16:15:37 +0000177 rpcproxy.h \
Ulrich Czekallafd5e8112003-11-11 22:03:24 +0000178 sddl.h \
James Hathewaycb655b02000-11-06 20:24:43 +0000179 setupapi.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000180 shellapi.h \
181 shlguid.h \
182 shlobj.h \
183 shlwapi.h \
Patrik Stridvall1b32e5e2002-09-09 19:35:42 +0000184 sipbase.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000185 sql.h \
186 sqlext.h \
187 sqltypes.h \
Juan Lang939d9ca2004-03-01 23:10:33 +0000188 sspi.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000189 storage.h \
Lionel Ulmer1fa96242003-06-13 18:06:44 +0000190 strmif.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000191 tapi.h \
Andriy Palamarchuk3e2887a2002-09-12 17:54:09 +0000192 tchar.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000193 tlhelp32.h \
Kevin Koltzau7ee18df2003-10-03 03:33:15 +0000194 tmschema.h \
Hidenori Takeshima64fa1412001-08-15 17:38:28 +0000195 uuids.h \
Kevin Koltzau0af4fb92003-10-04 03:48:11 +0000196 uxtheme.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000197 ver.h \
198 vfw.h \
Hidenori Takeshimaffb0d942001-08-22 18:20:36 +0000199 vfwmsgs.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000200 winbase.h \
201 wincon.h \
202 wincrypt.h \
Niels Kristian Bech Jensen37130801999-03-15 15:12:38 +0000203 windef.h \
James Juranc70dc831999-02-13 12:18:33 +0000204 windows.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000205 windowsx.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000206 winerror.h \
James Juranc70dc831999-02-13 12:18:33 +0000207 wingdi.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000208 wininet.h \
209 winioctl.h \
210 winnetwk.h \
211 winnls.h \
212 winnt.h \
213 winreg.h \
Alexandre Julliard12070e12001-07-20 17:59:28 +0000214 winres.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000215 winresrc.h \
216 winsock.h \
217 winsock2.h \
218 winspool.h \
219 winsvc.h \
Patrik Stridvall5caddc72002-12-17 01:49:16 +0000220 wintab.h \
221 wintabx.h \
Patrik Stridvalleba96492002-09-10 00:33:34 +0000222 winternl.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000223 winuser.h \
224 winver.h \
Alexandre Julliard83f52d12000-09-26 22:20:14 +0000225 wnaspi32.h \
Alexandre Julliard1c359752000-08-09 00:53:22 +0000226 wownt32.h \
Patrik Stridvalle668a9d2001-10-09 21:48:22 +0000227 ws2spi.h \
Francois Gouget27202312001-11-14 21:26:23 +0000228 ws2tcpip.h \
Stefan Leichter73db9002001-01-12 23:15:54 +0000229 wshisotp.h \
230 wsipx.h \
Chris Morgan8aeb4632004-05-01 02:39:33 +0000231 xcmc.h \
Alexandre Julliarded2f8fc2002-12-03 23:36:05 +0000232 zmouse.h \
Robert Shearman7c8b85a2003-06-30 20:24:52 +0000233 $(IDL_INCLUDES) \
Alexandre Julliardaa89ecc2003-04-11 00:38:56 +0000234 $(IDL_SRCS) \
Alexandre Julliarded2f8fc2002-12-03 23:36:05 +0000235 $(IDL_SRCS:.idl=.h)
James Juranc70dc831999-02-13 12:18:33 +0000236
Dimitrie O. Pauncaa603f2002-12-03 21:34:44 +0000237MSVCRT_INCLUDES = \
238 msvcrt/conio.h \
239 msvcrt/crtdbg.h \
240 msvcrt/ctype.h \
241 msvcrt/direct.h \
Dimitrie O. Paun4d28cc82003-01-11 20:54:06 +0000242 msvcrt/dirent.h \
Dimitrie O. Pauncaa603f2002-12-03 21:34:44 +0000243 msvcrt/dos.h \
244 msvcrt/eh.h \
245 msvcrt/errno.h \
Dimitrie O. Pauncaa603f2002-12-03 21:34:44 +0000246 msvcrt/fcntl.h \
Hans Leidekker285ad722004-03-12 19:47:20 +0000247 msvcrt/float.h \
Dimitrie O. Pauncaa603f2002-12-03 21:34:44 +0000248 msvcrt/io.h \
Vincent Bérondc7c2e42003-09-02 00:58:21 +0000249 msvcrt/limits.h \
Dimitrie O. Pauncaa603f2002-12-03 21:34:44 +0000250 msvcrt/locale.h \
251 msvcrt/malloc.h \
Vincent Bérondc7c2e42003-09-02 00:58:21 +0000252 msvcrt/math.h \
Dimitrie O. Pauncaa603f2002-12-03 21:34:44 +0000253 msvcrt/mbctype.h \
254 msvcrt/mbstring.h \
255 msvcrt/process.h \
256 msvcrt/search.h \
257 msvcrt/setjmp.h \
258 msvcrt/share.h \
259 msvcrt/stddef.h \
260 msvcrt/stdio.h \
261 msvcrt/stdlib.h \
262 msvcrt/string.h \
263 msvcrt/sys/locking.h \
264 msvcrt/sys/stat.h \
265 msvcrt/sys/timeb.h \
266 msvcrt/sys/types.h \
Dimitrie O. Paun651f32f2003-01-10 01:47:48 +0000267 msvcrt/sys/unistd.h \
Dimitrie O. Pauncaa603f2002-12-03 21:34:44 +0000268 msvcrt/sys/utime.h \
269 msvcrt/time.h \
Dimitrie O. Paun651f32f2003-01-10 01:47:48 +0000270 msvcrt/unistd.h \
Dimitrie O. Pauncaa603f2002-12-03 21:34:44 +0000271 msvcrt/wchar.h \
272 msvcrt/wctype.h
273
274WINE_INCLUDES = \
275 debug.h \
276 exception.h \
Dimitrie O. Pauncaa603f2002-12-03 21:34:44 +0000277 library.h \
Dimitrie O. Pauncaa603f2002-12-03 21:34:44 +0000278 unicode.h
279
Dimitrie O. Paun573b3892003-12-08 21:44:24 +0000280EXTRASUBDIRS = msvcrt msvcrt/sys wine
Alexandre Julliardc53ceba2000-04-09 18:19:59 +0000281
James Juranc70dc831999-02-13 12:18:33 +0000282@MAKE_RULES@
283
Alexandre Julliarded2f8fc2002-12-03 23:36:05 +0000284.SUFFIXES: .idl .h
285
286.idl.h:
Alexandre Julliard16cd8612003-09-24 19:01:44 +0000287 $(WIDL) $(IDLFLAGS) -b -h -H $@ $<
Alexandre Julliarded2f8fc2002-12-03 23:36:05 +0000288
Alexandre Julliardd1d5d422003-01-09 01:09:16 +0000289.PHONY: idl
290
291idl: $(IDL_SRCS:.idl=.h)
292
Alexandre Julliard318f4ce2000-01-31 05:02:49 +0000293install::
Dimitrie O. Pauncaa603f2002-12-03 21:34:44 +0000294 $(MKINSTALLDIRS) $(includedir) $(includedir)/windows $(includedir)/msvcrt $(includedir)/msvcrt/sys
295 for f in $(WINDOWS_INCLUDES); do $(INSTALL_DATA) $(SRCDIR)/$$f $(includedir)/windows/$$f; done
296 for f in $(MSVCRT_INCLUDES); do $(INSTALL_DATA) $(SRCDIR)/$$f $(includedir)/$$f; done
297 for f in $(WINE_INCLUDES); do $(INSTALL_DATA) $(SRCDIR)/wine/$$f $(includedir)/$$f; done
James Juranc70dc831999-02-13 12:18:33 +0000298
Alexandre Julliard7cae5582002-06-01 02:55:48 +0000299# Don't just do a rm -rf on $(includedir) -- don't want to wipe out
James Juranc70dc831999-02-13 12:18:33 +0000300# anything extra the user may have put there.
301uninstall::
Dimitrie O. Pauncaa603f2002-12-03 21:34:44 +0000302 [ -d $(includedir)/windows ] && cd $(includedir)/windows && $(RM) $(WINDOWS_INCLUDES) || true
303 [ -d $(includedir) ] && cd $(includedir) && $(RM) $(MSVCRT_INCLUDES) $(WINE_INCLUDES) || true
304 -rmdir $(includedir)/msvcrt/sys $(includedir)/msvcrt $(includedir)/windows $(includedir)
James Juranc70dc831999-02-13 12:18:33 +0000305
James Juranc70dc831999-02-13 12:18:33 +0000306### Dependencies: