TOPSRCDIR = ..
TOPOBJDIR = ..
SRCDIR    = .

MODULE	  = none

WINDOWS_IDL_SRCS = \
	activscp.idl \
	amstream.idl \
	amvideo.idl \
	austream.idl \
	comcat.idl \
	control.idl \
	ddstream.idl \
	dispex.idl \
	docobj.idl \
	downloadmgr.idl \
	exdisp.idl \
	hlink.idl \
	iads.idl \
	mediaobj.idl \
	mimeinfo.idl \
	mlang.idl \
	mmstream.idl \
	mshtmhst.idl \
	mshtml.idl \
	msxml.idl \
	msxml2.idl \
	oaidl.idl \
	objidl.idl \
	objsafe.idl \
	ocidl.idl \
	oleidl.idl \
	propidl.idl \
	pstore.idl \
	richole.idl \
	sensevts.idl \
	servprov.idl \
	shldisp.idl \
	shobjidl.idl \
	shtypes.idl \
	strmif.idl \
	unknwn.idl \
	urlmon.idl \
	wtypes.idl \
	xmldom.idl \
	xmldso.idl

WINDOWS_IDL_INCLUDES = \
	$(WINDOWS_IDL_SRCS) \
	axcore.idl \
	axextend.idl \
	devenum.idl \
	dyngraph.idl

WINDOWS_INCLUDES = \
	$(WINDOWS_IDL_INCLUDES) \
	accctrl.h \
	aclapi.h \
	advpub.h \
	appmgmt.h \
	audevcod.h \
	aviriff.h \
	basetsd.h \
	basetyps.h \
	cderr.h \
	cguid.h \
	commctrl.h \
	commdlg.h \
	compobj.h \
	cpl.h \
	custcntl.h \
	cvconst.h \
	d3d.h \
	d3d8.h \
	d3d8caps.h \
	d3d8types.h \
	d3d9.h \
	d3d9caps.h \
	d3d9types.h \
	d3dcaps.h \
	d3dhal.h \
	d3drm.h \
	d3dtypes.h \
	d3dvec.inl \
	d3dx8core.h \
	dbghelp.h \
	dbt.h \
	dciddi.h \
	dciman.h \
	dde.h \
	ddeml.h \
	ddk/cfgmgr32.h \
	ddk/ntddcdvd.h \
	ddk/ntddser.h \
	ddk/ntddtape.h \
	ddk/wdm.h \
	ddk/winsplp.h \
	ddraw.h \
	ddrawi.h \
	devguid.h \
	digitalv.h \
	dinput.h \
	dispdib.h \
	dlgs.h \
	dls1.h \
	dls2.h \
	dmdls.h \
	dmerror.h \
	dmo.h \
	dmoreg.h \
	dmort.h \
	dmplugin.h \
	dmusbuff.h \
	dmusicc.h \
	dmusicf.h \
	dmusici.h \
	dmusics.h \
	dpaddr.h \
	dplay.h \
	dplay8.h \
	dplobby.h \
	dplobby8.h \
	dpnathlp.h \
	dsconf.h \
	dsdriver.h \
	dshow.h \
	dsound.h \
	dsrole.h \
	dxdiag.h \
	dxerr8.h \
	dxerr9.h \
	dxfile.h \
	evcode.h \
	evntrace.h \
	excpt.h \
	exdispid.h \
	fci.h \
	fdi.h \
	guiddef.h \
	htmlhelp.h \
	icm.h \
	icmpapi.h \
	idispids.h \
	imagehlp.h \
	imm.h \
	initguid.h \
	ipexport.h \
	iphlpapi.h \
	ipifcons.h \
	iprtrmib.h \
	iptypes.h \
	ks.h \
	ksguid.h \
	ksmedia.h \
	lm.h \
	lmaccess.h \
	lmapibuf.h \
	lmbrowsr.h \
	lmcons.h \
	lmerr.h \
	lmjoin.h \
	lmserver.h \
	lmshare.h \
	lmstats.h \
	lmwksta.h \
	lzexpand.h \
	mapi.h \
	mapicode.h \
	mapidefs.h \
	mapiguid.h \
	mapitags.h \
	mapiutil.h \
	mapival.h \
	mapix.h \
	mciavi.h \
	mcx.h \
	mediaerr.h \
	minmax.h \
	mmddk.h \
	mmreg.h \
	mmsystem.h \
	msacm.h \
	msacmdlg.h \
	msacmdrv.h \
	mscat.h \
	mshtmcid.h \
	mshtmdid.h \
	msi.h \
	msidefs.h \
	msiquery.h \
	mssip.h \
	mswsock.h \
	msxml2did.h \
	msxmldid.h \
	nb30.h \
	ndrtypes.h \
	npapi.h \
	nspapi.h \
	ntddcdrm.h \
	ntddscsi.h \
	ntddstor.h \
	ntsecapi.h \
	ntstatus.h \
	objbase.h \
	objsel.h \
	odbcinst.h \
	ole2.h \
	ole2ver.h \
	oleauto.h \
	olectl.h \
	oledlg.h \
	pktdef.h \
	poppack.h \
	powrprof.h \
	prsht.h \
	psapi.h \
	pshpack1.h \
	pshpack2.h \
	pshpack4.h \
	pshpack8.h \
	ras.h \
	reason.h \
	regstr.h \
	richedit.h \
	rpc.h \
	rpcdce.h \
	rpcdcep.h \
	rpcndr.h \
	rpcnterr.h \
	rpcproxy.h \
	schannel.h \
	schemadef.h \
	schnlsp.h \
	sddl.h \
	secext.h \
	security.h \
	sensapi.h \
	setupapi.h \
	sfc.h \
	shellapi.h \
	shlguid.h \
	shlobj.h \
	shlwapi.h \
	sipbase.h \
	snmp.h \
	softpub.h \
	sql.h \
	sqlext.h \
	sqltypes.h \
	sspi.h \
	storage.h \
	tapi.h \
	tchar.h \
	textserv.h \
	tlhelp32.h \
	tmschema.h \
	usp10.h \
	uuids.h \
	uxtheme.h \
	ver.h \
	vfw.h \
	vfwmsgs.h \
	winbase.h \
	wincon.h \
	wincrypt.h \
	windef.h \
	windows.h \
	windowsx.h \
	winerror.h \
	wingdi.h \
	wininet.h \
	winioctl.h \
	winldap.h \
	winnetwk.h \
	winnls.h \
	winnls32.h \
	winnt.h \
	winreg.h \
	winres.h \
	winresrc.h \
	winsock.h \
	winsock2.h \
	winspool.h \
	winsvc.h \
	wintab.h \
	wintabx.h \
	winternl.h \
	wintrust.h \
	winuser.h \
	winver.h \
	wmistr.h \
	wnaspi32.h \
	wownt32.h \
	ws2spi.h \
	ws2tcpip.h \
	wshisotp.h \
	wsipx.h \
	wsnwlink.h \
	wtsapi32.h \
	xcmc.h \
	xmldomdid.h \
	xmldsodid.h \
	zmouse.h

