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 ...@@ -69,6 +69,7 @@ WINEBUILD = $(TOOLSDIR)/tools/winebuild/winebuild
MAKEDEP = $(TOOLSDIR)/tools/makedep MAKEDEP = $(TOOLSDIR)/tools/makedep
WRC = $(TOOLSDIR)/tools/wrc/wrc WRC = $(TOOLSDIR)/tools/wrc/wrc
WMC = $(TOOLSDIR)/tools/wmc/wmc WMC = $(TOOLSDIR)/tools/wmc/wmc
WIDL = $(TOOLSDIR)/tools/widl/widl
LDPATH = @LDPATH@ LDPATH = @LDPATH@
DLLDIR = $(TOPOBJDIR)/dlls DLLDIR = $(TOPOBJDIR)/dlls
LIBWINE = -L$(TOPOBJDIR)/library -lwine LIBWINE = -L$(TOPOBJDIR)/library -lwine
......
...@@ -4,6 +4,9 @@ SRCDIR = @srcdir@ ...@@ -4,6 +4,9 @@ SRCDIR = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
MODULE = none MODULE = none
IDL_SRCS = \
wtypes.idl
WINDOWS_INCLUDES = \ WINDOWS_INCLUDES = \
audevcod.h \ audevcod.h \
basetsd.h \ basetsd.h \
...@@ -148,8 +151,8 @@ WINDOWS_INCLUDES = \ ...@@ -148,8 +151,8 @@ WINDOWS_INCLUDES = \
ws2tcpip.h \ ws2tcpip.h \
wshisotp.h \ wshisotp.h \
wsipx.h \ wsipx.h \
wtypes.h \ zmouse.h \
zmouse.h $(IDL_SRCS:.idl=.h)
MSVCRT_INCLUDES = \ MSVCRT_INCLUDES = \
msvcrt/conio.h \ msvcrt/conio.h \
...@@ -230,6 +233,11 @@ EXTRASUBDIRS = bitmaps msvcrt msvcrt/sys wine ...@@ -230,6 +233,11 @@ EXTRASUBDIRS = bitmaps msvcrt msvcrt/sys wine
@MAKE_RULES@ @MAKE_RULES@
.SUFFIXES: .idl .h
.idl.h:
$(LDPATH) $(WIDL) $(DEFS) -h -H $@ $<
install:: install::
$(MKINSTALLDIRS) $(includedir) $(includedir)/windows $(includedir)/msvcrt $(includedir)/msvcrt/sys $(MKINSTALLDIRS) $(includedir) $(includedir)/windows $(includedir)/msvcrt $(includedir)/msvcrt/sys
for f in $(WINDOWS_INCLUDES); do $(INSTALL_DATA) $(SRCDIR)/$$f $(includedir)/windows/$$f; done 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