You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by bn...@apache.org on 2002/09/26 22:17:17 UTC

cvs commit: httpd-2.0/build NWGNUtail.inc NWGNUenvironment.inc

bnicholes    2002/09/26 13:17:16

  Modified:    build    NWGNUtail.inc NWGNUenvironment.inc
  Log:
  Clean up addition IPV6 build issues
  
  Revision  Changes    Path
  1.3       +28 -25    httpd-2.0/build/NWGNUtail.inc
  
  Index: NWGNUtail.inc
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/build/NWGNUtail.inc,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- NWGNUtail.inc	18 Jul 2002 23:32:12 -0000	1.2
  +++ NWGNUtail.inc	26 Sep 2002 20:17:16 -0000	1.3
  @@ -4,7 +4,7 @@
   #
   
   #
  -# If we are going to create an nlm, make sure we have assigned variables to 
  +# If we are going to create an nlm, make sure we have assigned variables to
   # use during the link.
   #
   echo NLM_NAME=$(NLM_NAME)
  @@ -35,7 +35,7 @@
   				NWGNUmakefile \
   				$(CUSTOM_INI) \
   				$(EOLIST)
  -                
  +
   CPPOPT_DEPENDS	= \
   				$(AP_WORK)\build\NWGNUhead.inc \
   				$(AP_WORK)\build\NWGNUenvironment.inc \
  @@ -79,53 +79,53 @@
   
   $(OBJDIR)/%.o: %.c $(OBJDIR)\cc.opt
   	@echo Compiling $<
  -	$(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt 
  +	$(CC) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cc.opt
   
   $(OBJDIR)\cc.opt: $(CCOPT_DEPENDS)
   	$(CHK) $@ $(DEL) $@
   	@echo Generating $@
   ifneq "$(strip $(CFLAGS))" ""
   	@echo $(CFLAGS) >> $@
  -endif	
  +endif
   ifneq "$(strip $(XCFLAGS))" ""
   	@echo $(XCFLAGS) >> $@
   endif
   ifneq "$(strip $(XINCDIRS))" ""
   	@echo $(foreach xincdir,$(strip $(subst ;,$(SPACE),$(XINCDIRS))),-I$(xincdir)) >> $@
  -endif	
  +endif
   ifneq "$(strip $(INCDIRS))" ""
   	@echo $(foreach incdir,$(strip $(subst ;,$(SPACE),$(INCDIRS))),-I$(incdir)) >> $@
   endif
  -ifneq "$(strip $(DEFINES))" "" 
  +ifneq "$(strip $(DEFINES))" ""
   	@echo $(DEFINES) >> $@
   endif
  -ifneq "$(strip $(XDEFINES))" "" 
  +ifneq "$(strip $(XDEFINES))" ""
   	@echo $(XDEFINES) >> $@
   endif
   
   $(OBJDIR)/%.o: %.cpp $(OBJDIR)\cpp.opt
   	@echo Compiling $<
  -	$(CPP) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cpp.opt 
  +	$(CPP) $< -o=$(OBJDIR)\$(@F) @$(OBJDIR)\cpp.opt
   
   $(OBJDIR)\cpp.opt: $(CPPOPT_DEPENDS)
   	$(CHK) $@ $(DEL) $@
   	@echo Generating $@
   ifneq "$(strip $(CFLAGS))" ""
   	@echo $(CFLAGS) >> $@
  -endif	
  +endif
   ifneq "$(strip $(XCFLAGS))" ""
   	@echo $(XCFLAGS) >> $@
   endif
   ifneq "$(strip $(XINCDIRS))" ""
   	@echo $(foreach xincdir,$(strip $(subst ;,$(SPACE),$(XINCDIRS))),-I$(xincdir)) >> $@
  -endif	
  +endif
   ifneq "$(strip $(INCDIRS))" ""
   	@echo $(foreach incdir,$(strip $(subst ;,$(SPACE),$(INCDIRS))),-I$(incdir)) >> $@
   endif
  -ifneq "$(strip $(DEFINES))" "" 
  +ifneq "$(strip $(DEFINES))" ""
   	@echo $(DEFINES) >> $@
   endif
  -ifneq "$(strip $(XDEFINES))" "" 
  +ifneq "$(strip $(XDEFINES))" ""
   	@echo $(XDEFINES) >> $@
   endif
   
  @@ -141,7 +141,7 @@
   	@echo Generating $@
   	$(CHK) $(OBJDIR)\$(@F) $(DEL) $(OBJDIR)\$(@F)
   	$(LIB) -o $(OBJDIR)\$(@F) @$?
  -   
  +
   $(OBJDIR)\$(LIB_NAME)_lib.lst: $($(LIB_NAME)_LIBLST_DEPENDS)
   	$(CHK) $@ $(DEL) $@
   	@echo Generating $@
  @@ -158,7 +158,7 @@
   endif
   
   #
  -# Rules to build nlms. 
  +# Rules to build nlms.
   #
   
   vpath libcpre.o $(NOVELLLIBC)\imports
  @@ -170,7 +170,7 @@
   	@echo Linking $@
   	$(LINK) @$(OBJDIR)\$(NLM_NAME)_link.opt
   
  -# This will force the link option file to be rebuilt if we change the 
  +# This will force the link option file to be rebuilt if we change the
   # corresponding makefile
   
   $(OBJDIR)\$(NLM_NAME)_link.opt : $($(NLM_NAME)_LINKOPT_DEPENDS)
  @@ -189,12 +189,12 @@
   	@echo -sym internal >> $@
   	@echo -sym codeview4 >> $@
   	@echo -osym $(OBJDIR)\$(NLM_NAME).sym >> $@
  -else	
  +else
   	@echo -sym internal >> $@
  -endif	
  -	@echo -screenname "$(NLM_SCREEN_NAME)" >> $@ 
  +endif
  +	@echo -screenname "$(NLM_SCREEN_NAME)" >> $@
   ifneq "$(NLM_VERSION)" ""
  -	@echo -nlmversion=$(NLM_VERSION) >> $@ 
  +	@echo -nlmversion=$(NLM_VERSION) >> $@
   else
   	@echo -nlmversion=$(VERSION) >> $@
   endif
  @@ -209,17 +209,20 @@
   	@echo -l $(NWOS)/$(OBJDIR) >> $@
   	@echo -l "$(METROWERKS)/Novell Support/Metrowerks Support/Libraries/Runtime" >> $@
   	@echo -l "$(METROWERKS)/Novell Support/Metrowerks Support/Libraries/MSL C++" >> $@
  +ifneq "$(IPV6)" ""
  +	@echo -l $(NOVELLLIBC)\include\winsock\IPV6 >> $@
  +endif
   	@echo -l $(NOVELLLIBC)/imports >> $@
  -ifneq "$(LDAPSDK)" ""    
  +ifneq "$(LDAPSDK)" ""
   	@echo -l $(LDAPSDK)/lib/nlm >> $@
  -endif    
  +endif
   	@echo -l $(XML)/$(OBJDIR) >> $@
   	@echo -nodefaults >> $@
   	@echo -map $(OBJDIR)\$(NLM_NAME).map>> $@
   	@echo -threadname "$(NLM_THREAD_NAME)" >> $@
   ifneq "$(NLM_STACK_SIZE)" ""
   	@echo -stacksize $(subst K,000,$(subst k,K,$(strip $(NLM_STACK_SIZE)))) >> $@
  -else	
  +else
   	@echo -stacksize 64000 >> $@
   endif
   ifneq "$(NLM_ENTRY_SYM)" ""
  @@ -252,10 +255,10 @@
   endif
   ifneq "$(FILES_nlm_Ximports)" ""
   	@echo Import $(foreach import,$(subst $(SPACE),$(COMMA),$(strip $(FILES_nlm_Ximports))),$(subst /,\,$(import))) >> $(OBJDIR)\$(NLM_NAME)_link.def
  -endif	
  +endif
   ifneq "$(FILES_nlm_exports)" ""
   	@echo Export $(foreach export,$(subst $(SPACE),$(COMMA),$(strip $(FILES_nlm_exports))),$(subst /,\,$(export))) >> $(OBJDIR)\$(NLM_NAME)_link.def
  -endif	
  +endif
   ifneq "$(strip $(XLFLAGS))" ""
   	@echo $(XLFLAGS) >> $(OBJDIR)\$(NLM_NAME)_link.def
   endif
  @@ -271,7 +274,7 @@
   
   else # more than one target so look for individual makefiles.
   
  -# Only include these if NO_LICENSE_FILE isn't set to prevent excessive 
  +# Only include these if NO_LICENSE_FILE isn't set to prevent excessive
   # recursion
   
   ifndef NO_LICENSE_FILE
  
  
  
  1.7       +2 -1      httpd-2.0/build/NWGNUenvironment.inc
  
  Index: NWGNUenvironment.inc
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/build/NWGNUenvironment.inc,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- NWGNUenvironment.inc	10 Sep 2002 22:44:54 -0000	1.6
  +++ NWGNUenvironment.inc	26 Sep 2002 20:17:16 -0000	1.7
  @@ -185,6 +185,7 @@
   # Add support for building IPV6 alongside
   ifneq "$(IPV6)" ""
   DEFINES += -DNW_BUILD_IPV6
  +INCDIRS := $(NOVELLLIBC)\include\winsock\IPV6;$(INCDIRS)
   
   ifneq "$(IPV6)" "SET"
   OBJDIR := $(OBJDIR)_IPV6
  @@ -275,7 +276,7 @@
   # Additional general defines
   #
   VERSION		= 2,0,0
  -			
  +
   EnvironmentDefined = 1
   endif # ifndef EnvironmentDefined