Added rules for compiling IDL files.
This commit is contained in:
parent
492e963205
commit
ed2f8fc801
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue