summaryrefslogtreecommitdiff
path: root/build/NWGNUmakefile
diff options
context:
space:
mode:
authorBradley Nicholes <bnicholes@apache.org>2004-04-08 22:39:29 +0000
committerBradley Nicholes <bnicholes@apache.org>2004-04-08 22:39:29 +0000
commit96d973661f7ec312490ed20f1c27866bd5fab85b (patch)
treec4c8965efeb4517ae4612aeead85ce7a5bf32e0e /build/NWGNUmakefile
parent1a656f980a3e95ff39130f5d09f9ce7283a08c77 (diff)
downloadapr-96d973661f7ec312490ed20f1c27866bd5fab85b.tar.gz
Create a separate compiler options file per NLM or library
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65048 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/NWGNUmakefile')
-rw-r--r--build/NWGNUmakefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/build/NWGNUmakefile b/build/NWGNUmakefile
index 1c51bd00c..b12384cd4 100644
--- a/build/NWGNUmakefile
+++ b/build/NWGNUmakefile
@@ -32,11 +32,11 @@ $(APR)/aprlib.imp : make_nw_export.awk nw_export.i
@echo Generating $(subst /,\,$@)
awk -f make_nw_export.awk nw_export.i | sort >$(APR)/aprlib.imp
-nw_export.i : nw_export.inc $(FILES_prebuild_headers) cc.opt
+nw_export.i : nw_export.inc $(FILES_prebuild_headers) $(NLM_NAME)_cc.opt
@echo Generating $(subst /,\,$@)
- $(CC) $< @cc.opt
+ $(CC) $< @$(NLM_NAME)_cc.opt
-cc.opt : NWGNUmakefile $(APR_WORK)\build\NWGNUenvironment.inc $(APR_WORK)\build\NWGNUhead.inc $(APR_WORK)\build\NWGNUtail.inc $(CUSTOM_INI)
+$(NLM_NAME)_cc.opt : NWGNUmakefile $(APR_WORK)\build\NWGNUenvironment.inc $(APR_WORK)\build\NWGNUhead.inc $(APR_WORK)\build\NWGNUtail.inc $(CUSTOM_INI)
$(CHK) $@ $(DEL) $@
@echo -P >> $@
@echo -EP >> $@
@@ -78,7 +78,7 @@ install :: nlms FORCE
clean ::
$(CHK) nw_export.i $(DEL) nw_export.i
- $(CHK) cc.opt $(DEL) cc.opt
+ $(CHK) $(NLM_NAME)_cc.opt $(DEL) $(NLM_NAME)_cc.opt
$(CHK) NWGNUversion.inc $(DEL) NWGNUversion.inc
$(CHK) $(subst /,\,$(APR))\include\apr.h $(DEL) $(subst /,\,$(APR))\include\apr.h
$(CHK) $(subst /,\,$(APRUTIL))\include\apu.h $(DEL) $(subst /,\,$(APRUTIL))\include\apu.h