Author: mladen.turk(a)jboss.com
Date: 2007-12-15 07:33:14 -0500 (Sat, 15 Dec 2007)
New Revision: 1221
Added:
trunk/httpd/httpd-2.2/NMAKEhttpd.inc
trunk/httpd/httpd-2.2/server/
trunk/httpd/httpd-2.2/server/NMAKEmakefile
Log:
Add common and gen_char make files
Added: trunk/httpd/httpd-2.2/NMAKEhttpd.inc
===================================================================
--- trunk/httpd/httpd-2.2/NMAKEhttpd.inc (rev 0)
+++ trunk/httpd/httpd-2.2/NMAKEhttpd.inc 2007-12-15 12:33:14 UTC (rev 1221)
@@ -0,0 +1,81 @@
+# Copyright 2001-2007 The Apache Software Foundation or its licensors, as
+# applicable.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#
http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ====================================================================
+#
+# NMAKEhttpd.inc Master HTTPD definitions.
+#
+# Originally contributed by Mladen Turk <mturk redhat.com>
+#
+# ====================================================================
+#
+
+BUILDINC = $(PREFIX)\include
+BUILDLIB = $(PREFIX)\lib
+BUILDOUT = $(PREFIX)\bin
+BUILDMOD = $(PREFIX)\modules
+BUILDMAN = $(PREFIX)\manual
+BUILDDOC = $(PREFIX)\htdocs
+BUILDCFG = $(PREFIX)\conf
+BUILDERR = $(PREFIX)\error
+BUILDICO = $(PREFIX)\icons
+BUILDCGI = $(PREFIX)\cgi-bin
+BUILDLOG = $(PREFIX)\logs
+BUILDINS = $(PREFIX)\LICENSE
+
+LIBAPR = libapr-1.lib
+LIBAPU = libaprutil-1.lib
+LIBAPI = libapriconv-1.lib
+APR = apr-1.lib
+APU = aprutil-1.lib
+API = apriconv-1.lib
+PCRE = pcre.lib
+LIBHTTPD = libhttpd.lib
+
+$(BUILDINC) :
+ @if not exist "$(BUILDINC)\arch\win32\$(NULL)" mkdir
"$(BUILDINC)\arch\win32"
+
+$(BUILDLIB) :
+ @if not exist "$(BUILDLIB)\$(NULL)" mkdir "$(BUILDLIB)"
+
+$(BUILDOUT) :
+ @if not exist "$(BUILDOUT)\$(NULL)" mkdir "$(BUILDOUT)"
+
+$(BUILDMOD) :
+ @if not exist "$(BUILDMOD)\$(NULL)" mkdir "$(BUILDMOD)"
+
+$(BUILDMAN) :
+ @if not exist "$(BUILDMAN)\$(NULL)" mkdir "$(BUILDMAN)"
+
+$(BUILDDOC) :
+ @if not exist "$(BUILDDOC)\$(NULL)" mkdir "$(BUILDDOC)"
+
+$(BUILDICO) :
+ @if not exist "$(BUILDICO)\$(NULL)" mkdir "$(BUILDICO)"
+
+$(BUILDCGI) :
+ @if not exist "$(BUILDCGI)\$(NULL)" mkdir "$(BUILDCGI)"
+
+$(BUILDLOG) :
+ @if not exist "$(BUILDLOG)\$(NULL)" mkdir "$(BUILDLOG)"
+
+$(BUILDCFG) :
+ @if not exist "$(BUILDCFG)\extra\$(NULL)" mkdir "$(BUILDCFG)\extra"
+
+$(BUILDERR) :
+ @if not exist "$(BUILDERR)\include\$(NULL)" mkdir
"$(BUILDERR)\include"
+
+$(BUILDINS) : $(BUILDINC) $(BUILDLIB) $(BUILDOUT) $(BUILDMOD) $(BUILDMAN) $(BUILDDOC)
$(BUILDCFG) $(BUILDERR) $(BUILDICO) $(BUILDCGI) $(BUILDLOG)
+ @copy /Y LICENSE $@ >NUL
Property changes on: trunk/httpd/httpd-2.2/NMAKEhttpd.inc
___________________________________________________________________
Name: svn:eol-style
+ native
Added: trunk/httpd/httpd-2.2/server/NMAKEmakefile
===================================================================
--- trunk/httpd/httpd-2.2/server/NMAKEmakefile (rev 0)
+++ trunk/httpd/httpd-2.2/server/NMAKEmakefile 2007-12-15 12:33:14 UTC (rev 1221)
@@ -0,0 +1,62 @@
+# Copyright 2001-2007 The Apache Software Foundation or its licensors, as
+# applicable.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#
http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ====================================================================
+#
+# NMAKEmakefile Master HTTPD makefile.
+# Usage:
+# DEBUG=1 Build DEBUG version of HTTPD
+#
+# Originally contributed by Mladen Turk <mturk redhat.com>
+#
+# ====================================================================
+#
+
+
+TARGET=EXE
+PROJECT = gen_test_char
+
+!IF !DEFINED(SRCDIR) || "$(SRCDIR)" == ""
+SRCDIR = .
+!ENDIF
+
+!include <..\NMAKEcommon.inc>
+!include <..\NMAKEhttpd.inc>
+
+CFLAGS = $(CFLAGS) -DAPR_DECLARE_STATIC
+LDIRS = /libpath:"$(BUILDLIB)"
+LIBS = $(LIBS) $(APR)
+
+INCLUDES = -I$(BUILDINC)
+PDBFLAGS = -Fo$(WORKDIR)\ -Fd$(WORKDIR)\$(PROJECT)-src
+OBJECTS = \
+ $(WORKDIR)\gen_test_char.obj
+
+BUILDBIN = $(WORKDIR)\$(PROJECT).exe
+BUILDPDB = $(WORKDIR)\$(PROJECT).pdb
+
+all : $(WORKDIR) $(BUILDBIN)
+
+$(WORKDIR) :
+ @$(MAKEWORKDIR)
+
+{$(SRCDIR)}.c{$(WORKDIR)}.obj:
+ $(CC) $(CFLAGS) $(INCLUDES) $(PDBFLAGS) $<
+
+$(BUILDBIN): $(WORKDIR) $(BUILDDEP) $(OBJECTS)
+ $(LINK) $(LFLAGS) $(OBJECTS) $(BUILDRES) $(LIBS) $(LDIRS) /pdb:$(BUILDPDB)
/out:$(BUILDBIN)
+
+clean:
+ @$(CLEANTARGET)
Property changes on: trunk/httpd/httpd-2.2/server/NMAKEmakefile
___________________________________________________________________
Name: svn:eol-style
+ native