-SUBDIRS = ap lib main modules os support
+SUBDIRS = modules os server srclib support test
PROGRAM_NAME = $(progname)
PROGRAM_SOURCES = modules.c buildmark.c
$(MPM_LIB) \
main/libmain.la \
os/$(OS_DIR)/libos.la \
- ap/libap.la \
$(AP_LIBS)
PROGRAMS = $(PROGRAM_NAME)
docs: include/*.h
mkdir -p ./docs/api
- lib/apr/helpers/scandoc -ihelpers/default.pl -p./docs/api/ ./include/*.h
+ srclib/apr/helpers/scandoc -ihelpers/default.pl -p./docs/api/ ./include/*.h
install-htdocs:
@echo Installing HTML documents
cp -p $(srcdir)/os/$(OS_DIR)/os-inline.c $(includedir); \
fi;
@cp -p $(srcdir)/modules/dav/main/mod_dav.h $(includedir)
- @cp -p $(srcdir)/lib/expat-lite/*.h $(includedir)/xml
- @cp -p lib/apr/include/*.h $(srcdir)/lib/apr/include/*.h $(includedir)/apr
+ @cp -p $(srcdir)/srclib/expat-lite/*.h $(includedir)/xml
+ @cp -p srclib/apr/include/*.h $(srcdir)/srclib/apr/include/*.h $(includedir)/apr
@chmod 644 $(includedir)/*.h $(includedir)/xml/*.h $(includedir)/apr/*.h
dnl ### util_xml is always included, so we always need Expat (for now)
apache_need_expat=yes
-dnl AP_LIB_DIRS specifies the additional libs from src/lib/ that we need
+dnl AP_LIB_DIRS specifies the additional libs from srclib/ that we need
dnl AP_LIBS specifies the actual libraries. note we have some required libs.
-AP_LIBS="lib/pcre/libpcre.la lib/aputil/libaputil.la"
-INCLUDES="$INCLUDES -I\$(top_srcdir)/lib/aputil"
+AP_LIBS="srclib/pcre/libpcre.la"
if test "$apache_need_sdbm" = "yes"; then
AP_LIB_DIRS="$AP_LIB_DIRS sdbm"
- AP_LIBS="$AP_LIBS lib/sdbm/libsdbm.la"
- INCLUDES="$INCLUDES -I\$(top_srcdir)/lib/sdbm"
+ AP_LIBS="$AP_LIBS srclib/sdbm/libsdbm.la"
+ INCLUDES="$INCLUDES -I\$(top_srcdir)/srclib/sdbm"
fi
if test "$apache_need_expat" = "yes"; then
AP_LIB_DIRS="$AP_LIB_DIRS expat-lite"
- AP_LIBS="$AP_LIBS lib/expat-lite/libexpat.la"
- INCLUDES="$INCLUDES -I\$(top_srcdir)/lib/expat-lite"
+ AP_LIBS="$AP_LIBS srclib/expat-lite/libexpat.la"
+ INCLUDES="$INCLUDES -I\$(top_srcdir)/srclib/expat-lite"
fi
dnl APR should go after the other libs, so the right symbols can be picked up
[byte order is unknown due to cross-compilation])
fi
-APACHE_FAST_OUTPUT(Makefile ap/Makefile lib/Makefile main/Makefile)
-APACHE_FAST_OUTPUT(modules/Makefile os/Makefile)
+APACHE_FAST_OUTPUT(Makefile modules/Makefile)
+APACHE_FAST_OUTPUT(os/beos/Makefile os/os2/Makefile)
+APACHE_FAST_OUTPUT(os/unix/Makefile server/Makefile)
APACHE_FAST_OUTPUT(support/Makefile test/Makefile)
-APACHE_FAST_OUTPUT(lib/pcre/Makefile lib/aputil/Makefile)
for i in $AP_LIB_DIRS; do
- APACHE_FAST_OUTPUT(lib/$i/Makefile)
+ APACHE_FAST_OUTPUT(srclib/$i/Makefile)
done
dnl ## Run configure for packages Apache uses
-SUBDIRS = mpm $(MODULE_DIRS)
+SUBDIRS = $(MODULE_DIRS)
include $(top_srcdir)/build/rules.mk
dnl modules enabled in this directory by default
-APACHE_MODPATH_INIT(standard)
+APACHE_MODPATH_INIT(loggers)
dnl APACHE_MODULE(vhost_alias,blabla)
if test "$MPM_NAME" = "beos" ; then
apache_apr_flags="--enable-threads"
- APACHE_FAST_OUTPUT(modules/mpm/$MPM_NAME/Makefile)
+ APACHE_FAST_OUTPUT(server/mpm/$MPM_NAME/Makefile)
fi
APACHE_CHECK_SIGWAIT_ONE_ARG
-APACHE_FAST_OUTPUT(modules/mpm/Makefile)
+APACHE_FAST_OUTPUT(server/mpm/Makefile)
MPM_NAME=$apache_cv_mpm
-MPM_DIR=modules/mpm/$MPM_NAME
+MPM_DIR=server/mpm/$MPM_NAME
MPM_LIB=$MPM_DIR/lib${MPM_NAME}.la
APACHE_SUBST(MPM_NAME)
if test "$MPM_NAME" = "dexter" ; then
apache_apr_flags="--enable-threads"
- APACHE_FAST_OUTPUT(modules/mpm/$MPM_NAME/Makefile)
+ APACHE_FAST_OUTPUT(server/mpm/$MPM_NAME/Makefile)
APACHE_MPM_PTHREAD
fi
if test "$MPM_NAME" = "mpmt_beos" ; then
apache_apr_flags="--enable-threads"
- APACHE_FAST_OUTPUT(modules/mpm/$MPM_NAME/Makefile)
+ APACHE_FAST_OUTPUT(server/mpm/$MPM_NAME/Makefile)
fi
if test "$MPM_NAME" = "mpmt_pthread" ; then
apache_apr_flags="--enable-threads"
- APACHE_FAST_OUTPUT(modules/mpm/$MPM_NAME/Makefile)
+ APACHE_FAST_OUTPUT(server/mpm/$MPM_NAME/Makefile)
APACHE_MPM_PTHREAD
if test "$MPM_NAME" = "perchild" ; then
apache_apr_flags="--enable-threads"
- APACHE_FAST_OUTPUT(modules/mpm/$MPM_NAME/Makefile)
+ APACHE_FAST_OUTPUT(server/mpm/$MPM_NAME/Makefile)
APACHE_MPM_PTHREAD
fi
dnl Turn off all threading functions in APR
apache_apr_flags="--disable-threads"
- APACHE_FAST_OUTPUT(modules/mpm/$MPM_NAME/Makefile)
+ APACHE_FAST_OUTPUT(server/mpm/$MPM_NAME/Makefile)
dnl Obsolete scoreboard code uses this.
AC_CHECK_HEADERS(sys/times.h)
if test "$MPM_NAME" = "spmt_os2" ; then
AC_CACHE_SAVE
- APACHE_FAST_OUTPUT(modules/mpm/$MPM_NAME/Makefile)
+ APACHE_FAST_OUTPUT(server/mpm/$MPM_NAME/Makefile)
CFLAGS="$CFLAGS -Zmt"
LDFLAGS="$LDFLAGS -Zmt"
fi
PROGRAM_LDADD = $(EXTRA_LDFLAGS) $(PROGRAM_DEPENDENCIES) $(EXTRA_LIBS)
PROGRAM_DEPENDENCIES = ../ap/libap.la \
- ../lib/aputil/libaputil.la \
../lib/sdbm/libsdbm.la \
../lib/apr/$(LIBPRE)apr.a