Makefile.in 10.6 KB
Newer Older
1
PRIVATE_IDL_H_SRCS = \
2
	wine/winedxgi.idl
3 4

PUBLIC_IDL_H_SRCS = \
5
	activaut.idl \
6
	activdbg.idl \
7
	activscp.idl \
8
	amstream.idl \
9
	amvideo.idl \
10
	asptlb.idl \
11
	atliface.idl \
12
	audioclient.idl \
13
	audiopolicy.idl \
14
	austream.idl \
15
	bdaiface.idl \
16
	bits.idl \
17
	bits1_5.idl \
18
	bits3_0.idl \
19
	comcat.idl \
20
	commoncontrols.idl \
21
	control.idl \
22
	cor.idl \
23
	cordebug.idl \
24
	ctfutb.idl \
25
	ctxtcall.idl \
26
	d2d1.idl \
27
	d3d10.idl \
28
	d3d10_1.idl \
29
	d3d11.idl \
30
	d3d11_1.idl \
31
	d3d11sdklayers.idl \
32
	d3dcommon.idl \
33
	ddstream.idl \
34
	devicetopology.idl \
Jacek Caban's avatar
Jacek Caban committed
35
	dimm.idl \
36
	dispex.idl \
37
	docobj.idl \
38
	docobjectservice.idl \
Jacek Caban's avatar
Jacek Caban committed
39
	downloadmgr.idl \
40
	dwrite.idl \
41
	dwrite_1.idl \
42
	dwrite_2.idl \
43
	dxgi.idl \
44
	dxgi1_2.idl \
45
	dxva2api.idl \
46
	endpointvolume.idl \
47
	exdisp.idl \
48
	fusion.idl \
49
	gameux.idl \
Jacek Caban's avatar
Jacek Caban committed
50
	hlink.idl \
51
	hstring.idl \
52
	htiface.idl \
53
	htiframe.idl \
54
	httprequest.idl \
55
	iads.idl \
56
	icftypes.idl \
57
	iextag.idl \
58 59
	imnact.idl \
	imnxport.idl \
60
	indexsrv.idl \
61
	inputscope.idl \
62
	inseng.idl \
63
	mediaobj.idl \
64
	metahost.idl \
65
	mimeinfo.idl \
Rob Shearman's avatar
Rob Shearman committed
66
	mimeole.idl \
67
	mlang.idl \
68
	mmc.idl \
69
	mmdeviceapi.idl \
70
	mmstream.idl \
71
	mscoree.idl \
72
	msctf.idl \
Huw Davies's avatar
Huw Davies committed
73
	msdadc.idl \
74
	msdasc.idl \
Jacek Caban's avatar
Jacek Caban committed
75
	mshtmhst.idl \
Jacek Caban's avatar
Jacek Caban committed
76
	mshtml.idl \
77
	msident.idl \
78
	msinkaut.idl \
79
	mstask.idl \
Mike McCormack's avatar
Mike McCormack committed
80
	msxml.idl \
Vijay Kiran Kamuju's avatar
Vijay Kiran Kamuju committed
81
	msxml2.idl \
82
	msxml6.idl \
83
	netcfgx.idl \
Jacek Caban's avatar
Jacek Caban committed
84
	netcon.idl \
85
	netfw.idl \
86
	netlistmgr.idl \
87
	oaidl.idl \
88
	objectarray.idl \
89
	objidl.idl \
90
	objsafe.idl \
91
	ocidl.idl \
92
	ocmm.idl \
93
	oleacc.idl \
94
	oledb.idl \
95
	oleidl.idl \
96
	optary.idl \
97
	perhist.idl \
98
	propidl.idl \
99
	propsys.idl \
100
	pstore.idl \
101
	qedit.idl \
102
	richole.idl \
103
	sensevts.idl \
104
	servprov.idl \
105
	shdeprecated.idl \
106
	shldisp.idl \
107 108
	shobjidl.idl \
	shtypes.idl \
Robert Shearman's avatar
Robert Shearman committed
109
	strmif.idl \
110
	structuredquerycondition.idl \
111
	taskschd.idl \
112
	textstor.idl \
113
	tlogstg.idl \
114
	tom.idl \
115
	transact.idl \
116 117
	txcoord.idl \
	txdtc.idl \
118
	uiautomationclient.idl \
119
	uiautomationcore.idl \
120
	unknwn.idl \
121
	urlhist.idl \
122
	urlmon.idl \
123
	vmr9.idl \
