diff options
author | bnicholes <bnicholes@13f79535-47bb-0310-9956-ffa450edef68> | 2004-05-20 23:09:24 +0000 |
---|---|---|
committer | bnicholes <bnicholes@13f79535-47bb-0310-9956-ffa450edef68> | 2004-05-20 23:09:24 +0000 |
commit | fc92343b141d4f886f3ef3f637d2caaecc82b067 (patch) | |
tree | 67b519fa00696fcd5ffde27f184fc6dc618476aa /build/NWGNUtail.inc | |
parent | a7be2bb73294af3513240696c677a13a2a0273c5 (diff) | |
download | libapr-fc92343b141d4f886f3ef3f637d2caaecc82b067.tar.gz |
Check for both multiple NLM or LIB targets before allowing the compiler options to be included
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65105 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/NWGNUtail.inc')
-rw-r--r-- | build/NWGNUtail.inc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/build/NWGNUtail.inc b/build/NWGNUtail.inc index 0ed83289e..6ac21b90b 100644 --- a/build/NWGNUtail.inc +++ b/build/NWGNUtail.inc @@ -96,6 +96,15 @@ VERSION = 1,0,0 VERSION_STR = 1.0.0 endif +ifeq "$(words $(strip $(TARGET_nlm)))" "1" +INCLUDE_BLDCMDS=1 +endif + +ifeq "$(words $(strip $(TARGET_lib)))" "1" +INCLUDE_BLDCMDS=1 +endif + +ifeq "$(INCLUDE_BLDCMDS)" "1" $(OBJDIR)/%.o: %.c $(OBJDIR)\$(NLM_NAME)_cc.opt @echo Compiling $< @@ -150,6 +159,8 @@ ifneq "$(strip $(XDEFINES))" "" @echo $(XDEFINES) >> $@ endif +endif # one target nlm + # # Rules to build libraries # |