Permalink
Browse files

NetWare build system: fixed var names.

Renamed wrong and misleading var names in makefiles.
No functional change.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1332842 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent 3f20afb commit 6dde6459fc6d89a1fd698b295880065aa7e23462 Guenter Knauf committed May 1, 2012
Showing with 10 additions and 10 deletions.
  1. +8 −8 build/NWGNUenvironment.inc
  2. +2 −2 build/NWGNUmakefile
View
@@ -212,16 +212,16 @@ PLIB3S = $(METROWERKS)/Novell Support/Metrowerks Support/Libraries/MSL C++/MWCPP
ifeq "$(OS)" "Windows_NT"
# MetroWerks Win32 build flags to create build tools
-MWCW_MSL = "$(METROWERKS)/MSL"
-MWCW_W32 = "$(METROWERKS)/Win32-x86 Support"
-HOST_CC = $(WIN_CC)
-HOST_CFLAGS = -O2 -gccinc -nodefaults -proc 586 -w off
-HOST_CFLAGS += -ir $(MWCW_MSL) -ir $(MWCW_W32) -lr $(MWCW_MSL) -lr $(MWCW_W32)
-HOST_CFLAGS += -lMSL_All_x86.lib -lkernel32.lib -luser32.lib
+MWCW_MSL = "$(METROWERKS)/MSL"
+MWCW_W32 = "$(METROWERKS)/Win32-x86 Support"
+CC_FOR_BUILD = $(WIN_CC)
+CFLAGS_FOR_BUILD = -O2 -gccinc -nodefaults -proc 586 -w off
+CFLAGS_FOR_BUILD += -ir $(MWCW_MSL) -ir $(MWCW_W32) -lr $(MWCW_MSL) -lr $(MWCW_W32)
+CFLAGS_FOR_BUILD += -lMSL_All_x86.lib -lkernel32.lib -luser32.lib
else
# GNUC build flags to create build tools
-HOST_CC = gcc
-HOST_CFLAGS = -Wall -O2
+CC_FOR_BUILD = gcc
+CFLAGS_FOR_BUILD = -Wall -O2
endif
# Base compile flags
View
@@ -79,15 +79,15 @@ $(NWOS)/chartables.c: dftables.exe $(PCRE)/dftables.c
%.exe: $(PCRE)/%.c $(PCRE)/config.h $(PCRE)/pcre.h
@echo $(DL)Creating Build Helper $@$(DL)
- $(HOST_CC) $(HOST_CFLAGS) -DHAVE_CONFIG_H $< -o $@
+ $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) -DHAVE_CONFIG_H $< -o $@
$(NWOS)/test_char.h: gen_test_char.exe $(SERVER)/gen_test_char.c
@echo $(DL)GEN $@$(DL)
$< > $@
%.exe: $(SERVER)/%.c
@echo $(DL)Creating Build Helper $@$(DL)
- $(HOST_CC) $(HOST_CFLAGS) -DCROSS_COMPILE $< -o $@
+ $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) -DCROSS_COMPILE $< -o $@
else

0 comments on commit 6dde645

Please sign in to comment.