124
	vss.idl \
125
	wbemcli.idl \
126
	wbemdisp.idl \
127
	wbemprov.idl \
128 129
	wia_lh.idl \
	wia_xp.idl \
130
	wincodec.idl \
131
	wincodecsdk.idl \
132
	wine/itss.idl \
133
	wine/svcctl.idl \
134
	winsxs.idl \
135
	wmiutils.idl \
Jacek Caban's avatar
Jacek Caban committed
136
	wmp.idl \
137 138
	wmsbuffer.idl \
	wmsdkidl.idl \
Jacek Caban's avatar
Jacek Caban committed
139
	wpcapi.idl \
140
	wtypes.idl \
141
	wuapi.idl \
Mark Harmstone's avatar
Mark Harmstone committed
142
	xaudio2.idl \
143
	xmllite.idl
144

145 146 147
IDL_TLB_SRCS = \
	stdole2.idl

148 149 150
XTEMPLATE_SRCS = \
	rmxftmpl.x

151
SRCDIR_INCLUDES = \
152
	$(IDL_TLB_SRCS) \
153
	$(PUBLIC_IDL_H_SRCS) \
154
	$(XTEMPLATE_SRCS) \
155
	accctrl.h \
Huw Davies's avatar
Huw Davies committed
156
	access.idl \
157
	aclapi.h \
Nikolay Sivov's avatar
Nikolay Sivov committed
158
	aclui.h \
159
	adshlp.h \
160
	advpub.h \
Juan Lang's avatar
Juan Lang committed
161
	af_irda.h \
162
	amaudio.h \
163
	appcompatapi.h \
164
	appmgmt.h \
Huw Davies's avatar
Huw Davies committed
165
	asynot.idl \
Huw Davies's avatar
Huw Davies committed
166
	asysta.idl \
167
	atlbase.h \
Qian Hong's avatar
Qian Hong committed
168
	atlcom.h \
169
	atlwin.h \
170
	audevcod.h \
171
	audiosessiontypes.h \
172
	aviriff.h \
173
	avrt.h \
174 175
	axcore.idl \
	axextend.idl \
176
	basetsd.h \
177
	basetyps.h \
178
	bcrypt.h \
179 180
	bdaiface_enums.h \
	bdatypes.h \
Huw Davies's avatar
Huw Davies committed
181
	binres.idl \
182
	bitsmsg.h \
183
	cderr.h \
184
	cfgmgr32.h \
Peter Hunnisett's avatar
Peter Hunnisett committed
185
	cguid.h \
186
	chprst.idl \
Mike McCormack's avatar
Mike McCormack committed
187
	cierror.h \
188
	clusapi.h \
Huw Davies's avatar
Huw Davies committed
189
	cmdbas.idl \
Huw Davies's avatar
Huw Davies committed
190
	cmdtxt.idl \
191
	commctrl.h \
192
	commctrl.rh \
193 194
	commdlg.h \
	compobj.h \
James Hawkins's avatar
James Hawkins committed
195
	corerror.h \
196
	corhdr.h \
197
	cpl.h \
Huw Davies's avatar
Huw Davies committed
198
	crtrow.idl \
Juan Lang's avatar
Juan Lang committed
199
	cryptdlg.h \
Juan Lang's avatar
Juan Lang committed
200
	cryptuiapi.h \
201
	custcntl.h \
202
	cvconst.h \
203
	d2dbasetypes.h \
204
	d2derr.h \
205
	d3d.h \
206
	d3d10_1shader.h \
207
	d3d10effect.h \
208
	d3d10misc.h \
209
	d3d10shader.h \
210
	d3d11shader.h \
211 212 213
	d3d8.h \
	d3d8caps.h \
	d3d8types.h \
Raphael Junqueira's avatar
Raphael Junqueira committed
214 215 216
	d3d9.h \
	d3d9caps.h \
	d3d9types.h \
217
	d3dcaps.h \
218
	d3dcompiler.h \
219
	d3dhal.h \
220
	d3drm.h \
221
	d3drmdef.h \
222
	d3drmobj.h \
223
	d3drmwin.h \
224
	d3dtypes.h \
225
	d3dvec.inl \
226
	d3dx9.h \
227
	d3dx9anim.h \
228
	d3dx9core.h \
229
	d3dx9effect.h \
230 231
	d3dx9math.h \
	d3dx9math.inl \
232
	d3dx9mesh.h \
233
	d3dx9shader.h \
234
	d3dx9shape.h \
