Added rules for compiling IDL files.
diff --git a/include/Makefile.in b/include/Makefile.in index caef4a4..379eb47 100644 --- a/include/Makefile.in +++ b/include/Makefile.in
@@ -4,6 +4,9 @@ VPATH = @srcdir@ MODULE = none +IDL_SRCS = \ + wtypes.idl + WINDOWS_INCLUDES = \ audevcod.h \ basetsd.h \ @@ -148,8 +151,8 @@ ws2tcpip.h \ wshisotp.h \ wsipx.h \ - wtypes.h \ - zmouse.h + zmouse.h \ + $(IDL_SRCS:.idl=.h) MSVCRT_INCLUDES = \ msvcrt/conio.h \ @@ -230,6 +233,11 @@ @MAKE_RULES@ +.SUFFIXES: .idl .h + +.idl.h: + $(LDPATH) $(WIDL) $(DEFS) -h -H $@ $< + install:: $(MKINSTALLDIRS) $(includedir) $(includedir)/windows $(includedir)/msvcrt $(includedir)/msvcrt/sys for f in $(WINDOWS_INCLUDES); do $(INSTALL_DATA) $(SRCDIR)/$$f $(includedir)/windows/$$f; done