From: Ryan Bloom Date: Wed, 22 Aug 2001 13:34:01 +0000 (+0000) Subject: Add rules.mk.in, and remove the old rules.mk. This finishes the X-Git-Tag: 2.0.25~197 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cb8be73f64897c656b626f25d09f9382b7c790eb;p=apache Add rules.mk.in, and remove the old rules.mk. This finishes the libtool patch from yesterday. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90487 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/build/rules.mk b/build/rules.mk.in similarity index 95% rename from build/rules.mk rename to build/rules.mk.in index 09cea4f6bb..659cbcf877 100644 --- a/build/rules.mk +++ b/build/rules.mk.in @@ -73,11 +73,11 @@ ALL_INCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) COMPILE = $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(ALL_INCLUDES) CXX_COMPILE = $(CXX) $(ALL_CXXFLAGS) $(ALL_CPPFLAGS) $(ALL_INCLUDES) -SH_COMPILE = $(LIBTOOL) --mode=compile $(COMPILE) -prefer-pic -c $< && touch $@ -SH_CXX_COMPILE = $(LIBTOOL) --mode=compile $(CXX_COMPILE) -prefer-pic-c $< && touch $@ +SH_COMPILE = $(LIBTOOL) --mode=compile $(COMPILE) @SHLTCFLAGS@ -c $< && touch $@ +SH_CXX_COMPILE = $(LIBTOOL) --mode=compile $(CXX_COMPILE) @SHLTCFLAGS@ -c $< && touch $@ -LT_COMPILE = $(LIBTOOL) --mode=compile $(COMPILE) -prefer-non-pic -static -c $< && touch $@ -LT_CXX_COMPILE = $(LIBTOOL) --mode=compile $(CXX_COMPILE) -prefer-non-pic -static -c $< && touch $@ +LT_COMPILE = $(LIBTOOL) --mode=compile $(COMPILE) @LTCFLAGS@ -c $< && touch $@ +LT_CXX_COMPILE = $(LIBTOOL) --mode=compile $(CXX_COMPILE) @LTCFLAGS@ -c $< && touch $@ # Link-related commands