Tony Wasserka's avatar
Tony Wasserka committed
235
	d3dx9tex.h \
236
	d3dx9xof.h \
Huw Davies's avatar
Huw Davies committed
237
	dbccmd.idl \
Huw Davies's avatar
Huw Davies committed
238
	dbcses.idl \
Huw Davies's avatar
Huw Davies committed
239
	dbdsad.idl \
Eric Pouech's avatar
Eric Pouech committed
240
	dbghelp.h \
241 242 243
	dbinit.idl \
	dbprop.idl \
	dbs.idl \
Ulrich Czekalla's avatar
Ulrich Czekalla committed
244
	dbt.h \
245 246
	dciddi.h \
	dciman.h \
247
	dcommon.h \
248
	dde.h \
249
	dde.rh \
250
	ddeml.h \
251
	ddk/compstui.h \
Austin English's avatar
Austin English committed
252
	ddk/csq.h \
253
	ddk/hidsdi.h \
254
	ddk/imm.h \
255
	ddk/mountmgr.h \
256
	ddk/ntddcdvd.h \
257
	ddk/ntddk.h \
258
	ddk/ntddser.h \
259
	ddk/ntddtape.h \
260
	ddk/ntifs.h \
261 262 263 264
	ddk/usb.h \
	ddk/usb100.h \
	ddk/usb200.h \
	ddk/usbdlib.h \
265
	ddk/usbioctl.h \
266
	ddk/usbiodef.h \
Ivan Leo Puoti's avatar
Ivan Leo Puoti committed
267
	ddk/wdm.h \
268
	ddk/winddiui.h \
269
	ddk/winsplp.h \
270
	ddraw.h \
271
	ddrawgdi.h \
272
	ddrawi.h \
273
	delayloadhandler.h \
274
	devenum.idl \
275
	devguid.h \
276
	devpkey.h \
277
	devpropdef.h \
278
	difxapi.h \
279 280
	digitalv.h \
	dinput.h \
281
	dinputd.h \
282 283
	dispdib.h \
	dlgs.h \
284
	dls1.h \
285
	dls2.h \
286 287
	dmdls.h \
	dmerror.h \
288
	dmksctrl.h \
289 290 291
	dmo.h \
	dmoreg.h \
	dmort.h \
292
	dmplugin.h \
293 294
	dmusbuff.h \
	dmusicc.h \
295 296 297
	dmusicf.h \
	dmusici.h \
	dmusics.h \
298
	dpaddr.h \
299
	dplay.h \
300
	dplay8.h \
301
	dplobby.h \
302
	dplobby8.h \
303
	dpnathlp.h \
304
	dsconf.h \
Robert Reif's avatar
Robert Reif committed
305
	dsgetdc.h \
306
	dshow.h \
307
	dsound.h \
308
	dsrole.h \
309
	dvdmedia.h \
310
	dvoice.h \
311
	dwmapi.h \
312
	dxdiag.h \
313 314
	dxerr8.h \
	dxerr9.h \
315
	dxfile.h \
316
	dxgiformat.h \
317
	dxgitype.h \
318
	dyngraph.idl \
319
	errorrep.h \
320
	errors.h \
321
	errrec.idl \
322
	evcode.h \
323
	evntprov.h \
324
	evntrace.h \
325
	excpt.h \
326
	exdispid.h \
327 328
	fci.h \
	fdi.h \
329
	fileapi.h \
330
	fltdefs.h \
331
	gdiplus.h \
332
	gdipluscolor.h \
333
	gdipluscolormatrix.h \
334 335 336
	gdiplusenums.h \
	gdiplusflat.h \
	gdiplusgpstubs.h \
337
	gdiplusimaging.h \
338 339
	gdiplusinit.h \
	gdiplusmem.h \
340
	gdiplusmetaheader.h \
341 342
	gdipluspixelformats.h \
	gdiplustypes.h \
343
	guiddef.h \
344
	hidusage.h \
345
	highlevelmonitorconfigurationapi.h \
346
	hlguids.h \
Jacek Caban's avatar
Jacek Caban committed
347
	htmlhelp.h \
348
	http.h \
349
	httprequestid.h \
350
	i_cryptasn1tls.h \
351
	icm.h \
352
	icmpapi.h \
Mike McCormack's avatar
Mike McCormack committed
353
	idispids.h \
Juan Lang's avatar
Juan Lang committed
354
	ifdef.h \
355
	ifmib.h \
356 357
	imagehlp.h \
	imm.h \
358
	in6addr.h \
359
	inaddr.h \
360
	initguid.h \
361
	intshcut.h \
362
	ipexport.h \
363 364
	iphlpapi.h \
	ipifcons.h \
365
	ipmib.h \
366 367
	iprtrmib.h \
	iptypes.h \
Jacek Caban's avatar
Jacek Caban committed
368
	isguids.h \
369
	knownfolders.h \
370 371 372
	ks.h \
	ksguid.h \
	ksmedia.h \
373
	ksuuids.h \
374 375 376
	lm.h \
	lmaccess.h \
	lmapibuf.h \
Louis Lenders's avatar
Louis Lenders committed
377
	lmat.h \
378
	lmbrowsr.h \
379
	lmcons.h \
380
	lmerr.h \
381
	lmjoin.h \
Robert Reif's avatar
Robert Reif committed
382
	lmmsg.h \
383 384
	lmserver.h \
	lmshare.h \
385
	lmstats.h \
386
	lmuse.h \
387
	lmuseflg.h \
388
	lmwksta.h \
389
	loadperf.h \
390
	lowlevelmonitorconfigurationapi.h \
391
	lzexpand.h \
392
	mapi.h \
Aric Stewart's avatar
Aric Stewart committed
393
	mapicode.h \
394
	mapidefs.h \
395
	mapiform.h \
Jon Griffiths's avatar
Jon Griffiths committed
396 397 398 399 400
	mapiguid.h \
	mapitags.h \
	mapiutil.h \
	mapival.h \
	mapix.h \
401
	mciavi.h \
402
	mcx.h \
403
	mediaerr.h \
404
	mfapi.h \
405
	mferror.h \
406
	midles.h \
407
	minmax.h \
408
	mmddk.h \
409 410
	mmreg.h \
	mmsystem.h \
411
	mprapi.h \
412
	mprerror.h \
413
	msacm.h \
Eric Pouech's avatar
Eric Pouech committed
414
	msacmdlg.h \
415
	msacmdrv.h \
416
	msasn1.h \
417
	mscat.h \
Huw Davies's avatar
Huw Davies committed
418
	msdaguid.h \
Jacek Caban's avatar
Jacek Caban committed
419
	mshtmcid.h \
Jacek Caban's avatar
Jacek Caban committed
420
	mshtmdid.h \
421
	msi.h \
422
	msidefs.h \
423
	msiquery.h \
424
	mssip.h \
425
	mstcpip.h \
426
	msvcrt/assert.h \
427 428
	msvcrt/conio.h \
	msvcrt/crtdbg.h \
429
	msvcrt/crtdefs.h \
430 431 432 433 434 435 436 437 438 439 440 441 442 443 444
	msvcrt/ctype.h \
	msvcrt/direct.h \
	msvcrt/dirent.h \
	msvcrt/dos.h \
	msvcrt/eh.h \
	msvcrt/errno.h \
	msvcrt/fcntl.h \
	msvcrt/float.h \
	msvcrt/io.h \
	msvcrt/limits.h \
	msvcrt/locale.h \
	msvcrt/malloc.h \
	msvcrt/math.h \
	msvcrt/mbctype.h \
	msvcrt/mbstring.h \
445
	msvcrt/memory.h \
446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464
	msvcrt/process.h \
	msvcrt/search.h \
	msvcrt/setjmp.h \
	msvcrt/share.h \
	msvcrt/signal.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 \
	msvcrt/sys/unistd.h \
	msvcrt/sys/utime.h \
	msvcrt/time.h \
	msvcrt/unistd.h \
	msvcrt/wchar.h \
	msvcrt/wctype.h \
465
	mswsock.h \
466
	msxml2did.h \
467
	msxml6did.h \
Mike McCormack's avatar
Mike McCormack committed
468
	msxmldid.h \
469
	nb30.h \
470
	ndrtypes.h \
471
	nldef.h \
472
	npapi.h \
473
	nspapi.h \
474
	ntddcdrm.h \
Jacek Caban's avatar
Jacek Caban committed
475
	ntddndis.h \
476 477
	ntddscsi.h \
	ntddstor.h \
478
	ntdef.h \
479
	ntdsapi.h \
Mike McCormack's avatar
Mike McCormack committed
480
	ntquery.h \
481
	ntsecapi.h \
482
	ntsecpkg.h \
483
	ntstatus.h \
484
	objbase.h \
485
	objsel.h \
