Commit ed2f8fc8 authored by Alexandre Julliard's avatar Alexandre Julliard

Added rules for compiling IDL files.

parent 492e9632
......@@ -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
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment