From a0179962f0b195c6ec78dbbc5d99e1ee89af21a0 Mon Sep 17 00:00:00 2001 From: Justin Wood Date: Thu, 27 Nov 2008 18:26:44 -0800 Subject: [PATCH] Bug 463824, Introduce GLOBAL_DEPS to build system r=ted, a1.9.1=beltzner [js bits rs=sdwilsh] --- browser/app/Makefile.in | 2 +- config/Makefile.in | 2 +- config/rules.mk | 51 +++++++++++--------- config/static-rules.mk | 2 +- embedding/browser/photon/src/Makefile.in | 2 +- embedding/componentlib/Makefile.in | 2 +- extensions/java/xpcom/interfaces/Makefile.in | 4 +- modules/staticmod/Makefile.in | 2 +- toolkit/mozapps/installer/packager.mk | 2 +- xpcom/tests/static-checker/Makefile.in | 6 +-- xulrunner/app/Makefile.in | 2 +- xulrunner/installer/Makefile.in | 2 +- 12 files changed, 41 insertions(+), 38 deletions(-) diff --git a/browser/app/Makefile.in b/browser/app/Makefile.in index 50a0a938702..499a439d204 100644 --- a/browser/app/Makefile.in +++ b/browser/app/Makefile.in @@ -269,7 +269,7 @@ endif ifneq (,$(filter-out OS2 WINNT,$(OS_ARCH))) -$(MOZ_APP_NAME):: mozilla.in Makefile.in Makefile $(DEPTH)/config/autoconf.mk +$(MOZ_APP_NAME):: mozilla.in $(GLOBAL_DEPS) cat $< | sed -e "s|%MOZAPPDIR%|$(installdir)|" > $@ chmod +x $@ diff --git a/config/Makefile.in b/config/Makefile.in index 615409e89f2..d3f9f70b312 100644 --- a/config/Makefile.in +++ b/config/Makefile.in @@ -143,7 +143,7 @@ GARBAGE += \ ifndef CROSS_COMPILE ifdef USE_ELF_DYNSTR_GC -elf-dynstr-gc: elf-dynstr-gc.c Makefile Makefile.in +elf-dynstr-gc: elf-dynstr-gc.c $(GLOBAL_DEPS) $(CC) $(COMPILE_CFLAGS) $(GLIB_CFLAGS) -o $@ $< $(LDFLAGS) $(GLIB_LIBS) endif endif diff --git a/config/rules.mk b/config/rules.mk index 14e289cb057..f6c7c427e6e 100644 --- a/config/rules.mk +++ b/config/rules.mk @@ -747,6 +747,9 @@ LIBS_DEPS = $(filter %.$(LIB_SUFFIX), $(LIBS)) HOST_LIBS_DEPS = $(filter %.$(LIB_SUFFIX), $(HOST_LIBS)) DSO_LDOPTS_DEPS = $(EXTRA_DSO_LIBS) $(filter %.$(LIB_SUFFIX), $(EXTRA_DSO_LDOPTS)) +# Dependancies which, if modified, should cause everything to rebuild +GLOBAL_DEPS += Makefile Makefile.in $(DEPTH)/config/autoconf.mk + ############################################## ifdef PARALLEL_DIRS libs:: $(PARALLEL_DIRS_libs) @@ -890,7 +893,7 @@ alltags: # PROGRAM = Foo # creates OBJS, links with LIBS to create Foo # -$(PROGRAM): $(PROGOBJS) $(LIBS_DEPS) $(EXTRA_DEPS) $(EXE_DEF_FILE) $(RESFILE) Makefile Makefile.in +$(PROGRAM): $(PROGOBJS) $(LIBS_DEPS) $(EXTRA_DEPS) $(EXE_DEF_FILE) $(RESFILE) $(GLOBAL_DEPS) ifeq (WINCE,$(OS_ARCH)) $(LD) -NOLOGO -OUT:$@ $(WIN32_EXE_LDFLAGS) $(LDFLAGS) $(PROGOBJS) $(RESFILE) $(LIBS) $(EXTRA_LIBS) $(OS_LIBS) else @@ -928,7 +931,7 @@ ifdef BEOS_PROGRAM_RESOURCE endif endif # BeOS -$(HOST_PROGRAM): $(HOST_PROGOBJS) $(HOST_LIBS_DEPS) $(HOST_EXTRA_DEPS) Makefile Makefile.in +$(HOST_PROGRAM): $(HOST_PROGOBJS) $(HOST_LIBS_DEPS) $(HOST_EXTRA_DEPS) $(GLOBAL_DEPS) ifeq (WINCE,$(OS_ARCH)) $(HOST_LD) -NOLOGO -OUT:$@ $(HOST_OBJS) $(WIN32_EXE_LDFLAGS) $(HOST_LIBS) $(HOST_EXTRA_LIBS) else @@ -957,7 +960,7 @@ endif # SIMPLE_PROGRAMS = Foo Bar # creates Foo.o Bar.o, links with LIBS to create Foo, Bar. # -$(SIMPLE_PROGRAMS): %$(BIN_SUFFIX): %.$(OBJ_SUFFIX) $(LIBS_DEPS) $(EXTRA_DEPS) Makefile Makefile.in +$(SIMPLE_PROGRAMS): %$(BIN_SUFFIX): %.$(OBJ_SUFFIX) $(LIBS_DEPS) $(EXTRA_DEPS) $(GLOBAL_DEPS) ifeq (WINCE,$(OS_ARCH)) $(LD) -nologo -entry:main -out:$@ $< $(WIN32_EXE_LDFLAGS) $(LDFLAGS) $(LIBS) $(EXTRA_LIBS) $(OS_LIBS) else @@ -985,7 +988,7 @@ ifdef MOZ_POST_PROGRAM_COMMAND $(MOZ_POST_PROGRAM_COMMAND) $@ endif -$(HOST_SIMPLE_PROGRAMS): host_%$(HOST_BIN_SUFFIX): host_%.$(OBJ_SUFFIX) $(HOST_LIBS_DEPS) $(HOST_EXTRA_DEPS) Makefile Makefile.in +$(HOST_SIMPLE_PROGRAMS): host_%$(HOST_BIN_SUFFIX): host_%.$(OBJ_SUFFIX) $(HOST_LIBS_DEPS) $(HOST_EXTRA_DEPS) $(GLOBAL_DEPS) ifeq (WINCE,$(OS_ARCH)) $(HOST_LD) -NOLOGO -OUT:$@ $(WIN32_EXE_LDFLAGS) $< $(HOST_LIBS) $(HOST_EXTRA_LIBS) else @@ -1051,7 +1054,7 @@ ifdef DTRACE_PROBE_OBJ EXTRA_DEPS += $(DTRACE_PROBE_OBJ) endif -$(LIBRARY): $(OBJS) $(LOBJS) $(SHARED_LIBRARY_LIBS) $(EXTRA_DEPS) Makefile Makefile.in +$(LIBRARY): $(OBJS) $(LOBJS) $(SHARED_LIBRARY_LIBS) $(EXTRA_DEPS) $(GLOBAL_DEPS) rm -f $@ ifneq (,$(GNU_LD)$(filter-out OS2 WINNT WINCE, $(OS_ARCH))) ifdef SHARED_LIBRARY_LIBS @@ -1125,7 +1128,7 @@ endif # symlinks back to the originals. The symlinks are a no-op for stabs debugging, # so no need to conditionalize on OS version or debugging format. -$(SHARED_LIBRARY): $(OBJS) $(LOBJS) $(DEF_FILE) $(RESFILE) $(SHARED_LIBRARY_LIBS) $(EXTRA_DEPS) $(DSO_LDOPTS_DEPS) Makefile Makefile.in +$(SHARED_LIBRARY): $(OBJS) $(LOBJS) $(DEF_FILE) $(RESFILE) $(SHARED_LIBRARY_LIBS) $(EXTRA_DEPS) $(DSO_LDOPTS_DEPS) $(GLOBAL_DEPS) ifndef INCREMENTAL_LINKER rm -f $@ endif @@ -1252,62 +1255,62 @@ endif endif # Rules for building native targets must come first because of the host_ prefix -host_%.$(OBJ_SUFFIX): %.c Makefile Makefile.in +host_%.$(OBJ_SUFFIX): %.c $(GLOBAL_DEPS) $(REPORT_BUILD) $(ELOG) $(HOST_CC) $(HOST_OUTOPTION)$@ -c $(HOST_CFLAGS) $(INCLUDES) $(NSPR_CFLAGS) $(_VPATH_SRCS) -host_%.$(OBJ_SUFFIX): %.cpp Makefile Makefile.in +host_%.$(OBJ_SUFFIX): %.cpp $(GLOBAL_DEPS) $(REPORT_BUILD) $(ELOG) $(HOST_CXX) $(HOST_OUTOPTION)$@ -c $(HOST_CXXFLAGS) $(INCLUDES) $(NSPR_CFLAGS) $(_VPATH_SRCS) -host_%.$(OBJ_SUFFIX): %.cc Makefile Makefile.in +host_%.$(OBJ_SUFFIX): %.cc $(GLOBAL_DEPS) $(REPORT_BUILD) $(ELOG) $(HOST_CXX) $(HOST_OUTOPTION)$@ -c $(HOST_CXXFLAGS) $(INCLUDES) $(NSPR_CFLAGS) $(_VPATH_SRCS) -host_%.$(OBJ_SUFFIX): %.m Makefile Makefile.in +host_%.$(OBJ_SUFFIX): %.m $(GLOBAL_DEPS) $(REPORT_BUILD) $(ELOG) $(HOST_CC) $(HOST_OUTOPTION)$@ -c $(HOST_CFLAGS) $(HOST_CMFLAGS) $(INCLUDES) $(NSPR_CFLAGS) $(_VPATH_SRCS) -host_%.$(OBJ_SUFFIX): %.mm Makefile Makefile.in +host_%.$(OBJ_SUFFIX): %.mm $(GLOBAL_DEPS) $(REPORT_BUILD) $(ELOG) $(HOST_CXX) $(HOST_OUTOPTION)$@ -c $(HOST_CXXFLAGS) $(HOST_CMMFLAGS) $(INCLUDES) $(NSPR_CFLAGS) $(_VPATH_SRCS) -%: %.c Makefile Makefile.in +%: %.c $(GLOBAL_DEPS) $(REPORT_BUILD) @$(MAKE_DEPS_AUTO_CC) $(ELOG) $(CC) $(CFLAGS) $(LDFLAGS) $(OUTOPTION)$@ $(_VPATH_SRCS) -%.$(OBJ_SUFFIX): %.c Makefile Makefile.in +%.$(OBJ_SUFFIX): %.c $(GLOBAL_DEPS) $(REPORT_BUILD) @$(MAKE_DEPS_AUTO_CC) $(ELOG) $(CC) $(OUTOPTION)$@ -c $(COMPILE_CFLAGS) $(_VPATH_SRCS) -moc_%.cpp: %.h Makefile Makefile.in +moc_%.cpp: %.h $(GLOBAL_DEPS) $(MOC) $< $(OUTOPTION)$@ ifdef ASFILES # The AS_DASH_C_FLAG is needed cause not all assemblers (Solaris) accept # a '-c' flag. -%.$(OBJ_SUFFIX): %.$(ASM_SUFFIX) Makefile Makefile.in +%.$(OBJ_SUFFIX): %.$(ASM_SUFFIX) $(GLOBAL_DEPS) $(AS) -o $@ $(ASFLAGS) $(AS_DASH_C_FLAG) $(_VPATH_SRCS) endif -%.$(OBJ_SUFFIX): %.S Makefile Makefile.in +%.$(OBJ_SUFFIX): %.S $(GLOBAL_DEPS) $(AS) -o $@ $(ASFLAGS) -c $< -%: %.cpp Makefile Makefile.in +%: %.cpp $(GLOBAL_DEPS) @$(MAKE_DEPS_AUTO_CXX) $(CCC) $(OUTOPTION)$@ $(CXXFLAGS) $(_VPATH_SRCS) $(LDFLAGS) # # Please keep the next two rules in sync. # -%.$(OBJ_SUFFIX): %.cc Makefile Makefile.in +%.$(OBJ_SUFFIX): %.cc $(GLOBAL_DEPS) $(REPORT_BUILD) @$(MAKE_DEPS_AUTO_CXX) $(ELOG) $(CCC) $(OUTOPTION)$@ -c $(COMPILE_CXXFLAGS) $(_VPATH_SRCS) -%.$(OBJ_SUFFIX): %.cpp Makefile Makefile.in +%.$(OBJ_SUFFIX): %.cpp $(GLOBAL_DEPS) $(REPORT_BUILD) @$(MAKE_DEPS_AUTO_CXX) ifdef STRICT_CPLUSPLUS_SUFFIX @@ -1318,12 +1321,12 @@ else $(ELOG) $(CCC) $(OUTOPTION)$@ -c $(COMPILE_CXXFLAGS) $(_VPATH_SRCS) endif #STRICT_CPLUSPLUS_SUFFIX -$(OBJ_PREFIX)%.$(OBJ_SUFFIX): %.mm Makefile Makefile.in +$(OBJ_PREFIX)%.$(OBJ_SUFFIX): %.mm $(GLOBAL_DEPS) $(REPORT_BUILD) @$(MAKE_DEPS_AUTO_CXX) $(ELOG) $(CCC) -o $@ -c $(COMPILE_CXXFLAGS) $(COMPILE_CMMFLAGS) $(_VPATH_SRCS) -$(OBJ_PREFIX)%.$(OBJ_SUFFIX): %.m Makefile Makefile.in +$(OBJ_PREFIX)%.$(OBJ_SUFFIX): %.m $(GLOBAL_DEPS) $(REPORT_BUILD) @$(MAKE_DEPS_AUTO_CC) $(ELOG) $(CC) -o $@ -c $(COMPILE_CFLAGS) $(COMPILE_CMFLAGS) $(_VPATH_SRCS) @@ -1431,11 +1434,11 @@ _JAVA_DIR = _java $(_JAVA_DIR):: $(NSINSTALL) -D $@ -$(_JAVA_DIR)/%.class: %.java Makefile Makefile.in $(_JAVA_DIR) +$(_JAVA_DIR)/%.class: %.java $(GLOBAL_DEPS) $(_JAVA_DIR) $(CYGWIN_WRAPPER) $(JAVAC) $(JAVAC_FLAGS) -classpath $(_JAVA_CLASSPATH) \ -sourcepath $(_JAVA_SOURCEPATH) -d $(_JAVA_DIR) $(_VPATH_SRCS) -$(JAVA_LIBRARY): $(addprefix $(_JAVA_DIR)/,$(JAVA_SRCS:.java=.class)) Makefile Makefile.in +$(JAVA_LIBRARY): $(addprefix $(_JAVA_DIR)/,$(JAVA_SRCS:.java=.class)) $(GLOBAL_DEPS) $(JAR) cf $@ -C $(_JAVA_DIR) . GARBAGE_DIRS += $(_JAVA_DIR) @@ -1601,7 +1604,7 @@ $(XPIDL_GEN_DIR)/%.xpt: %.idl $(XPIDL_COMPILE) $(XPIDL_GEN_DIR)/.done # no need to link together if XPIDLSRCS contains only XPIDL_MODULE ifneq ($(XPIDL_MODULE).idl,$(strip $(XPIDLSRCS))) -$(XPIDL_GEN_DIR)/$(XPIDL_MODULE).xpt: $(patsubst %.idl,$(XPIDL_GEN_DIR)/%.xpt,$(XPIDLSRCS) $(SDK_XPIDLSRCS)) Makefile.in Makefile $(XPIDL_LINK) +$(XPIDL_GEN_DIR)/$(XPIDL_MODULE).xpt: $(patsubst %.idl,$(XPIDL_GEN_DIR)/%.xpt,$(XPIDLSRCS) $(SDK_XPIDLSRCS)) $(GLOBAL_DEPS) $(XPIDL_LINK) $(XPIDL_LINK) $(XPIDL_GEN_DIR)/$(XPIDL_MODULE).xpt $(patsubst %.idl,$(XPIDL_GEN_DIR)/%.xpt,$(XPIDLSRCS) $(SDK_XPIDLSRCS)) endif # XPIDL_MODULE.xpt != XPIDLSRCS diff --git a/config/static-rules.mk b/config/static-rules.mk index 693bd7d4a8b..9381b0dc2cf 100644 --- a/config/static-rules.mk +++ b/config/static-rules.mk @@ -8,7 +8,7 @@ endif $(warning FINAL_LINK_COMP_NAMES = $(FINAL_LINK_COMP_NAMES)) $(warning FINAL_LINK_COMPS = $(FINAL_LINK_COMPS)) -nsStaticComponents.cpp: $(topsrcdir)/config/nsStaticComponents.cpp.in Makefile Makefile.in $(FINAL_LINK_COMP_NAMES) +nsStaticComponents.cpp: $(topsrcdir)/config/nsStaticComponents.cpp.in $(GLOBAL_DEPS) $(FINAL_LINK_COMP_NAMES) rm -f $@ cat $< | \ sed -e "s|%MODULE_LIST%|$(foreach m, $(STATIC_COMPONENT_LIST),MODULE($(m)))|" \ diff --git a/embedding/browser/photon/src/Makefile.in b/embedding/browser/photon/src/Makefile.in index 80a50c2acef..4a1d7136e4d 100644 --- a/embedding/browser/photon/src/Makefile.in +++ b/embedding/browser/photon/src/Makefile.in @@ -197,7 +197,7 @@ embed-link-comp-modules: embed-link-comp-names done \ > $@ -EmbedComponents.cpp: EmbedComponents.cpp.in Makefile Makefile.in $(EMBED_LINK_COMP_MODULES) +EmbedComponents.cpp: EmbedComponents.cpp.in $(GLOBAL_DEPS) $(EMBED_LINK_COMP_MODULES) cat $< | \ sed -e "s|%DECL_NSGETMODULES%|$(foreach m,$(shell cat $(EMBED_LINK_COMP_MODULES)),DECL_NSGETMODULE($(m)))|" | \ sed -e "s|%MODULE_LIST%|$(foreach m, $(shell cat $(EMBED_LINK_COMP_MODULES)),MODULE($(m)),)|" \ diff --git a/embedding/componentlib/Makefile.in b/embedding/componentlib/Makefile.in index 3aab0582a26..18e5f56afe8 100644 --- a/embedding/componentlib/Makefile.in +++ b/embedding/componentlib/Makefile.in @@ -161,7 +161,7 @@ else _TARGET = $@ endif -nsMetaModule_%.cpp: nsMetaModule.cpp.in Makefile Makefile.in $(topsrcdir)/config/config.mk +nsMetaModule_%.cpp: nsMetaModule.cpp.in $(GLOBAL_DEPS) $(topsrcdir)/config/config.mk rm -f $@ cat $< | \ sed -e "s|%DECLARE_SUBMODULE_INFOS%|$(foreach m, $($(_META_COMPONENT_NAMES)), extern nsModuleInfo NSMODULEINFO($(m));)|" | \ diff --git a/extensions/java/xpcom/interfaces/Makefile.in b/extensions/java/xpcom/interfaces/Makefile.in index fced5435bfa..261d9681fd1 100644 --- a/extensions/java/xpcom/interfaces/Makefile.in +++ b/extensions/java/xpcom/interfaces/Makefile.in @@ -90,7 +90,7 @@ $(_JAVA_DIR)/$(PACKAGE_DIR)/Mozilla.class: $(PACKAGE_DIR)/IXPCOMError.java $(PACKAGE_DIR):: $(NSINSTALL) -D $@ -$(PACKAGE_DIR)/IXPCOMError.java: $(topsrcdir)/xpcom/base/nsError.h gen-nsError.pl $(PACKAGE_DIR) Makefile Makefile.in +$(PACKAGE_DIR)/IXPCOMError.java: $(topsrcdir)/xpcom/base/nsError.h gen-nsError.pl $(PACKAGE_DIR) $(GLOBAL_DEPS) $(PERL) $(srcdir)/gen-nsError.pl < $< > $@ ## @@ -112,7 +112,7 @@ endif # Using the temporary "java.files" avoids an "argument list too long" # error on Windows when using *.java -$(IFACES_DIR)/$(JAVA_IFACES_PKG_NAME)/nsISupports.class: $(IFACES_DIR) $(wildcard $(JAVA_DIST_DIR)/default/$(JAVA_IFACES_PKG_NAME)/*.java) Makefile Makefile.in +$(IFACES_DIR)/$(JAVA_IFACES_PKG_NAME)/nsISupports.class: $(IFACES_DIR) $(wildcard $(JAVA_DIST_DIR)/default/$(JAVA_IFACES_PKG_NAME)/*.java) $(GLOBAL_DEPS) @echo Compiling Java interfaces find $(JAVA_DIST_DIR)/default -name "*.java" $(IGNORE_IFACES) > java.files $(CYGWIN_WRAPPER) $(JAVAC) $(JAVAC_FLAGS) -classpath $(IFACES_DIR) \ diff --git a/modules/staticmod/Makefile.in b/modules/staticmod/Makefile.in index a9eca7c3ed3..6374d0b94e3 100644 --- a/modules/staticmod/Makefile.in +++ b/modules/staticmod/Makefile.in @@ -99,7 +99,7 @@ FINAL_COMPONENT_NAMES := $(shell cat $(FINAL_LINK_COMP_NAMES)) nsMetaModule.$(OBJ_SUFFIX): module_list.h -module_list.h: Makefile Makefile.in $(DEPTH)/config/autoconf.mk +module_list.h: $(GLOBAL_DEPS) echo '#define MODULES \' > $@ awk '{ print "MODULE(" $$1 ") \\" }' < $(FINAL_LINK_COMP_NAMES) >> $@ echo >> $@ diff --git a/toolkit/mozapps/installer/packager.mk b/toolkit/mozapps/installer/packager.mk index 14ddedbbe1f..219cd4cf4f6 100644 --- a/toolkit/mozapps/installer/packager.mk +++ b/toolkit/mozapps/installer/packager.mk @@ -270,7 +270,7 @@ DEFINES += -DDLL_PREFIX=$(DLL_PREFIX) -DDLL_SUFFIX=$(DLL_SUFFIX) ifdef MOZ_PKG_REMOVALS MOZ_PKG_REMOVALS_GEN = removed-files -$(MOZ_PKG_REMOVALS_GEN): $(MOZ_PKG_REMOVALS) Makefile Makefile.in +$(MOZ_PKG_REMOVALS_GEN): $(MOZ_PKG_REMOVALS) $(GLOBAL_DEPS) $(PYTHON) $(MOZILLA_DIR)/config/Preprocessor.py -Fsubstitution $(DEFINES) $(ACDEFINES) $(MOZ_PKG_REMOVALS) > $(MOZ_PKG_REMOVALS_GEN) GARBAGE += $(MOZ_PKG_REMOVALS_GEN) diff --git a/xpcom/tests/static-checker/Makefile.in b/xpcom/tests/static-checker/Makefile.in index bedd9e8994b..b67857ccee6 100644 --- a/xpcom/tests/static-checker/Makefile.in +++ b/xpcom/tests/static-checker/Makefile.in @@ -130,7 +130,7 @@ check:: \ $(STATIC_WARNING_TESTCASES:.cpp=.s-warn) \ $(STATIC_PASS_TESTCASES:.cpp=.s-pass) -%.s-fail: %.cpp Makefile Makefile.in $(DEHYDRA_SCRIPTS) +%.s-fail: %.cpp $(GLOBAL_DEPS) $(DEHYDRA_SCRIPTS) @printf "Compiling $($(*F).errlog 2>&1; then \ printf "fail:\nerror: compilation of $($(*F).errlog 2>&1; then \ printf "fail:\nerror: compilation of $($(*F).errlog 2>&1; then \ printf "ok.\n"; \ diff --git a/xulrunner/app/Makefile.in b/xulrunner/app/Makefile.in index 936425d8c12..86e8be338b4 100644 --- a/xulrunner/app/Makefile.in +++ b/xulrunner/app/Makefile.in @@ -206,7 +206,7 @@ endif ifneq (,$(filter-out OS2 WINCE WINNT Darwin BeOS,$(OS_ARCH))) -xulrunner:: mozilla.in Makefile.in Makefile $(DEPTH)/config/autoconf.mk +xulrunner:: mozilla.in $(GLOBAL_DEPS) cat $< | sed -e "s|%MOZAPPDIR%|$(mozappdir)|" \ -e "s|%MOZ_USER_DIR%|.mozilla/xulrunner|" \ -e "s|%MREDIR%|$(mredir)|" > $@ diff --git a/xulrunner/installer/Makefile.in b/xulrunner/installer/Makefile.in index e0b94a12264..cc901ef6a62 100644 --- a/xulrunner/installer/Makefile.in +++ b/xulrunner/installer/Makefile.in @@ -110,7 +110,7 @@ ifndef MOZ_NATIVE_NSS pkg_config_files += mozilla-nss.pc endif -%.pc: $(srcdir)/%.pc.in Makefile.in Makefile $(DEPTH)/config/autoconf.mk +%.pc: $(srcdir)/%.pc.in $(GLOBAL_DEPS) cat $< | sed \ -e "s|%prefix%|$(prefix)|" \ -e "s|%includedir%|$(includedir)|" \