]> granicus.if.org Git - apache/commitdiff
Here's the simpler solution to the two groups of mappers/ modules...
authorWilliam A. Rowe Jr <wrowe@apache.org>
Fri, 8 May 2009 05:46:28 +0000 (05:46 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Fri, 8 May 2009 05:46:28 +0000 (05:46 +0000)
The mod_so and mod_watchdog are truly not mappers/ at all.  Very open
to better names than modules/core/ but these are clearly API's which
are to be consumed by the httpd core, or generically, any module.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@772848 13f79535-47bb-0310-9956-ffa450edef68

12 files changed:
Apache.dsw
Makefile.in
Makefile.win
configure.in
libhttpd.dsp
modules/core/Makefile.in [new file with mode: 0644]
modules/core/config.m4 [moved from modules/mappers/config.m4 with 98% similarity]
modules/core/mod_so.c [moved from modules/mappers/mod_so.c with 100% similarity]
modules/core/mod_so.h [moved from modules/mappers/mod_so.h with 100% similarity]
modules/core/mod_watchdog.c [moved from modules/mappers/mod_watchdog.c with 100% similarity]
modules/core/mod_watchdog.dsp [moved from modules/mappers/mod_watchdog.dsp with 100% similarity]
modules/core/mod_watchdog.h [moved from modules/mappers/mod_watchdog.h with 100% similarity]

index f7d642e39639d226b7193bedd64215e719106b41..dc4bbbb73b1263c2187934fc98b52a1558f69204 100644 (file)
@@ -2996,7 +2996,7 @@ Package=<4>
 
 ###############################################################################
 
-Project: "mod_watchdog"=.\modules\mappers\mod_watchdog.dsp - Package Owner=<4>
+Project: "mod_watchdog"=.\modules\core\mod_watchdog.dsp - Package Owner=<4>
 
 Package=<5>
 {{{
index f00eef6a2d3356483d1d0c3142e637d5a31c98d5..55a624804ac323cc2eb3ae48c343a7135ef68cc6 100644 (file)
@@ -181,6 +181,9 @@ INSTALL_HEADERS = \
        include/*.h \
        $(srcdir)/include/*.h \
        $(srcdir)/os/$(OS_DIR)/os.h \
+       $(srcdir)/modules/core/mod_so.h \
+       $(srcdir)/modules/core/mod_watchdog.h \
+       $(srcdir)/modules/cache/mod_cache.h \
        $(srcdir)/modules/database/mod_dbd.h \
        $(srcdir)/modules/dav/main/mod_dav.h \
        $(srcdir)/modules/filters/mod_include.h \
@@ -192,10 +195,6 @@ INSTALL_HEADERS = \
        $(srcdir)/modules/proxy/mod_serf.h \
         ${srcdir}/modules/session/mod_session.h \
        $(srcdir)/modules/ssl/mod_ssl.h \
-       $(srcdir)/modules/mappers/mod_so.h \
-       $(srcdir)/modules/mappers/mod_rewrite.h \
-       $(srcdir)/modules/mappers/mod_watchdog.h \
-       $(srcdir)/modules/cache/mod_cache.h \
        $(srcdir)/os/$(OS_DIR)/*.h
 
 install-include:
index e1e2faf8a9b3f334bd1ac17110bf3c5ba78d67cb..973765eefbebb5f0e53445b22bf410c875a2f606 100644 (file)
@@ -340,6 +340,9 @@ _build:
         $(MAKE) $(MAKEOPT) -f mod_socache_memcache.mak CFG="mod_socache_memcache - Win32 $(LONG)" RECURSE=0 $(CTARGET)
         $(MAKE) $(MAKEOPT) -f mod_socache_shmcb.mak CFG="mod_socache_shmcb - Win32 $(LONG)" RECURSE=0 $(CTARGET)
        cd ..\..
+       cd modules\core
+        $(MAKE) $(MAKEOPT) -f mod_watchdog.mak    CFG="mod_watchdog - Win32 $(LONG)" RECURSE=0 $(CTARGET)
+       cd ..\..
        cd modules\cluster
         $(MAKE) $(MAKEOPT) -f mod_heartbeat.mak   CFG="mod_heartbeat - Win32 $(LONG)" RECURSE=0 $(CTARGET)
         $(MAKE) $(MAKEOPT) -f mod_heartmonitor.mak CFG="mod_heartmonitor - Win32 $(LONG)" RECURSE=0 $(CTARGET)
@@ -416,7 +419,6 @@ _build:
         $(MAKE) $(MAKEOPT) -f mod_speling.mak     CFG="mod_speling - Win32 $(LONG)" RECURSE=0 $(CTARGET)
         $(MAKE) $(MAKEOPT) -f mod_userdir.mak     CFG="mod_userdir - Win32 $(LONG)" RECURSE=0 $(CTARGET)
         $(MAKE) $(MAKEOPT) -f mod_vhost_alias.mak CFG="mod_vhost_alias - Win32 $(LONG)" RECURSE=0 $(CTARGET)
-        $(MAKE) $(MAKEOPT) -f mod_watchdog.mak    CFG="mod_watchdog - Win32 $(LONG)" RECURSE=0 $(CTARGET)
        cd ..\..
        cd modules\metadata
         $(MAKE) $(MAKEOPT) -f mod_cern_meta.mak   CFG="mod_cern_meta - Win32 $(LONG)" RECURSE=0 $(CTARGET)
@@ -906,19 +908,20 @@ BEGIN {
                srclib\apr-util\include\*.h \
                include\*.h \
                os\win32\os.h \
+               modules\cache\mod_cache.h \
+               modules\core\mod_so.h \
+               modules\core\mod_watchdog.h \
                modules\database\mod_dbd.h \
                modules\dav\main\mod_dav.h \
                modules\filters\mod_include.h \
                modules\generators\mod_cgi.h \
                modules\generators\mod_status.h \
                modules\loggers\mod_log_config.h \
+               modules\mappers\mod_rewrite.h \
                modules\proxy\mod_proxy.h \
                modules\proxy\mod_serf.h \
                modules\ssl\mod_ssl.h \
-               modules\mappers\mod_so.h \
-               modules\mappers\mod_rewrite.h \
-               modules\mappers\mod_watchdog.h \
-               modules\cache\mod_cache.h ) do \
+          ) do \
            @copy %f "$(INSTDIR)\include" < .y > nul
        copy srclib\apr\Lib$(SHORT)\apr-1.lib           "$(INSTDIR)\lib" <.y
        copy srclib\apr\Lib$(SHORT)\apr-1.pdb           "$(INSTDIR)\lib" <.y
index b93773bc24f47987a734fb2ce1f6593608068f5f..44fcf3ff0e01791747a50bcde58c548c5f6e66e6 100644 (file)
@@ -216,7 +216,7 @@ if test "$abs_builddir" != "$abs_srcdir"; then
   APR_ADDTO(INCLUDES, [-I\$(top_builddir)/include])
 fi
 
-APR_ADDTO(INCLUDES, [-I\$(top_srcdir)/os/\$(OS_DIR) -I\$(top_srcdir)/modules/http -I\$(top_srcdir)/modules/aaa -I\$(top_srcdir)/modules/filters -I\$(top_srcdir)/modules/proxy -I\$(top_srcdir)/modules/session -I\$(top_srcdir)/include -I\$(top_srcdir)/modules/generators -I\$(top_srcdir)/modules/mappers -I\$(top_srcdir)/modules/database])
+APR_ADDTO(INCLUDES, [-I\$(top_srcdir)/os/\$(OS_DIR) -I\$(top_srcdir)/modules/http -I\$(top_srcdir)/modules/aaa -I\$(top_srcdir)/modules/filters -I\$(top_srcdir)/modules/proxy -I\$(top_srcdir)/modules/session -I\$(top_srcdir)/include -I\$(top_srcdir)/modules/core -I\$(top_srcdir)/modules/generators  -I\$(top_srcdir)/modules/mappers -I\$(top_srcdir)/modules/database])
 
 # apr/apr-util --includes may pick up system paths for dependent
 # libraries, so ensure these are later in INCLUDES than local source
index 72856b9e0875edfc5f7286c721d8e912c8a1814e..01d7524fdedf62b69c3ae028b3340ed7757b5b0a 100644 (file)
@@ -284,16 +284,16 @@ InputPath=.\modules\proxy\mod_proxy.h
 # End Source File
 # Begin Source File
 
-SOURCE=.\modules\mappers\mod_so.h
+SOURCE=.\modules\core\mod_so.h
 
 !IF  "$(CFG)" == "libhttpd - Win32 Release"
 
 # PROP Ignore_Default_Tool 1
 # Begin Custom Build - Creating include/mod_so.h
-InputPath=.\modules\mappers\mod_so.h
+InputPath=.\modules\core\mod_so.h
 
 ".\include\mod_so.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
-       type .\modules\mappers\mod_so.h > .\include\mod_so.h
+       type .\modules\core\mod_so.h > .\include\mod_so.h
 
 # End Custom Build
 
@@ -301,10 +301,10 @@ InputPath=.\modules\mappers\mod_so.h
 
 # PROP Ignore_Default_Tool 1
 # Begin Custom Build - Creating include/mod_so.h
-InputPath=.\modules\mappers\mod_so.h
+InputPath=.\modules\core\mod_so.h
 
 ".\include\mod_so.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
-       type .\modules\mappers\mod_so.h > .\include\mod_so.h
+       type .\modules\core\mod_so.h > .\include\mod_so.h
 
 # End Custom Build
 
diff --git a/modules/core/Makefile.in b/modules/core/Makefile.in
new file mode 100644 (file)
index 0000000..167b343
--- /dev/null
@@ -0,0 +1,3 @@
+
+include $(top_srcdir)/build/special.mk
+
similarity index 98%
rename from modules/mappers/config.m4
rename to modules/core/config.m4
index 5cecf0f5d7787929db826a1561963c918d47d33a..84e71060ec0211da716bf10bc3b6e36798abd89d 100644 (file)
@@ -2,7 +2,7 @@ dnl modules enabled in this directory by default
 
 dnl APACHE_MODULE(name, helptext[, objects[, structname[, default[, config]]]])
 
-APACHE_MODPATH_INIT(mappers)
+APACHE_MODPATH_INIT(core)
 
 APR_CHECK_APR_DEFINE(APR_HAS_DSO)