httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ic...@apache.org
Subject svn commit: r1804402 - in /httpd/httpd/branches/trunk-md/modules/md: Makefile Makefile.in config2.m4
Date Tue, 08 Aug 2017 11:37:48 GMT
Author: icing
Date: Tue Aug  8 11:37:48 2017
New Revision: 1804402

URL: http://svn.apache.org/viewvc?rev=1804402&view=rev
Log:
building separate lib and static linking it into mod_md

Added:
    httpd/httpd/branches/trunk-md/modules/md/Makefile
Modified:
    httpd/httpd/branches/trunk-md/modules/md/Makefile.in
    httpd/httpd/branches/trunk-md/modules/md/config2.m4

Added: httpd/httpd/branches/trunk-md/modules/md/Makefile
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/trunk-md/modules/md/Makefile?rev=1804402&view=auto
==============================================================================
--- httpd/httpd/branches/trunk-md/modules/md/Makefile (added)
+++ httpd/httpd/branches/trunk-md/modules/md/Makefile Tue Aug  8 11:37:48 2017
@@ -0,0 +1,51 @@
+top_srcdir   = /Users/sei/projects/httpd/trunk-md
+top_builddir = /Users/sei/projects/httpd/trunk-md
+srcdir       = /Users/sei/projects/httpd/trunk-md/modules/md
+builddir     = /Users/sei/projects/httpd/trunk-md/modules/md
+VPATH        = /Users/sei/projects/httpd/trunk-md/modules/md
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You 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.
+
+#
+#   standard stuff
+#
+
+
+LTLIBRARY_NAME    = libmd.la
+LTLIBRARY_SOURCES = \
+	md_acme.c \
+	md_acme_acct.c \
+	md_acme_authz.c \
+	md_acme_drive.c \
+	md_core.c \
+	md_curl.c \
+	md_crypt.c \
+	md_http.c \
+	md_json.c \
+	md_jws.c \
+	md_log.c \
+	md_reg.c \
+	md_store.c \
+	md_store_fs.c \
+	md_util.c
+
+
+LTLIBRARY_DEPENDENCIES = md.h
+
+local-shared-build: $(LTLIBRARY_NAME) $(SHARED_TARGETS)
+
+
+include $(top_srcdir)/build/library.mk
+include $(top_srcdir)/build/special.mk

Modified: httpd/httpd/branches/trunk-md/modules/md/Makefile.in
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/trunk-md/modules/md/Makefile.in?rev=1804402&r1=1804401&r2=1804402&view=diff
==============================================================================
--- httpd/httpd/branches/trunk-md/modules/md/Makefile.in (original)
+++ httpd/httpd/branches/trunk-md/modules/md/Makefile.in Tue Aug  8 11:37:48 2017
@@ -17,4 +17,30 @@
 #   standard stuff
 #
 
+
+LTLIBRARY_NAME    = libmd.la
+LTLIBRARY_SOURCES = \
+	md_acme.c \
+	md_acme_acct.c \
+	md_acme_authz.c \
+	md_acme_drive.c \
+	md_core.c \
+	md_curl.c \
+	md_crypt.c \
+	md_http.c \
+	md_json.c \
+	md_jws.c \
+	md_log.c \
+	md_reg.c \
+	md_store.c \
+	md_store_fs.c \
+	md_util.c
+
+
+LTLIBRARY_DEPENDENCIES = md.h
+
+local-shared-build: $(LTLIBRARY_NAME) $(SHARED_TARGETS)
+
+
+include $(top_srcdir)/build/library.mk
 include $(top_srcdir)/build/special.mk

Modified: httpd/httpd/branches/trunk-md/modules/md/config2.m4
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/trunk-md/modules/md/config2.m4?rev=1804402&r1=1804401&r2=1804402&view=diff
==============================================================================
--- httpd/httpd/branches/trunk-md/modules/md/config2.m4 (original)
+++ httpd/httpd/branches/trunk-md/modules/md/config2.m4 Tue Aug  8 11:37:48 2017
@@ -246,25 +246,9 @@ dnl #  list of module object files
 md_objs="dnl
 mod_md.lo dnl
 md_config.lo dnl
-md_core.lo dnl
-md_crypt.lo dnl
-md_curl.lo dnl
-md_http.lo dnl
-md_json.lo dnl
-md_jws.lo dnl
-md_log.lo dnl
 md_os.lo dnl
-md_reg.lo dnl
-md_store.lo dnl
-md_store_fs.lo dnl
-md_util.lo dnl
-md_acme.lo dnl
-md_acme_acct.lo dnl
-md_acme_authz.lo dnl
-md_acme_drive.lo dnl
 "
 
-
 dnl # hook module into the Autoconf mechanism (--enable-md)
 APACHE_MODULE(md, [Managed Domain handling], $md_objs, , most, [
     APACHE_CHECK_OPENSSL
@@ -284,6 +268,8 @@ APACHE_MODULE(md, [Managed Domain handli
         AC_MSG_WARN([libcurl not found])
         enable_md=no
     fi
+    
+    APR_ADDTO(MOD_MD_LDADD, [ "libmd.la" ])
 ])
 
 # Ensure that other modules can pick up mod_md.h



Mime
View raw message