Author: mladen.turk(a)jboss.com
Date: 2007-12-19 07:34:24 -0500 (Wed, 19 Dec 2007)
New Revision: 1257
Added:
trunk/httpd/httpd-2.2/modules/ssl/NMAKEmakefile
trunk/httpd/httpd-2.2/modules/ssl/NMAKEssl
Log:
Add ssl module makefiles
Added: trunk/httpd/httpd-2.2/modules/ssl/NMAKEmakefile
===================================================================
--- trunk/httpd/httpd-2.2/modules/ssl/NMAKEmakefile (rev 0)
+++ trunk/httpd/httpd-2.2/modules/ssl/NMAKEmakefile 2007-12-19 12:34:24 UTC (rev 1257)
@@ -0,0 +1,48 @@
+# 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 ssl module makefile.
+#
+# Originally contributed by Mladen Turk <mturk redhat.com>
+#
+# ====================================================================
+#
+
+TARGET=DLL
+!IF !DEFINED(SRCDIR) || "$(SRCDIR)" == ""
+SRCDIR = .
+!ENDIF
+
+!include <..\..\NMAKEcommon.inc>
+!include <..\..\NMAKEhttpd.inc>
+
+MODULES = \
+ $(SRCDIR)\NMAKEssl
+
+$(MODULES):
+ @$(MAKE) -nologo -f $@ PREFIX=$(PREFIX) install
+
+$(WORKDIR):
+ @$(MAKEWORKDIR)
+
+!IF DEFINED(WITH_OPENSSL) && "$(WITH_OPENSSL)" != "no"
+install: $(WORKDIR) $(MODULES)
+ @xcopy "$(WORKDIR)\*.so" "$(BUILDMOD)" /Y /Q 2>NUL
+!ELSE
+install:
+ @echo *** OpenSSL libraries are not defined or are disabled.
+!ENDIF
Property changes on: trunk/httpd/httpd-2.2/modules/ssl/NMAKEmakefile
___________________________________________________________________
Name: svn:eol-style
+ native
Added: trunk/httpd/httpd-2.2/modules/ssl/NMAKEssl
===================================================================
--- trunk/httpd/httpd-2.2/modules/ssl/NMAKEssl (rev 0)
+++ trunk/httpd/httpd-2.2/modules/ssl/NMAKEssl 2007-12-19 12:34:24 UTC (rev 1257)
@@ -0,0 +1,85 @@
+# 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 ssl module makefile.
+#
+# Originally contributed by Mladen Turk <mturk redhat.com>
+#
+# ====================================================================
+#
+
+TARGET=DLL
+PROJECT = mod_ssl
+
+!IF !DEFINED(SRCDIR) || "$(SRCDIR)" == ""
+SRCDIR = .
+!ENDIF
+
+!include <..\..\NMAKEcommon.inc>
+!include <..\..\NMAKEhttpd.inc>
+
+CFLAGS = $(CFLAGS) -DZLIB_WINAPI -DNO_IDEA -DNO_RC5 -DNO_MDC2 -DOPENSSL_NO_IDEA \
+ -DOPENSSL_NO_RC5 -DOPENSSL_NO_MDC2 -DHAVE_OPENSSL -DHAVE_SSL_SET_STATE=1 \
+ -DTCN_DECLARE_EXPORT
+
+LFLAGS = $(LFLAGS) user32.lib psapi.lib gdi32.lib shlwapi.lib wldap32.lib ole32.lib
$(LIBAPR) $(LIBAPU) $(LIBHTTPD) libeay32.lib ssleay32.lib
+LDIRS = /libpath:"$(BUILDLIB)" /libpath:"$(WITH_OPENSSL)\lib"
+INCLUDES = -I$(SRCDIR) -I$(BUILDINC) -I$(WITH_OPENSSL)\include
+PDBFLAGS = -Fo$(WORKDIR)\ -Fd$(WORKDIR)\$(PROJECT)-src
+
+BUILDBIN = $(WORKDIR)\$(PROJECT).so
+BUILDPDB = $(WORKDIR)\$(PROJECT).pdb
+BUILDRES = $(WORKDIR)\$(PROJECT).res
+BUILDMFT = $(BUILDBIN).manifest
+
+RCFLAGS = $(RCFLAGS) /d BIN_NAME="$(PROJECT).so" /d LONG_NAME="ssl_module
for Apache"
+
+OBJECTS = \
+ $(WORKDIR)\ssl_engine_config.obj \
+ $(WORKDIR)\ssl_engine_dh.obj \
+ $(WORKDIR)\ssl_engine_init.obj \
+ $(WORKDIR)\ssl_engine_io.obj \
+ $(WORKDIR)\ssl_engine_kernel.obj \
+ $(WORKDIR)\ssl_engine_log.obj \
+ $(WORKDIR)\ssl_engine_mutex.obj \
+ $(WORKDIR)\ssl_engine_pphrase.obj \
+ $(WORKDIR)\ssl_engine_rand.obj \
+ $(WORKDIR)\ssl_engine_vars.obj \
+ $(WORKDIR)\ssl_expr.obj \
+ $(WORKDIR)\ssl_expr_eval.obj \
+ $(WORKDIR)\ssl_expr_parse.obj \
+ $(WORKDIR)\ssl_expr_scan.obj \
+ $(WORKDIR)\ssl_scache.obj \
+ $(WORKDIR)\ssl_scache_dbm.obj \
+ $(WORKDIR)\ssl_scache_shmcb.obj \
+ $(WORKDIR)\ssl_scache_dc.obj \
+ $(WORKDIR)\ssl_util.obj \
+ $(WORKDIR)\ssl_util_ssl.obj \
+ $(WORKDIR)\mod_ssl.obj
+
+{$(SRCDIR)}.c{$(WORKDIR)}.obj:
+ $(CC) $(CFLAGS) $(INCLUDES) $(PDBFLAGS) $<
+
+$(BUILDRES): ..\..\build\win32\httpd.rc
+ $(RC) $(RCFLAGS) /i "$(BUILDINC)" /fo $(BUILDRES) ..\..\build\win32\httpd.rc
+
+$(BUILDBIN): $(OBJECTS) $(BUILDRES)
+ $(LINK) $(LFLAGS) $(OBJECTS) $(BUILDRES) $(LIBS) $(LDIRS) /pdb:$(BUILDPDB)
/out:$(BUILDBIN)
+ IF EXIST $(BUILDMFT) \
+ mt -nologo -manifest $(BUILDMFT) -outputresource:$(BUILDBIN);2
+
+install: $(BUILDBIN)
Property changes on: trunk/httpd/httpd-2.2/modules/ssl/NMAKEssl
___________________________________________________________________
Name: svn:eol-style
+ native