MSVCRT_INCLUDES = \
	msvcrt/conio.h \
	msvcrt/crtdbg.h \
	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 \
	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

WINE_IDL_SRCS = \
	itss.idl

WINE_INCLUDES = \
	$(WINE_IDL_SRCS) \
	debug.h \
	exception.h \
	library.h \
	unicode.h

IDL_SRCS = $(WINDOWS_IDL_SRCS) $(WINE_IDL_SRCS:%=wine/%)

EXTRASUBDIRS = ddk msvcrt msvcrt/sys wine


# Global rules shared by all makefiles     -*-Makefile-*-
#
# Each individual makefile must define the following variables:
# TOPSRCDIR    : top-level source directory
# TOPOBJDIR    : top-level object directory
# SRCDIR       : source directory for this module
# MODULE       : name of the module being built
#
# Each individual makefile may define the following additional variables:
# C_SRCS       : C sources for the module
# C_SRCS16     : 16-bit C sources for the module
# RC_SRCS      : resource source files
# EXTRA_SRCS   : extra source files for make depend
# EXTRA_OBJS   : extra object files
# IMPORTS      : dlls to import
# DELAYIMPORTS : dlls to import in delayed mode
# SUBDIRS      : subdirectories that contain a Makefile
# EXTRASUBDIRS : subdirectories that do not contain a Makefile
# INSTALLSUBDIRS : subdirectories to run make install/uninstall into
# MODCFLAGS    : extra CFLAGS for this module

# First some useful definitions

SHELL     = /bin/sh
CC        = gcc
CFLAGS    = -g -O2
CPPFLAGS  = 
LIBS      = 
BISON     = bison
LEX       = flex
LEXLIB    = -lfl
EXEEXT    = 
OBJEXT    = o
LIBEXT    = so
DLLEXT    = .so
IMPLIBEXT = def
LDSHARED  = $(CC) -shared $(SONAME:%=-Wl,-soname,%) $(VERSCRIPT:%=-Wl,--version-script=%)
DLLTOOL   = false
DLLWRAP   = 
AR        = ar rc
RANLIB    = ranlib
STRIP     = strip
WINDRES   = false
LN        = ln
LN_S      = ln -s
TOOLSDIR  = $(TOPOBJDIR)
AS        = as
LD        = ld
LDFLAGS   = 
PRELINK   = prelink
RM        = rm -f
MV        = mv
LINT      = 
LINTFLAGS = 
FONTFORGE = fontforge
INCLUDES     = -I$(SRCDIR) -I. -I$(TOPSRCDIR)/include -I$(TOPOBJDIR)/include $(EXTRAINCL)
EXTRACFLAGS  = -Wall -pipe -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith
ALLCFLAGS    = $(INCLUDES) $(DEFS) $(DLLFLAGS) $(EXTRACFLAGS) $(CPPFLAGS) $(CFLAGS) $(MODCFLAGS)
ALLLINTFLAGS = $(INCLUDES) $(DEFS) $(LINTFLAGS)
IDLFLAGS     = $(INCLUDES) $(DEFS) $(EXTRAIDLFLAGS)
WINEBUILDFLAGS = $(DLLFLAGS) --as-cmd "$(AS)"
MKINSTALLDIRS= $(TOPSRCDIR)/tools/mkinstalldirs -m 755
WINAPI_CHECK = $(TOPSRCDIR)/tools/winapi/winapi_check
WINEWRAPPER  = $(TOPSRCDIR)/tools/winewrapper
C2MAN        = $(TOPSRCDIR)/tools/c2man.pl
RUNTEST      = $(TOPSRCDIR)/tools/runtest
WINEBUILD    = $(TOOLSDIR)/tools/winebuild/winebuild
MAKEDEP      = $(TOOLSDIR)/tools/makedep
MAKECTESTS   = $(TOOLSDIR)/tools/make_ctests
WRC          = $(TOOLSDIR)/tools/wrc/wrc
BIN2RES      = $(TOOLSDIR)/tools/bin2res
WMC          = $(TOOLSDIR)/tools/wmc/wmc
WIDL         = $(TOOLSDIR)/tools/widl/widl
WINEGCC      = $(TOOLSDIR)/tools/winegcc/winegcc
RELPATH      = $(TOOLSDIR)/tools/relpath
SFNT2FNT     = $(TOOLSDIR)/tools/sfnt2fnt
FNT2FON      = $(TOOLSDIR)/tools/fnt2fon
RC           = $(WRC)
RC16         = $(WRC)
RCFLAGS      = --nostdinc $(INCLUDES) $(DEFS) $(EXTRARCFLAGS)
RC16FLAGS    = -O res16 $(RCFLAGS)
LDPATH       = LD_LIBRARY_PATH="$(TOOLSDIR)/libs/unicode:$$LD_LIBRARY_PATH"
DLLDIR       = $(TOPOBJDIR)/dlls
LIBDIR       = $(TOPOBJDIR)/libs
LIBPORT      = -L$(TOPOBJDIR)/libs/port -lwine_port
LIBUNICODE   = -L$(TOPOBJDIR)/libs/unicode -lwine_unicode
LIBWINE      = -L$(TOPOBJDIR)/libs/wine -lwine



# Installation infos

INSTALL         = /usr/bin/install -c $(INSTALL_FLAGS)
INSTALL_PROGRAM = ${INSTALL} $(INSTALL_PROGRAM_FLAGS)
INSTALL_SCRIPT  = ${INSTALL} $(INSTALL_SCRIPT_FLAGS)
INSTALL_DATA    = ${INSTALL} -m 644 $(INSTALL_DATA_FLAGS)
prefix          = /usr/local
exec_prefix     = ${prefix}
bindir          = ${exec_prefix}/bin
libdir          = ${exec_prefix}/lib
datadir         = ${prefix}/share
infodir         = ${prefix}/info
mandir          = ${prefix}/man
sysconfdir      = ${prefix}/etc
includedir      = ${prefix}/include/wine
dlldir          = ${exec_prefix}/lib/wine
prog_manext     = 1
api_manext      = 3w
conf_manext     = 5
CLEAN_FILES     = *.o *.a *.so *.ln *.$(LIBEXT) \\\#*\\\# *~ *% .\\\#* *.bak *.orig *.rej \
                  *.flc *.tab.c *.tab.h lex.yy.c core

