Makefile.in 4.78 KB
Newer Older
1 2 3 4 5 6
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ..
SRCDIR    = @srcdir@
VPATH	  = @srcdir@
MODULE	  = none

7
IDL_SRCS = \
8
	activscp.idl \
9
	amstream.idl \
10
	amvideo.idl \
11
	austream.idl \
12
	comcat.idl \
13
	ddstream.idl \
14
	dispex.idl \
15
	docobj.idl \
16
	exdisp.idl \
17
	mlang.idl \
18
	mmstream.idl \
19
	oaidl.idl \
20
	objidl.idl \
21
	ocidl.idl \
22
	oleidl.idl \
23
	propidl.idl \
24
	pstore.idl \
25
	servprov.idl \
26
	shldisp.idl \
27 28
	shobjidl.idl \
	shtypes.idl \
Robert Shearman's avatar
Robert Shearman committed
29
	strmif.idl \
30
	unknwn.idl \
31
	urlmon.idl \
32 33
	wtypes.idl

Robert Shearman's avatar
Robert Shearman committed
34 35 36 37 38 39
IDL_INCLUDES = \
	axcore.idl \
	axextend.idl \
	devenum.idl \
	dyngraph.idl

40
WINDOWS_INCLUDES = \
41
	accctrl.h \
42
	aclapi.h \
43
	audevcod.h \
44
	aviriff.h \
45 46
	basetsd.h \
	cderr.h \
Peter Hunnisett's avatar
Peter Hunnisett committed
47
	cguid.h \
48 49 50
	commctrl.h \
	commdlg.h \
	compobj.h \
51
	control.h \
52
	cpl.h \
53
	custcntl.h \
54
	cvconst.h \
55
	d3d.h \
56 57 58
	d3d8.h \
	d3d8caps.h \
	d3d8types.h \
Raphael Junqueira's avatar
Raphael Junqueira committed
59 60 61
	d3d9.h \
	d3d9caps.h \
	d3d9types.h \
62
	d3dcaps.h \
63
	d3dhal.h \
64
	d3dtypes.h \
65
	d3dvec.inl \
Raphael Junqueira's avatar
Raphael Junqueira committed
66
	d3dx8core.h \
Eric Pouech's avatar
Eric Pouech committed
67
	dbghelp.h \
Ulrich Czekalla's avatar
Ulrich Czekalla committed
68
	dbt.h \
69 70 71
	dde.h \
	ddeml.h \
	ddraw.h \
72
	ddrawi.h \
73
	devguid.h \
74 75 76 77
	digitalv.h \
	dinput.h \
	dispdib.h \
	dlgs.h \
78
	dls1.h \
79
	dls2.h \
80 81
	dmdls.h \
	dmerror.h \
82 83 84
	dmo.h \
	dmoreg.h \
	dmort.h \
85
	dmplugin.h \
86 87
	dmusbuff.h \
	dmusicc.h \
88 89 90
	dmusicf.h \
	dmusici.h \
	dmusics.h \
91
	dpaddr.h \
92
	dplay.h \
93
	dplay8.h \
94
	dplobby.h \
95
	dsconf.h \
96
	dsdriver.h \
97
	dshow.h \
98
	dsound.h \
99
	dxdiag.h \
100 101
	dxerr8.h \
	dxerr9.h \
102
	dxfile.h \
103
	evcode.h \
104
	excpt.h \
105 106
	fci.h \
	fdi.h \
107
	guiddef.h \
Jacek Caban's avatar
Jacek Caban committed
108
	htmlhelp.h \
109
	icm.h \
110
	icmpapi.h \
111 112 113
	imagehlp.h \
	imm.h \
	initguid.h \
114
	ipexport.h \
115 116 117 118
	iphlpapi.h \
	ipifcons.h \
	iprtrmib.h \
	iptypes.h \
119 120 121
	ks.h \
	ksguid.h \
	ksmedia.h \
122 123 124
	lm.h \
	lmaccess.h \
	lmapibuf.h \
125
	lmbrowsr.h \
126
	lmcons.h \
127
	lmerr.h \
128 129
	lmserver.h \
	lmshare.h \
130
	lmstats.h \
131
	lmwksta.h \
132
	lzexpand.h \
133
	mapi.h \
Aric Stewart's avatar
Aric Stewart committed
134
	mapicode.h \
135
	mapidefs.h \
Jon Griffiths's avatar
Jon Griffiths committed
136 137 138 139 140
	mapiguid.h \
	mapitags.h \
	mapiutil.h \
	mapival.h \
	mapix.h \
141
	mciavi.h \
142
	mcx.h \
143 144
	mediaerr.h \
	mediaobj.h \
145
	minmax.h \
146
	mmddk.h \
147 148 149
	mmreg.h \
	mmsystem.h \
	msacm.h \
Eric Pouech's avatar
Eric Pouech committed
150
	msacmdlg.h \
151
	msacmdrv.h \
152 153
	msi.h \
	msiquery.h \
154
	mssip.h \
155
	mswsock.h \
156
	nb30.h \
157
	netspi.h \
158
	npapi.h \
159
	nspapi.h \
160 161 162
	ntddcdrm.h \
	ntddscsi.h \
	ntddstor.h \
163
	ntsecapi.h \
164
	ntstatus.h \
165 166 167 168 169 170
	objbase.h \
	ole2.h \
	ole2ver.h \
	oleauto.h \
	olectl.h \
	oledlg.h \
171
	pktdef.h \