Mike McCormack's avatar
Mike McCormack committed
486
	odbcinst.h \
487 488 489 490
	ole2.h \
	ole2ver.h \
	oleauto.h \
	olectl.h \
Huw Davies's avatar
Huw Davies committed
491
	oledberr.h \
492
	oledlg.h \
Huw Davies's avatar
Huw Davies committed
493
	opnrst.idl \
494
	patchapi.h \
495 496
	pdh.h \
	pdhmsg.h \
497
	physicalmonitorenumerationapi.h \
498
	pktdef.h \
499
	poppack.h \
500
	powrprof.h \
501
	profinfo.h \
502
	propkey.h \
503
	propkeydef.h \
504
	propvarutil.h \
505 506 507 508 509 510 511
	prsht.h \
	psapi.h \
	pshpack1.h \
	pshpack2.h \
	pshpack4.h \
	pshpack8.h \
	ras.h \
512
	rasdlg.h \
513
	raserror.h \
514
	reason.h \
515
	regstr.h \
516
	restartmanager.h \
517
	richedit.h \
518
	rmxfguid.h \
519
	roapi.h \
Huw Davies's avatar
Huw Davies committed
520
	row.idl \
Huw Davies's avatar
Huw Davies committed
521
	rowchg.idl \
522
	rowpos.idl \
523
	rowpsc.idl \
524
	rpc.h \
525
	rpcasync.h \
526 527 528
	rpcdce.h \
	rpcdcep.h \
	rpcndr.h \
529
	rpcnterr.h \
Ove Kaaven's avatar
Ove Kaaven committed
530
	rpcproxy.h \
531
	rpcsal.h \
Huw Davies's avatar
Huw Davies committed
532
	rstbas.idl \
Huw Davies's avatar
Huw Davies committed
533
	rstinf.idl \
Huw Davies's avatar
Huw Davies committed
534
	rstloc.idl \
535
	rstnot.idl \
536
	rtutils.h \
537
	scarderr.h \
Juan Lang's avatar
Juan Lang committed
538
	schannel.h \
539
	schemadef.h \
Juan Lang's avatar
Juan Lang committed
540
	schnlsp.h \
541
	sddl.h \
Mike McCormack's avatar
Mike McCormack committed
542
	secext.h \
Peter Lemenkov's avatar
Peter Lemenkov committed
543
	security.h \
544
	sensapi.h \
Huw Davies's avatar
Huw Davies committed
545
	sesprp.idl \
546
	setupapi.h \
Detlef Riekenberg's avatar
Detlef Riekenberg committed
547
	sfc.h \
548
	shdispid.h \
549 550 551 552
	shellapi.h \
	shlguid.h \
	shlobj.h \
	shlwapi.h \
553
	sipbase.h \
554 555
	slerror.h \
	slpublic.h \
Juan Lang's avatar
Juan Lang committed
556
	snmp.h \
Mike McCormack's avatar
Mike McCormack committed
557
	softpub.h \
558 559 560
	sql.h \
	sqlext.h \
	sqltypes.h \
561
	srcrst.idl \
562
	srrestoreptapi.h \
Juan Lang's avatar
Juan Lang committed
563
	sspi.h \
564
	sti.h \
565
	storage.h \
566
	strsafe.h \
567
	svrapi.h \
568
	t2embapi.h \
569
	tapi.h \
Andriy Palamarchuk's avatar
Andriy Palamarchuk committed
570
	tchar.h \
571
	tcpmib.h \
Mike McCormack's avatar
Mike McCormack committed
572
	textserv.h \
573
	tlhelp32.h \
574
	tmschema.h \
575
	traffic.h \
576
	twain.h \
577
	udpmib.h \
578
	uiautomation.h \
579
	uiautomationcoreapi.h \
580
	userenv.h \
Vijay Kiran Kamuju's avatar
Vijay Kiran Kamuju committed
581
	usp10.h \
582
	uuids.h \
583
	uxtheme.h \
584
	vdmdbg.h \
585
	ver.h \
586
	verrsrc.h \
587
	vfw.h \
588
	vfwmsgs.h \
589
	vmrender.idl \
Piotr Caban's avatar
Piotr Caban committed
590
	vsstyle.h \
Piotr Caban's avatar
Piotr Caban committed
591
	vssym32.h \
592
	vswriter.h \
593
	werapi.h \
Francois Gouget's avatar
Francois Gouget committed
594
	wfext.h \
595
	wia.h \
596 597
	winbase.h \
	wincon.h \
598
	wincred.h \
599
	wincrypt.h \
600
	windef.h \
Hans Leidekker's avatar
Hans Leidekker committed
601
	windns.h \
602
	windows.h \
603
	windowsx.h \
604 605 606 607
	wine/debug.h \
	wine/exception.h \
	wine/library.h \
	wine/unicode.h \
608
	winerror.h \
609
	winevt.h \
610
	wingdi.h \
611
	winhttp.h \
612
	wininet.h \
613
	winineti.h \
614
	winioctl.h \
Hans Leidekker's avatar
Hans Leidekker committed
615
	winldap.h \
616 617
	winnetwk.h \
	winnls.h \
618
	winnls32.h \
619
	winnt.h \
620
	winnt.rh \
621
	winperf.h \
622 623
	winreg.h \
	winresrc.h \
624
	winsafer.h \
625 626
	winscard.h \
	winsmcrd.h \
627
	winsnmp.h \
628 629 630
	winsock.h \
	winsock2.h \
	winspool.h \
631
	winstring.h \
632
	winsvc.h \
633 634
	wintab.h \
	wintabx.h \
635
	winternl.h \
636
	wintrust.h \
637
	winuser.h \
638
	winuser.rh \
639
	winver.h \
640
	wmistr.h \
641
	wnaspi32.h \
642
	wownt32.h \
643
	ws2def.h \
644
	ws2ipdef.h \
645
	ws2spi.h \
646
	ws2tcpip.h \
647 648
	wshisotp.h \
	wsipx.h \
649
	wsnwlink.h \
Ulrich Czekalla's avatar
Ulrich Czekalla committed
650
	wtsapi32.h \
651
	xcmc.h \
652
	xinput.h \
653 654
	xmldom.h \
	xmldom.idl \
Mike McCormack's avatar
Mike McCormack committed
655
	xmldomdid.h \
656
	xmldso.idl \
Vijay Kiran Kamuju's avatar
Vijay Kiran Kamuju committed
657
	xmldsodid.h \
658
	zmouse.h
659

660
IDL_H_SRCS = $(PUBLIC_IDL_H_SRCS) $(PRIVATE_IDL_H_SRCS)
661
IDL_SRCS = $(IDL_H_SRCS) $(IDL_TLB_SRCS)
662

663
OBJDIR_INCLUDES = $(PUBLIC_IDL_H_SRCS:.idl=.h) $(XTEMPLATE_SRCS:.x=.h)
664

665
all: $(IDL_H_SRCS:.idl=.h) $(IDL_TLB_SRCS:.idl=.tlb) $(XTEMPLATE_SRCS:.x=.h)
666

667 668
.PHONY: install install-dev uninstall

669
install install-dev:: $(OBJDIR_INCLUDES)
670
	for f in $(SRCDIR_INCLUDES); do case $$f in \
671 672 673
	  wine/*)   $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(includedir)/`expr $$f : 'wine/\(.*\)'` ;; \
	  msvcrt/*) $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(includedir)/$$f ;; \
	  *)        $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(includedir)/windows/$$f ;; \
674 675 676 677 678 679
	esac; done
	for f in $(OBJDIR_INCLUDES); do case $$f in \
	  wine/*)   $(INSTALL_DATA) $$f $(DESTDIR)$(includedir)/`expr $$f : 'wine/\(.*\)'` ;; \
	  msvcrt/*) $(INSTALL_DATA) $$f $(DESTDIR)$(includedir)/$$f ;; \
	  *)        $(INSTALL_DATA) $$f $(DESTDIR)$(includedir)/windows/$$f ;; \
	esac; done
680

681
# Don't just do a rm -rf on $(includedir) -- don't want to wipe out
682 683
# anything extra the user may have put there.
uninstall::
684 685 686 687 688
	for f in $(SRCDIR_INCLUDES) $(OBJDIR_INCLUDES); do case $$f in \
	  wine/*)   $(RM) $(DESTDIR)$(includedir)/`expr $$f : 'wine/\(.*\)'` ;; \
	  msvcrt/*) $(RM) $(DESTDIR)$(includedir)/$$f ;; \
	  *)        $(RM) $(DESTDIR)$(includedir)/windows/$$f ;; \
	esac; done
689
	-rmdir $(DESTDIR)$(includedir)/windows/ddk $(DESTDIR)$(includedir)/windows $(DESTDIR)$(includedir)/msvcrt/sys $(DESTDIR)$(includedir)/msvcrt