OBJS = $(C_SRCS:.c=.o) $(EXTRA_OBJS)

RCOBJS = $(RC_SRCS:.rc=.res.o)
LINTS  = $(C_SRCS:.c=.ln)

# Implicit rules

.SUFFIXES: .mc .rc .mc.rc .res .res.o .spec .spec.o .idl .tlb .h .ok .sfd .ttf .man.in .man

.c.o:
	$(CC) -c $(ALLCFLAGS) -o $@ $<

.s.o:
	$(AS) -o $@ $<

.mc.mc.rc:
	$(LDPATH) $(WMC) -i -U -H /dev/null -o $@ $<

.rc.res:
	$(LDPATH) $(RC) $(RCFLAGS) -fo$@ $<

.res.res.o:
	$(WINDRES) -i $< -o $@

.spec.spec.o:
	$(WINEBUILD) $(WINEBUILDFLAGS) --dll -o $@ --main-module $(MODULE) --export $<

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

.idl.tlb:
	$(WIDL) $(IDLFLAGS) -t -T $@ $<

.c.ln:
	$(LINT) -c $(ALLLINTFLAGS) $< || ( $(RM) $@ && exit 1 )

.c.ok:
	$(RUNTEST) $(RUNTESTFLAGS) $< && touch $@

.sfd.ttf:
	$(FONTFORGE) -script $(TOPSRCDIR)/fonts/genttf.ff $< $@

.man.in.man:
	sed -e 's,@bindir\@,$(bindir),g' -e 's,@dlldir\@,$(dlldir),g' -e 's,@PACKAGE_STRING\@,Wine 0.9.10,g' $< >$@ || ($(RM) $@ && false)

# 'all' target first in case the enclosing Makefile didn't define any target

all: Makefile

filter:
	@$(TOPSRCDIR)/tools/winapi/make_filter --make $(MAKE) all

.PHONY: all filter

# Rules for resources

$(RC_BINARIES): $(BIN2RES) $(RC_BINSRC)
	$(BIN2RES) -f -o $@ $(SRCDIR)/$(RC_BINSRC)

$(RC_SRCS:.rc=.res) $(RC_SRCS16:.rc=.res): $(WRC) $(RC_BINARIES) $(RC_TLB)

# Rules for makefile

Makefile: Makefile.in $(TOPSRCDIR)/configure
	@echo Makefile is older than $?, please rerun $(TOPSRCDIR)/configure
	@exit 1

# Rule for linting

$(MODULE).ln : $(LINTS)
	if test "$(LINTS)" ; \
	then \
		$(LINT) $(ALLLINTFLAGS) -o$(MODULE) $(LINTS) ; \
	        $(MV) llib-l$(MODULE).ln $(MODULE).ln ; \
	else \
		$(LINT) $(ALLLINTFLAGS) -C$(MODULE) /dev/null ; \
	fi

lint:: $(MODULE).ln

# Rules for Windows API checking

winapi_check:: dummy
	$(WINAPI_CHECK) $(WINAPI_CHECK_FLAGS) $(WINAPI_CHECK_EXTRA_FLAGS) .

.PHONY: winapi_check

# Rules for dependencies

$(SUBDIRS:%=%/__depend__): dummy
	cd `dirname $@` && $(MAKE) depend

depend: $(IDL_SRCS:.idl=.h) $(SUBDIRS:%=%/__depend__)
	$(MAKEDEP) $(INCLUDES) -C$(SRCDIR) $(C_SRCS) $(C_SRCS16) $(RC_SRCS) $(RC_SRCS16) $(MC_SRCS) $(IDL_SRCS) $(EXTRA_SRCS)

.PHONY: depend $(SUBDIRS:%=%/__depend__)

# Rules for cleaning

$(SUBDIRS:%=%/__clean__): dummy
	cd `dirname $@` && $(MAKE) clean

$(SUBDIRS:%=%/__testclean__): dummy
	cd `dirname $@` && $(MAKE) testclean

