diff options
author | Bradley Nicholes <bnicholes@apache.org> | 2004-03-07 04:04:51 +0100 |
---|---|---|
committer | Bradley Nicholes <bnicholes@apache.org> | 2004-03-07 04:04:51 +0100 |
commit | c7174f4244325255fe8bc0bc43e64ac1371880b1 (patch) | |
tree | bedc4d39ee5932c5ecbddc657564b573e3a03917 /NWGNUmakefile | |
parent | Add the include path to modules/ssl to resolve the include of mod_ssl.h (diff) | |
download | apache2-c7174f4244325255fe8bc0bc43e64ac1371880b1.tar.xz apache2-c7174f4244325255fe8bc0bc43e64ac1371880b1.zip |
Allow make files to create a cc.opt compiler options file per NLM rather than a single file per directory
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102876 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'NWGNUmakefile')
-rw-r--r-- | NWGNUmakefile | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/NWGNUmakefile b/NWGNUmakefile index 397f9fba97..3d69fd02cd 100644 --- a/NWGNUmakefile +++ b/NWGNUmakefile @@ -348,53 +348,53 @@ installdev :: FORCE # Any specialized rules here # -$(OBJDIR)/%.o: server/%.c $(OBJDIR)\cc.opt +$(OBJDIR)/%.o: server/%.c $(OBJDIR)\$(NLM_NAME)_cc.opt @echo compiling $< - $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt + $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\$(NLM_NAME)_cc.opt -$(OBJDIR)/%.o: modules/arch/netware/%.c $(OBJDIR)\cc.opt +$(OBJDIR)/%.o: modules/arch/netware/%.c $(OBJDIR)\$(NLM_NAME)_cc.opt @echo compiling $< - $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt + $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\$(NLM_NAME)_cc.opt -$(OBJDIR)/%.o: modules/http/%.c $(OBJDIR)\cc.opt +$(OBJDIR)/%.o: modules/http/%.c $(OBJDIR)\$(NLM_NAME)_cc.opt @echo compiling $< - $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt + $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\$(NLM_NAME)_cc.opt -$(OBJDIR)/%.o: modules/aaa/%.c $(OBJDIR)\cc.opt +$(OBJDIR)/%.o: modules/aaa/%.c $(OBJDIR)\$(NLM_NAME)_cc.opt @echo compiling $< - $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt + $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\$(NLM_NAME)_cc.opt -$(OBJDIR)/%.o: modules/mappers/%.c $(OBJDIR)\cc.opt +$(OBJDIR)/%.o: modules/mappers/%.c $(OBJDIR)\$(NLM_NAME)_cc.opt @echo compiling $< - $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt + $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\$(NLM_NAME)_cc.opt -$(OBJDIR)/%.o: modules/generators/%.c $(OBJDIR)\cc.opt +$(OBJDIR)/%.o: modules/generators/%.c $(OBJDIR)\$(NLM_NAME)_cc.opt @echo compiling $< - $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt + $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\$(NLM_NAME)_cc.opt -$(OBJDIR)/%.o: modules/metadata/%.c $(OBJDIR)\cc.opt +$(OBJDIR)/%.o: modules/metadata/%.c $(OBJDIR)\$(NLM_NAME)_cc.opt @echo compiling $< - $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt + $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\$(NLM_NAME)_cc.opt -$(OBJDIR)/%.o: modules/filters/%.c $(OBJDIR)\cc.opt +$(OBJDIR)/%.o: modules/filters/%.c $(OBJDIR)\$(NLM_NAME)_cc.opt @echo compiling $< - $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt + $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\$(NLM_NAME)_cc.opt -$(OBJDIR)/%.o: modules/loggers/%.c $(OBJDIR)\cc.opt +$(OBJDIR)/%.o: modules/loggers/%.c $(OBJDIR)\$(NLM_NAME)_cc.opt @echo compiling $< - $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt + $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\$(NLM_NAME)_cc.opt -$(OBJDIR)/%.o: os/netware/%.c $(OBJDIR)\cc.opt +$(OBJDIR)/%.o: os/netware/%.c $(OBJDIR)\$(NLM_NAME)_cc.opt @echo compiling $< - $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt + $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\$(NLM_NAME)_cc.opt -$(OBJDIR)/%.o: server/mpm/netware/%.c $(OBJDIR)\cc.opt +$(OBJDIR)/%.o: server/mpm/netware/%.c $(OBJDIR)\$(NLM_NAME)_cc.opt @echo compiling $< - $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt + $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\$(NLM_NAME)_cc.opt -$(OBJDIR)/%.o: srclib/pcre/%.c $(OBJDIR)\cc.opt +$(OBJDIR)/%.o: srclib/pcre/%.c $(OBJDIR)\$(NLM_NAME)_cc.opt @echo compiling $< - $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt + $(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\$(NLM_NAME)_cc.opt # # Include the 'tail' makefile that has targets that depend on variables defined |