Added rules for compiling IDL files.

This commit is contained in:
Alexandre Julliard 2002-12-03 23:36:05 +00:00
parent 492e963205
commit ed2f8fc801
2 changed files with 11 additions and 2 deletions

View File

@ -69,6 +69,7 @@ WINEBUILD = $(TOOLSDIR)/tools/winebuild/winebuild
MAKEDEP = $(TOOLSDIR)/tools/makedep
WRC = $(TOOLSDIR)/tools/wrc/wrc
WMC = $(TOOLSDIR)/tools/wmc/wmc
WIDL = $(TOOLSDIR)/tools/widl/widl
LDPATH = @LDPATH@
DLLDIR = $(TOPOBJDIR)/dlls
LIBWINE = -L$(TOPOBJDIR)/library -lwine

View File

@ -4,6 +4,9 @@ SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = none
IDL_SRCS = \
wtypes.idl
WINDOWS_INCLUDES = \
audevcod.h \
basetsd.h \
@ -148,8 +151,8 @@ WINDOWS_INCLUDES = \
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 @@ EXTRASUBDIRS = bitmaps msvcrt msvcrt/sys wine
@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