$(EXTRASUBDIRS:%=%/__clean__): dummy
	-cd `dirname $@` && $(RM) $(CLEAN_FILES)

testclean:: $(SUBDIRS:%=%/__testclean__)

clean:: $(SUBDIRS:%=%/__clean__) $(EXTRASUBDIRS:%=%/__clean__)
	$(RM) $(CLEAN_FILES) $(RC_SRCS:.rc=.res) $(RC_SRCS16:.rc=.res) $(MC_SRCS:.mc=.mc.rc) $(IDL_SRCS:.idl=.h) $(PROGRAMS) $(RC_BINARIES) $(RC_TLB) $(MANPAGES)

.PHONY: clean testclean $(SUBDIRS:%=%/__clean__) $(SUBDIRS:%=%/__testclean__) $(EXTRASUBDIRS:%=%/__clean__)

# Rules for installing

$(SUBDIRS:%=%/__install__): dummy
	cd `dirname $@` && $(MAKE) install

$(SUBDIRS:%=%/__install-lib__): dummy
	cd `dirname $@` && $(MAKE) install-lib

$(SUBDIRS:%=%/__install-dev__): dummy
	cd `dirname $@` && $(MAKE) install-dev

$(SUBDIRS:%=%/__uninstall__): dummy
	cd `dirname $@` && $(MAKE) uninstall

install:: $(INSTALLSUBDIRS:%=%/__install__)

uninstall:: $(INSTALLSUBDIRS:%=%/__uninstall__)

.PHONY: install install-lib install-dev uninstall \
	$(SUBDIRS:%=%/__install__) $(SUBDIRS:%=%/__uninstall__) \
	$(SUBDIRS:%=%/__install-lib__) $(SUBDIRS:%=%/__install-dev__)

# Rules for checking that no imports are missing

$(SUBDIRS:%=%/__checklink__): dummy
	@cd `dirname $@` && $(MAKE) checklink

.PHONY: checklink $(SUBDIRS:%=%/__checklink__)

# Rules for testing

$(SUBDIRS:%=%/__test__): dummy
	@cd `dirname $@` && $(MAKE) test

$(SUBDIRS:%=%/__crosstest__): dummy
	@cd `dirname $@` && $(MAKE) crosstest

.PHONY: check test crosstest $(SUBDIRS:%=%/__test__) $(SUBDIRS:%=%/__crosstest__)

# Misc. rules

$(MC_SRCS:.mc=.mc.rc): $(WMC)

$(IDL_SRCS:.idl=.h): $(WIDL)

$(RC_TLB:.idl=.tlb): $(WIDL)

$(SUBDIRS): dummy
	@cd $@ && $(MAKE)

dummy:

.PHONY: dummy $(SUBDIRS)

# End of global rules

WINDOWS_IDL_HEADERS = $(WINDOWS_IDL_SRCS:.idl=.h)
WINE_IDL_HEADERS = $(WINE_IDL_SRCS:.idl=.h)
IDL_HEADERS = $(IDL_SRCS:.idl=.h)

all: $(IDL_HEADERS)

install:: $(IDL_HEADERS)
	$(MKINSTALLDIRS) $(DESTDIR)$(includedir) $(DESTDIR)$(includedir)/windows $(DESTDIR)$(includedir)/windows/ddk $(DESTDIR)$(includedir)/msvcrt $(DESTDIR)$(includedir)/msvcrt/sys
	for f in $(WINDOWS_INCLUDES); do $(INSTALL_DATA) $(SRCDIR)/$$f $(DESTDIR)$(includedir)/windows/$$f; done
	for f in $(WINDOWS_IDL_HEADERS); do $(INSTALL_DATA) $$f $(DESTDIR)$(includedir)/windows/$$f; done
	for f in $(MSVCRT_INCLUDES); do $(INSTALL_DATA) $(SRCDIR)/$$f $(DESTDIR)$(includedir)/$$f; done
	for f in $(WINE_INCLUDES); do $(INSTALL_DATA) $(SRCDIR)/wine/$$f $(DESTDIR)$(includedir)/$$f; done
	for f in $(WINE_IDL_HEADERS); do $(INSTALL_DATA) wine/$$f $(DESTDIR)$(includedir)/$$f; done

