⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 nwgnuenvironment.inc

📁 Apache HTTP Server 是一个功能强大的灵活的与HTTP/1.1相兼容的web服务器.这里给出的是Apache HTTP服务器的源码。
💻 INC
字号:
## Setup needed Tools and Libraries#ifeq "$(wildcard $(AP_WORK)\NWGNUcustom.ini)" "$(AP_WORK)\NWGNUcustom.ini"include $(AP_WORK)\NWGNUcustom.iniCUSTOM_INI = $(AP_WORK)\NWGNUcustom.iniendififndef VERBOSE.SILENT:endif## Treat like an include#ifndef EnvironmentDefined## simple macros for parsing makefiles#EOLIST:=EMPTY :=COMMA := ,SPACE := $(EMPTY) $(EMPTY)## Base environment## Try and handle case issuesifndef NOVELLLIBCifdef NovellLibCNOVELLLIBC = $(NovellLibC)endifendififndef NOVELLLIBCNOVELLLIBC = C:/novell/ndk/libcendif# This is a placeholder# ifndef LDAPSDK# LDAPSDK = C:/novell/ndk/cldapsdk# endif# This is a placeholder# ifndef ZLIBSDK# ZLIBSDK = C:/novell/ndk/zlibsdk# endififndef METROWERKSMETROWERKS = C:\Program Files\Metrowerks\CodeWarriorendif# If LM_LICENSE_FILE isn't defined, define a variable that can be used to# restart make with it definedifndef LM_LICENSE_FILENO_LICENSE_FILE = NO_LICENSE_FILEendif## Set the Release type that you want to build, possible values are:##  debug		- full debug switches are set#  noopt		- normal switches are set (default)#  optimized	- optimization switches are setifdef reltypeRELEASE=$(reltype)endififdef RELTYPERELEASE=$(RELTYPE)endififdef debugRELEASE=debugendififdef DEBUGRELEASE=debugendififdef optimizedRELEASE=optimizedendififdef OPTIMIZEDRELEASE=optimizedendififndef RELEASERELEASE = optimizedendififeq "$(RELEASE)" "debug"OBJDIR = Debugendififeq "$(RELEASE)" "noopt"OBJDIR = Nooptendififeq "$(RELEASE)" "optimized"OBJDIR = Releaseendif## Setup compiler information## MetroWerks NLM toolsCC		= mwccnlmCPP		= mwccnlmLINK	= mwldnlmLIB		= mwldnlm -type library -w nocmdlineNOVI	= $(NOVELLLIBC)\importsINCDIRS 	= $(NOVELLLIBC)\include;$(NOVELLLIBC)\include\nks;$(NOVELLLIBC)\include\winsock;ifneq "$(LDAPSDK)" ""INCDIRS := $(INCDIRS);$(LDAPSDK)/incendififneq "$(ZLIBSDK)" ""INCDIRS := $(INCDIRS);$(ZLIBSDK)endifDEFINES		= -DNETWARE## MetroWerks static LibrariesCLIB3S	= $(METROWERKS)\Novell Support\Metrowerks Support\Libraries\Runtime\mwcrtl.libMATH3S	=PLIB3S	= $(METROWERKS)\Novell Support\Metrowerks Support\Libraries\MSL C++\MWCPP.lib# Base compile flags# and prefix or precompiled header added here.# The default flags are as follows:## -c                    compile only, no link# -nosyspath            treat #include <...> like #include "..."# -Cpp_exceptions off   disable C++ exceptions# -RTTI off             disable C++ run-time typing information# -align 4              align on 4 byte bounderies# -w nocmdline          disable command-line driver/parser warnings# -proc PII             generate code base on Pentium II instruction set# -inst mmx             use MMX extensions (not used)CFLAGS = -c -nosyspath -Cpp_exceptions off -RTTI off -align 4 -w nocmdline -proc PII# -g                    generate debugging information# -O0                   level 0 optimizationsifeq "$(RELEASE)" "debug"CFLAGS += -g -O0endif# -O4,p                 level 4 optimizations, optimize for speedifeq "$(RELEASE)" "optimized"CFLAGS += -O4,pendif# -prefix pre_nw.h      #include pre_nw.h for all filesCFLAGS += -prefix pre_nw.hPATH:=$(PATH);$(METROWERKS)\bin;$(METROWERKS)\Other Metrowerks Tools\Command Line Tools## Declare major project deliverables output directories here#ifdef DESTINSTALL = $(DEST)ifeq (\, $(findstring \,$(INSTALL)))INSTDIRS = $(DEST)endifendififdef destINSTALL = $(dest)ifeq (\, $(findstring \,$(INSTALL)))INSTDIRS = $(dest)endifendififndef INSTALLINSTALL = $(AP_WORK)\DistINSTDIRS = $(AP_WORK)\Distendif# Add support for building IPV6 alongsideifneq "$(IPV6)" ""DEFINES += -DNW_BUILD_IPV6INCDIRS := $(NOVELLLIBC)\include\winsock\IPV6;$(INCDIRS)ifneq "$(findstring IPV6,$(OBJDIR))" "IPV6"OBJDIR := $(OBJDIR)_IPV6endif        ifneq "$(findstring IPV6,$(INSTALL))" "IPV6"INSTALL := $(INSTALL)_IPV6endif        ifneq "$(findstring IPV6,$(INSTDIRS))" "IPV6"INSTDIRS := $(INSTDIRS)_IPV6endifendifINSTDEVDIRS := \    $(INSTDIRS) \	$(INSTALL)\Apache2\include \	$(INSTALL)\Apache2\lib \INSTDIRS += \	$(INSTALL)\Apache2 \	$(INSTALL)\Apache2\bin \	$(INSTALL)\Apache2\cgi-bin \	$(INSTALL)\Apache2\conf \	$(INSTALL)\Apache2\error \	$(INSTALL)\Apache2\htdocs \	$(INSTALL)\Apache2\icons \	$(INSTALL)\Apache2\logs \	$(INSTALL)\Apache2\man \	$(INSTALL)\Apache2\manual \	$(INSTALL)\Apache2\modules \## Declare Command and tool macros here## Os2LibPath is an extra check to see if we are on NTifdef Os2LibPathOS = Windows_NTendififeq "$(OS)" "Windows_NT"CMD=cmd /CCHK=cmd /C if existCHKNOT=cmd /C if not existDEL = del /FDELTREE = cmd /C rd /s/qWINNT=1XCOPYSW = /EelseCMD=command /CCHK=command /C if existCHKNOT=command /C if not existDEL = delDELTREE = deltree /yXCOPYSW = /E /Yendif## Setup base C compiler flags### Common directories#STDMOD		= $(AP_WORK)/modulesNWOS		= $(AP_WORK)/os/netwareSERVER		= $(AP_WORK)/serverSRC			= $(AP_WORK)APR			= $(AP_WORK)/srclib/aprAPRUTIL		= $(AP_WORK)/srclib/apr-utilSUPMOD		= $(AP_WORK)/supportPCRE		= $(AP_WORK)/srclib/pcreAPRTEST		= $(AP_WORK)/srclib/apr/testHTTPD		= $(AP_WORK)/modules/httpXML			= $(AP_WORK)/srclib/apr-util/xml## Internal Libraries#APRLIB		= $(APR)/$(OBJDIR)/aprlib.libAPRUTLIB	= $(APRUTIL)/$(OBJDIR)/aprutil.libSTMODLIB	= $(STDMOD)/$(OBJDIR)/stdmod.libPCRELIB		= $(PCRE/$(OBJDIR)/pcre.libNWOSLIB		= $(NWOS)/$(OBJDIR)/netware.libSERVLIB		= $(SERVER)/$(OBJDIR)/server.libHTTPDLIB	= $(HTTPD)/$(OBJDIR)/httpd.libXMLLIB		= $(XML)/$(OBJDIR)/xmllib.lib## Additional general defines#EnvironmentDefined = 1endif # ifndef EnvironmentDefined# This is always set so that it will show up in lower directoriesifdef PathPath = $(PATH)endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -