]> granicus.if.org Git - apache/blobdiff - NWGNUmakefile
building separate lib and static linking it into mod_md
[apache] / NWGNUmakefile
index 6724a89dcc357ac7a76f6a62bbbca19e28406b0b..e11219570d6352a6eaef373cf9229634cfa38a84 100644 (file)
@@ -62,18 +62,10 @@ XINCDIRS    += \
                        $(APR)/include \
                        $(APRUTIL)/include \
                        $(SRC)/include \
-                       $(STDMOD)/aaa \
                        $(STDMOD)/core \
                        $(STDMOD)/filters \
                        $(STDMOD)/generators \
-                       $(STDMOD)/http \
-                       $(STDMOD)/loggers \
-                       $(STDMOD)/mappers \
                        $(STDMOD)/proxy \
-                       $(STDMOD)/ssl \
-                       $(SERVER) \
-                       $(SERVER)/mpm/netware \
-                       $(PCRE) \
                        $(NWOS) \
                        $(EOLIST)
 
@@ -284,6 +276,7 @@ FILES_nlm_objs = \
        $(OBJDIR)/util_expr_eval.o \
        $(OBJDIR)/util_expr_parse.o \
        $(OBJDIR)/util_expr_scan.o \
+       $(OBJDIR)/util_fcgi.o \
        $(OBJDIR)/util_filter.o \
        $(OBJDIR)/util_md5.o \
        $(OBJDIR)/util_mutex.o \
@@ -371,17 +364,20 @@ FILES_lib_objs = \
 else
 
 FILES_lib_objs = \
+       $(OBJDIR)/chartables.o \
        $(OBJDIR)/pcre_compile.o \
        $(OBJDIR)/pcre_exec.o \
        $(OBJDIR)/pcre_fullinfo.o \
        $(OBJDIR)/pcre_globals.o \
-       $(OBJDIR)/pcre_info.o \
        $(OBJDIR)/pcre_newline.o \
        $(OBJDIR)/pcre_tables.o \
-       $(OBJDIR)/pcre_try_flipped.o \
        $(OBJDIR)/pcre_version.o \
-       $(OBJDIR)/chartables.o \
        $(EOLIST)
+ifeq "$(wildcard $(PCRE)/pcre_try_flipped.c)" "$(PCRE)/pcre_try_flipped.c"
+FILES_lib_objs += \
+       $(OBJDIR)/pcre_try_flipped.o \
+       $(EOLIST)
+endif 
 
 endif
 
@@ -397,7 +393,7 @@ nlms :: libs $(TARGET_nlm)
 # Updated this target to create necessary directories and copy files to the
 # correct place.  (See $(AP_WORK)/build/NWGNUhead.inc for examples)
 #
-MKCNF  = $(AWK) -v BDIR=$(BASEDIR) -v PORT=$(PORT) -v SSLPORT=$(SSLPORT) -v MODSSL=$(WITH_SSL) -v BSDSKT=$(USE_STDSOCKETS) -f build/mkconfNW.awk $1 > $2
+MKCNF  = $(AWK) -v BDIR=$(BASEDIR) -v PORT=$(PORT) -v SSLPORT=$(SSLPORT) -v MODSSL=$(WITH_SSL) -v MODHTTP2=$(WITH_HTTP2) -v BSDSKT=$(USE_STDSOCKETS) -f build/mkconfNW.awk $1 > $2
 
 install :: nlms instscripts FORCE
        $(call COPY,$(OBJDIR)/$(NLM_NAME).nlm,                         $(INSTALLBASE)/)
@@ -421,6 +417,7 @@ install :: nlms instscripts FORCE
        $(call MKCNF,docs/conf/extra/httpd-default.conf.in,            $(INSTALLBASE)/conf/extra/httpd-default.conf)
        $(call MKCNF,docs/conf/extra/httpd-info.conf.in,               $(INSTALLBASE)/conf/extra/httpd-info.conf)
        $(call MKCNF,docs/conf/extra/httpd-languages.conf.in,          $(INSTALLBASE)/conf/extra/httpd-languages.conf)
+       $(call MKCNF,docs/conf/extra/httpd-macro.conf.in,              $(INSTALLBASE)/conf/extra/httpd-macro.conf)
        $(call MKCNF,docs/conf/extra/httpd-manual.conf.in,             $(INSTALLBASE)/conf/extra/httpd-manual.conf)
        $(call MKCNF,docs/conf/extra/httpd-mpm.conf.in,                $(INSTALLBASE)/conf/extra/httpd-mpm.conf)
        $(call MKCNF,docs/conf/extra/httpd-multilang-errordoc.conf.in, $(INSTALLBASE)/conf/extra/httpd-multilang-errordoc.conf)
@@ -443,6 +440,7 @@ installdev :: FORCE
        $(call COPY,$(STDMOD)/core/mod_so.h,                           $(INSTALLBASE)/include/)
        $(call COPY,$(STDMOD)/core/mod_watchdog.h,                     $(INSTALLBASE)/include/)
        $(call COPY,$(STDMOD)/cache/mod_cache.h,                       $(INSTALLBASE)/include/)
+       $(call COPY,$(STDMOD)/cache/cache_common.h,                    $(INSTALLBASE)/include/)
        $(call COPY,$(STDMOD)/database/mod_dbd.h,                      $(INSTALLBASE)/include/)
        $(call COPY,$(STDMOD)/dav/main/mod_dav.h,                      $(INSTALLBASE)/include/)
        $(call COPY,$(STDMOD)/filters/mod_include.h,                   $(INSTALLBASE)/include/)
@@ -454,6 +452,7 @@ installdev :: FORCE
        $(call COPY,$(STDMOD)/proxy/mod_serf.h,                        $(INSTALLBASE)/include/)
        $(call COPY,$(STDMOD)/session/mod_session.h,                   $(INSTALLBASE)/include/)
        $(call COPY,$(STDMOD)/ssl/mod_ssl.h,                           $(INSTALLBASE)/include/)
+       $(call COPY,$(STDMOD)/ssl/mod_ssl_openssl.h,                   $(INSTALLBASE)/include/)
        $(call COPY,$(APR)/*.imp,                                      $(INSTALLBASE)/lib/)
        $(call COPY,$(NWOS)/*.imp,                                     $(INSTALLBASE)/lib/)
        $(call COPY,$(NWOS)/*.xdc,                                     $(INSTALLBASE)/lib/)