# Don't just do a rm -rf on $(includedir) -- don't want to wipe out
# anything extra the user may have put there.
uninstall::
	-cd $(DESTDIR)$(includedir)/windows && $(RM) $(WINDOWS_INCLUDES) $(WINDOWS_IDL_HEADERS)
	-cd $(DESTDIR)$(includedir) && $(RM) $(MSVCRT_INCLUDES) $(WINE_INCLUDES) $(WINE_IDL_HEADERS)
	-rmdir $(DESTDIR)$(includedir)/msvcrt/sys $(DESTDIR)$(includedir)/msvcrt $(DESTDIR)$(includedir)/windows/ddk $(DESTDIR)$(includedir)/windows $(DESTDIR)$(includedir)

### Dependencies:
activscp.h: activscp.idl ./ocidl.idl ./oleidl.idl ./objidl.idl \
 ./unknwn.idl ./wtypes.idl ./basetsd.h ./guiddef.h ./oaidl.idl \
 ./servprov.idl ./urlmon.idl ./msxml.idl ./msxmldid.h
amstream.h: amstream.idl ./unknwn.idl ./wtypes.idl ./basetsd.h \
 ./guiddef.h ./mmstream.idl ./strmif.idl ./objidl.idl ./devenum.idl \
 ./oaidl.idl ./axcore.idl ./axextend.idl ./dyngraph.idl
amvideo.h: amvideo.idl ./objidl.idl ./unknwn.idl ./wtypes.idl \
 ./basetsd.h ./guiddef.h
austream.h: austream.idl ./unknwn.idl ./wtypes.idl ./basetsd.h \
 ./guiddef.h ./mmstream.idl
comcat.h: comcat.idl ./unknwn.idl ./wtypes.idl ./basetsd.h ./guiddef.h
control.h: control.idl ./shldisp.idl ./objidl.idl ./unknwn.idl \
 ./wtypes.idl ./basetsd.h ./guiddef.h ./oleidl.idl ./oaidl.idl \
 ./shtypes.idl ./servprov.idl ./comcat.idl ./strmif.idl ./devenum.idl \
 ./axcore.idl ./axextend.idl ./dyngraph.idl
ddstream.h: ddstream.idl ./unknwn.idl ./wtypes.idl ./basetsd.h \
 ./guiddef.h ./mmstream.idl
dispex.h: dispex.idl ./ocidl.idl ./oleidl.idl ./objidl.idl \
 ./unknwn.idl ./wtypes.idl ./basetsd.h ./guiddef.h ./oaidl.idl \
 ./servprov.idl ./urlmon.idl ./msxml.idl ./msxmldid.h
docobj.h: docobj.idl ./ocidl.idl ./oleidl.idl ./objidl.idl \
 ./unknwn.idl ./wtypes.idl ./basetsd.h ./guiddef.h ./oaidl.idl \
 ./servprov.idl ./urlmon.idl ./msxml.idl ./msxmldid.h
downloadmgr.h: downloadmgr.idl ./unknwn.idl ./wtypes.idl ./basetsd.h \
 ./guiddef.h ./ocidl.idl ./oleidl.idl ./objidl.idl ./oaidl.idl \
 ./servprov.idl ./urlmon.idl ./msxml.idl ./msxmldid.h
exdisp.h: exdisp.idl ./ocidl.idl ./oleidl.idl ./objidl.idl \
 ./unknwn.idl ./wtypes.idl ./basetsd.h ./guiddef.h ./oaidl.idl \
 ./servprov.idl ./urlmon.idl ./msxml.idl ./msxmldid.h ./docobj.idl \
 ./olectl.h ./ocidl.h ./rpc.h ./windows.h ./winresrc.h ./winuser.h \
 ./pshpack2.h ./poppack.h ./commctrl.h ./prsht.h ./pshpack1.h ./dde.h \
 ./windef.h ./winnt.h ./pshpack4.h ./pshpack8.h ./dlgs.h ./winver.h \
 ./excpt.h ./winbase.h ./winerror.h ./wingdi.h ./winnls.h ./wincon.h \
 ./winreg.h ./reason.h ./winnetwk.h ./cderr.h ./ddeml.h ./lzexpand.h \
 ./mmsystem.h ./nb30.h ./shellapi.h ./winsock2.h ./winsock.h \
 ./wincrypt.h ./winspool.h ./ole2.h ./objbase.h ./rpcndr.h ./objidl.h \
 ./unknwn.h ./wtypes.h ./cguid.h ./propidl.h ./oaidl.h ./oleauto.h \
 ./oleidl.h ./commdlg.h ./winsvc.h ./mcx.h ./imm.h ./rpcdce.h \
 ./rpcdcep.h ./rpcnterr.h ./servprov.h ./urlmon.h ./msxml.h \
 ./exdispid.h
hlink.h: hlink.idl ./urlmon.idl ./objidl.idl ./unknwn.idl ./wtypes.idl \
 ./basetsd.h ./guiddef.h ./oleidl.idl ./servprov.idl ./msxml.idl \
 ./msxmldid.h ./oaidl.idl
iads.h: iads.idl ./oaidl.idl ./objidl.idl ./unknwn.idl ./wtypes.idl \
 ./basetsd.h ./guiddef.h
mediaobj.h: mediaobj.idl ./unknwn.idl ./wtypes.idl ./basetsd.h \
 ./guiddef.h ./objidl.idl
mimeinfo.h: mimeinfo.idl ./objidl.idl ./unknwn.idl ./wtypes.idl \
 ./basetsd.h ./guiddef.h
mlang.h: mlang.idl ./unknwn.idl ./wtypes.idl ./basetsd.h ./guiddef.h
mmstream.h: mmstream.idl ./unknwn.idl ./wtypes.idl ./basetsd.h \
 ./guiddef.h
mshtmhst.h: mshtmhst.idl ./ocidl.idl ./oleidl.idl ./objidl.idl \
 ./unknwn.idl ./wtypes.idl ./basetsd.h ./guiddef.h ./oaidl.idl \
 ./servprov.idl ./urlmon.idl ./msxml.idl ./msxmldid.h ./docobj.idl
mshtml.h: mshtml.idl ./mshtmdid.h ./mshtmcid.h ./olectl.h ./ocidl.h \
 ./rpc.h ./windows.h ./winresrc.h ./winuser.h ./pshpack2.h ./poppack.h \
 ./commctrl.h ./prsht.h ./pshpack1.h ./dde.h ./windef.h ./winnt.h \
 ./basetsd.h ./pshpack4.h ./guiddef.h ./pshpack8.h ./dlgs.h ./winver.h \
 ./excpt.h ./winbase.h ./winerror.h ./wingdi.h ./winnls.h ./wincon.h \
 ./winreg.h ./reason.h ./winnetwk.h ./cderr.h ./ddeml.h ./lzexpand.h \
 ./mmsystem.h ./nb30.h ./shellapi.h ./winsock2.h ./winsock.h \
 ./wincrypt.h ./winspool.h ./ole2.h ./objbase.h ./rpcndr.h ./objidl.h \
 ./unknwn.h ./wtypes.h ./cguid.h ./propidl.h ./oaidl.h ./oleauto.h \
 ./oleidl.h ./commdlg.h ./winsvc.h ./mcx.h ./imm.h ./rpcdce.h \
 ./rpcdcep.h ./rpcnterr.h ./servprov.h ./urlmon.h ./msxml.h \
 ./ocidl.idl ./oleidl.idl ./objidl.idl ./unknwn.idl ./wtypes.idl \
 ./oaidl.idl ./servprov.idl ./urlmon.idl ./msxml.idl ./msxmldid.h
msxml.h: msxml.idl ./msxmldid.h ./unknwn.idl ./wtypes.idl ./basetsd.h \
 ./guiddef.h ./objidl.idl ./oaidl.idl
msxml2.h: msxml2.idl ./msxml2did.h ./olectl.h ./ocidl.h ./rpc.h \
 ./windows.h ./winresrc.h ./winuser.h ./pshpack2.h ./poppack.h \
 ./commctrl.h ./prsht.h ./pshpack1.h ./dde.h ./windef.h ./winnt.h \
 ./basetsd.h ./pshpack4.h ./guiddef.h ./pshpack8.h ./dlgs.h ./winver.h \
 ./excpt.h ./winbase.h ./winerror.h ./wingdi.h ./winnls.h ./wincon.h \
 ./winreg.h ./reason.h ./winnetwk.h ./cderr.h ./ddeml.h ./lzexpand.h \
 ./mmsystem.h ./nb30.h ./shellapi.h ./winsock2.h ./winsock.h \
 ./wincrypt.h ./winspool.h ./ole2.h ./objbase.h ./rpcndr.h ./objidl.h \
 ./unknwn.h ./wtypes.h ./cguid.h ./propidl.h ./oaidl.h ./oleauto.h \
 ./oleidl.h ./commdlg.h ./winsvc.h ./mcx.h ./imm.h ./rpcdce.h \
 ./rpcdcep.h ./rpcnterr.h ./servprov.h ./urlmon.h ./msxml.h \
 ./unknwn.idl ./wtypes.idl ./objidl.idl ./oaidl.idl