172 173 174 175 176 177 178 179 180 181
	poppack.h \
	prsht.h \
	psapi.h \
	pshpack1.h \
	pshpack2.h \
	pshpack4.h \
	pshpack8.h \
	ras.h \
	regstr.h \
	richedit.h \
182
	richole.h \
183
	rpc.h \
184 185 186
	rpcdce.h \
	rpcdcep.h \
	rpcndr.h \
187
	rpcnterr.h \
Ove Kaaven's avatar
Ove Kaaven committed
188
	rpcproxy.h \
189
	schemadef.h \
190
	sddl.h \
Mike McCormack's avatar
Mike McCormack committed
191
	secext.h \
192
	setupapi.h \
193 194 195 196
	shellapi.h \
	shlguid.h \
	shlobj.h \
	shlwapi.h \
197
	sipbase.h \
198 199 200
	sql.h \
	sqlext.h \
	sqltypes.h \
Juan Lang's avatar
Juan Lang committed
201
	sspi.h \
202
	storage.h \
203
	strmif.h \
204
	tapi.h \
Andriy Palamarchuk's avatar
Andriy Palamarchuk committed
205
	tchar.h \
206
	tlhelp32.h \
207
	tmschema.h \
208
	uuids.h \
209
	uxtheme.h \
210 211
	ver.h \
	vfw.h \
212
	vfwmsgs.h \
213 214 215
	winbase.h \
	wincon.h \
	wincrypt.h \
216
	windef.h \
217
	windows.h \
218 219
	windowsx.h \
	winerror.h \
220
	wingdi.h \
221 222 223 224 225 226
	wininet.h \
	winioctl.h \
	winnetwk.h \
	winnls.h \
	winnt.h \
	winreg.h \
227
	winres.h \
228 229 230 231 232
	winresrc.h \
	winsock.h \
	winsock2.h \
	winspool.h \
	winsvc.h \
233 234
	wintab.h \
	wintabx.h \
235
	winternl.h \
236 237
	winuser.h \
	winver.h \
238
	wnaspi32.h \
239
	wownt32.h \
240
	ws2spi.h \
241
	ws2tcpip.h \
242 243
	wshisotp.h \
	wsipx.h \
244
	wsnwlink.h \
245
	xcmc.h \
246
	zmouse.h \
Robert Shearman's avatar
Robert Shearman committed
247
	$(IDL_INCLUDES) \
248
	$(IDL_SRCS) \
249
	$(IDL_SRCS:.idl=.h)
250

251 252 253 254 255
MSVCRT_INCLUDES = \
	msvcrt/conio.h \
	msvcrt/crtdbg.h \
	msvcrt/ctype.h \
	msvcrt/direct.h \
256
	msvcrt/dirent.h \
257 258 259 260
	msvcrt/dos.h \
	msvcrt/eh.h \
	msvcrt/errno.h \
	msvcrt/fcntl.h \
261
	msvcrt/float.h \
262
	msvcrt/io.h \
263
	msvcrt/limits.h \
264 265
	msvcrt/locale.h \
	msvcrt/malloc.h \
266
	msvcrt/math.h \
267 268 269 270 271 272 273 274 275 276 277 278 279 280
	msvcrt/mbctype.h \
	msvcrt/mbstring.h \
	msvcrt/process.h \
	msvcrt/search.h \
	msvcrt/setjmp.h \
	msvcrt/share.h \
	msvcrt/stddef.h \
	msvcrt/stdio.h \
	msvcrt/stdlib.h \
	msvcrt/string.h \
	msvcrt/sys/locking.h \
	msvcrt/sys/stat.h \
	msvcrt/sys/timeb.h \
	msvcrt/sys/types.h \
281
	msvcrt/sys/unistd.h \
282 283
	msvcrt/sys/utime.h \
	msvcrt/time.h \
284
	msvcrt/unistd.h \
285 286 287 288 289 290 291 292 293
	msvcrt/wchar.h \
	msvcrt/wctype.h

WINE_INCLUDES = \
	debug.h \
	exception.h \
	library.h \
	unicode.h

294
EXTRASUBDIRS = msvcrt msvcrt/sys wine
295

296 297
@MAKE_RULES@

298 299 300
.SUFFIXES: .idl .h

.idl.h:
301
	$(WIDL) $(IDLFLAGS) -b -h -H $@ $<
302

303 304
idl: $(IDL_SRCS:.idl=.h)

305
install::
306 307 308 309
	$(MKINSTALLDIRS) $(includedir) $(includedir)/windows $(includedir)/msvcrt $(includedir)/msvcrt/sys
	for f in $(WINDOWS_INCLUDES); do $(INSTALL_DATA) $(SRCDIR)/$$f $(includedir)/windows/$$f; done
	for f in $(MSVCRT_INCLUDES); do $(INSTALL_DATA) $(SRCDIR)/$$f $(includedir)/$$f; done
	for f in $(WINE_INCLUDES); do $(INSTALL_DATA) $(SRCDIR)/wine/$$f $(includedir)/$$f; done
310

311
# Don't just do a rm -rf on $(includedir) -- don't want to wipe out
312 313
# anything extra the user may have put there.
uninstall::
314 315 316
	[ -d $(includedir)/windows ] && cd $(includedir)/windows && $(RM) $(WINDOWS_INCLUDES) || true
	[ -d $(includedir) ] && cd $(includedir) && $(RM) $(MSVCRT_INCLUDES) $(WINE_INCLUDES) || true
	-rmdir $(includedir)/msvcrt/sys $(includedir)/msvcrt $(includedir)/windows $(includedir)
317 318

### Dependencies: