Make.rules: Added support for building IDL client/proxy/server/iid files.

This commit is contained in:
Alexandre Julliard 2006-10-16 17:20:37 +02:00
parent 8f31f92a73
commit 12c196203c
7 changed files with 16 additions and 19 deletions

View File

@ -111,7 +111,8 @@ conf_manext = 5
CLEAN_FILES = *.o *.a *.so *.ln *.$(LIBEXT) \\\#*\\\# *~ *% .\\\#* *.bak *.orig *.rej \
*.flc *.res *.mc.rc *.tab.[ch] *.yy.c core
OBJS = $(C_SRCS:.c=.o) $(BISON_SRCS:.y=.tab.o) $(LEX_SRCS:.l=.yy.o) $(EXTRA_OBJS)
IDL_GEN_C_SRCS = $(IDL_C_SRCS:.idl=_c.c) $(IDL_I_SRCS:.idl=_i.c) $(IDL_P_SRCS:.idl=_p.c) $(IDL_S_SRCS:.idl=_s.c)
OBJS = $(C_SRCS:.c=.o) $(BISON_SRCS:.y=.tab.o) $(LEX_SRCS:.l=.yy.o) $(IDL_GEN_C_SRCS:.c=.o) $(EXTRA_OBJS)
RCOBJS = $(RC_SRCS:.rc=.res.o)
LINTS = $(C_SRCS:.c=.ln)
@ -215,7 +216,7 @@ winapi_check:: dummy
# Rules for dependencies
DEPEND_SRCS = $(C_SRCS) $(C_SRCS16) $(RC_SRCS) $(RC_SRCS16) $(MC_SRCS) $(IDL_SRCS) $(BISON_SRCS) $(LEX_SRCS) $(EXTRA_SRCS)
DEPEND_SRCS = $(C_SRCS) $(C_SRCS16) $(RC_SRCS) $(RC_SRCS16) $(MC_SRCS) $(IDL_H_SRCS) $(IDL_GEN_C_SRCS) $(BISON_SRCS) $(LEX_SRCS) $(EXTRA_SRCS)
$(SUBDIRS:%=%/__depend__): dummy
@cd `dirname $@` && $(MAKE) depend
@ -234,7 +235,7 @@ $(EXTRASUBDIRS:%=%/__clean__): dummy
-cd `dirname $@` && $(RM) $(CLEAN_FILES)
clean:: $(SUBDIRS:%=%/__clean__) $(EXTRASUBDIRS:%=%/__clean__)
$(RM) $(CLEAN_FILES) $(IDL_SRCS:.idl=.h) $(IDL_SRCS:.idl=_c.c) $(IDL_SRCS:.idl=_i.c) $(IDL_SRCS:.idl=_p.c) $(IDL_SRCS:.idl=_s.c) $(IDL_TLB_SRCS:.idl=.tlb) $(PROGRAMS) $(RC_BINARIES) $(MANPAGES)
$(RM) $(CLEAN_FILES) $(IDL_H_SRCS:.idl=.h) $(IDL_GEN_C_SRCS) $(IDL_TLB_SRCS:.idl=.tlb) $(PROGRAMS) $(RC_BINARIES) $(MANPAGES)
.PHONY: clean $(SUBDIRS:%=%/__clean__) $(EXTRASUBDIRS:%=%/__clean__)
@ -303,14 +304,7 @@ doc-sgml: $(DOCSUBDIRS:%=%/__doc_sgml__)
$(MC_SRCS:.mc=.mc.rc): $(WMC)
$(IDL_SRCS:.idl=.h): $(WIDL)
$(IDL_SRCS:.idl=_c.c): $(WIDL)
$(IDL_SRCS:.idl=_i.c): $(WIDL)
$(IDL_SRCS:.idl=_p.c): $(WIDL)
$(IDL_SRCS:.idl=_s.c): $(WIDL)
$(IDL_TLB_SRCS:.idl=.tlb): $(WIDL)
$(IDL_H_SRCS:.idl=.h) $(IDL_GEN_C_SRCS) $(IDL_TLB_SRCS:.idl=.tlb): $(WIDL)
$(SUBDIRS): dummy
@cd $@ && $(MAKE)

3
configure vendored
View File

@ -23666,7 +23666,8 @@ DEPENDENCIES="### Dependencies:
Makefile: dummy
-\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
\$(ALL_OBJS): \$(IDL_SRCS:.idl=.h)
\$(ALL_OBJS): \$(IDL_H_SRCS:.idl=.h)
\$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
\$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
\$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"

View File

@ -1453,7 +1453,8 @@ AC_SUBST(DEPENDENCIES,m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]), [2
Makefile: dummy\\
-\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)\\
\\
\$(ALL_OBJS): \$(IDL_SRCS:.idl=.h)\\
\$(ALL_OBJS): \$(IDL_H_SRCS:.idl=.h)\\
\$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)\\
\$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)\\
\$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"],
["### Dependencies:
@ -1463,7 +1464,8 @@ Makefile: dummy\\
Makefile: dummy
-\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
\$(ALL_OBJS): \$(IDL_SRCS:.idl=.h)
\$(ALL_OBJS): \$(IDL_H_SRCS:.idl=.h)
\$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
\$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
\$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"]))

View File

@ -13,7 +13,7 @@ C_SRCS = \
RC_SRCS = rsrc.rc
IDL_SRCS = \
IDL_H_SRCS = \
atliface.idl
@MAKE_DLL_RULES@

View File

@ -41,7 +41,7 @@ C_SRCS = \
RC_SRCS = rsrc.rc
IDL_SRCS = nsiface.idl
IDL_H_SRCS = nsiface.idl
@MAKE_DLL_RULES@

View File

@ -68,7 +68,7 @@ RC_BINARIES = \
drag_move.cur \
nodrop.cur
IDL_SRCS = \
IDL_H_SRCS = \
dcom.idl
@MAKE_DLL_RULES@

View File

@ -377,7 +377,7 @@ WINE_INCLUDES = \
library.h \
unicode.h
IDL_SRCS = $(WINDOWS_IDL_SRCS) $(WINE_IDL_SRCS:%=wine/%)
IDL_H_SRCS = $(WINDOWS_IDL_SRCS) $(WINE_IDL_SRCS:%=wine/%)
EXTRASUBDIRS = ddk msvcrt msvcrt/sys wine
@ -392,7 +392,7 @@ INSTALLDIRS = \
WINDOWS_IDL_HEADERS = $(WINDOWS_IDL_SRCS:.idl=.h)
WINE_IDL_HEADERS = $(WINE_IDL_SRCS:.idl=.h)
IDL_HEADERS = $(IDL_SRCS:.idl=.h)
IDL_HEADERS = $(IDL_H_SRCS:.idl=.h)
IDL_TLBS = $(IDL_TLB_SRCS:.idl=.tlb)
all: $(IDL_HEADERS) $(IDL_TLBS)