oaidl.h: oaidl.idl ./objidl.idl ./unknwn.idl ./wtypes.idl ./basetsd.h \
 ./guiddef.h
objidl.h: objidl.idl ./unknwn.idl ./wtypes.idl ./basetsd.h ./guiddef.h
objsafe.h: objsafe.idl ./unknwn.idl ./wtypes.idl ./basetsd.h \
 ./guiddef.h
ocidl.h: ocidl.idl ./oleidl.idl ./objidl.idl ./unknwn.idl ./wtypes.idl \
 ./basetsd.h ./guiddef.h ./oaidl.idl ./servprov.idl ./urlmon.idl \
 ./msxml.idl ./msxmldid.h
oleidl.h: oleidl.idl ./objidl.idl ./unknwn.idl ./wtypes.idl \
 ./basetsd.h ./guiddef.h
propidl.h: propidl.idl ./objidl.idl ./unknwn.idl ./wtypes.idl \
 ./basetsd.h ./guiddef.h ./oaidl.idl
pstore.h: pstore.idl ./oaidl.idl ./objidl.idl ./unknwn.idl \
 ./wtypes.idl ./basetsd.h ./guiddef.h
richole.h: richole.idl ./oleidl.idl ./objidl.idl ./unknwn.idl \
 ./wtypes.idl ./basetsd.h ./guiddef.h
sensevts.h: sensevts.idl ./oaidl.idl ./objidl.idl ./unknwn.idl \
 ./wtypes.idl ./basetsd.h ./guiddef.h
servprov.h: servprov.idl ./objidl.idl ./unknwn.idl ./wtypes.idl \
 ./basetsd.h ./guiddef.h
shldisp.h: shldisp.idl ./objidl.idl ./unknwn.idl ./wtypes.idl \
 ./basetsd.h ./guiddef.h ./oleidl.idl ./oaidl.idl ./shtypes.idl \
 ./servprov.idl ./comcat.idl
shobjidl.h: shobjidl.idl ./objidl.idl ./unknwn.idl ./wtypes.idl \
 ./basetsd.h ./guiddef.h ./oleidl.idl ./oaidl.idl ./shtypes.idl \
 ./servprov.idl ./comcat.idl ./propidl.idl
shtypes.h: shtypes.idl ./wtypes.idl ./basetsd.h ./guiddef.h
strmif.h: strmif.idl ./objidl.idl ./unknwn.idl ./wtypes.idl \
 ./basetsd.h ./guiddef.h ./devenum.idl ./oaidl.idl ./axcore.idl \
 ./axextend.idl ./dyngraph.idl
unknwn.h: unknwn.idl ./wtypes.idl ./basetsd.h ./guiddef.h
urlmon.h: urlmon.idl ./objidl.idl ./unknwn.idl ./wtypes.idl \
 ./basetsd.h ./guiddef.h ./oleidl.idl ./servprov.idl ./msxml.idl \
 ./msxmldid.h ./oaidl.idl
wtypes.h: wtypes.idl ./basetsd.h ./guiddef.h
xmldom.h: xmldom.idl ./xmldomdid.h ./idispids.h ./ocidl.idl \
 ./oleidl.idl ./objidl.idl ./unknwn.idl ./wtypes.idl ./basetsd.h \
 ./guiddef.h ./oaidl.idl ./servprov.idl ./urlmon.idl ./msxml.idl \
 ./msxmldid.h
xmldso.h: xmldso.idl ./wtypes.idl ./basetsd.h ./guiddef.h ./ocidl.idl \
 ./oleidl.idl ./objidl.idl ./unknwn.idl ./oaidl.idl ./servprov.idl \
 ./urlmon.idl ./msxml.idl ./msxmldid.h ./idispids.h ./xmldsodid.h
wine/itss.h: wine/itss.idl ./oaidl.idl ./objidl.idl ./unknwn.idl \
 ./wtypes.idl ./basetsd.h ./guiddef.h
