Update NEWS file with important changes in 1.2.5 release.
[openafs.git] / Makefile.in
index 30caac7..e4c907d 100644 (file)
@@ -5,38 +5,8 @@
 # License.  For details, see the LICENSE file in the top-level source
 # directory or online at http://www.openafs.org/dl/license10.html
 
-SHELL=/bin/sh
-DEST=@DEST@
-TOP_SRCDIR=@TOP_SRCDIR@
-TOP_INCDIR=@TOP_INCDIR@
-TOP_LIBDIR=@TOP_LIBDIR@
-TOP_OBJDIR=@TOP_OBJDIR@
 srcdir=@srcdir@
-VPATH=${srcdir}
-prefix=@prefix@
-exec_prefix=@exec_prefix@
-bindir=@bindir@
-sbindir=@sbindir@
-libexecdir=@libexecdir@
-libdir=@libdir@
-includedir=@includedir@
-mandir=@mandir@
-afskerneldir=@afskerneldir@
-afssrvbindir=@afssrvbindir@
-afssrvsbindir=@afssrvsbindir@
-afssrvlibexecdir=@afssrvlibexecdir@
-
-# Systype-generic items
-SYS_NAME=@AFS_SYSNAME@
-MKAFS_OSTYPE=@MKAFS_OSTYPE@
-
-# Systype-specific items
-LINUX_KERNEL_PATH=@LINUX_KERNEL_PATH@
-LINUX_VERSION=@LINUX_VERSION@
-DARWIN_INFOFILE=@DARWIN_INFOFILE@
-
-# Other items
-LIB_AFSDB=@LIB_AFSDB@
+include @TOP_OBJDIR@/src/config/Makefile.config
 
 # Enable build+install of obsolete and insecure packages
 # Set to anything other than YES, or comment out to disable the build
@@ -45,8 +15,6 @@ WITH_INSECURE=@WITH_INSECURE@
 
 ENABLE_KERNEL_MODULE=@ENABLE_KERNEL_MODULE@
 
-include src/config/Makefile.${SYS_NAME}
-
 # To compile AFS from scratch in the src tree run "make".
 #   This recursively calls "make install ..." and does not depend on the
 #   existence of any non-standard programs.
@@ -119,9 +87,12 @@ dest_dirs: force
 build_dirs_rx:
        mkdir -p ${TOP_OBJDIR}/src/libafs/rx
        mkdir -p ${TOP_OBJDIR}/src/libuafs/rx
-       
+
 project: cmd comerr 
 
+tests: all 
+       ${COMPILE_PART1} tests ${COMPILE_PART2}
+
 config: 
        ${COMPILE_PART1} config ${COMPILE_PART2}
 
@@ -142,7 +113,7 @@ comerr: util
 
 cmd: comerr
        @case ${SYS_NAME} in \
-       sgi_6* | sun*_57 | sun*_58 | hp_ux11* | sparc64_linux* | alpha_linux* ) \
+       sgi_6* | sun*_5[789] | hp_ux11* | sparc64_linux* | alpha_linux* ) \
                ${COMPILE_PART1} cmd ${COMPILE_PART2}64 ;; \
        *) \
                ${COMPILE_PART1} cmd ${COMPILE_PART2} ;; \
@@ -235,7 +206,7 @@ viced: project vlserver audit
 
 tviced: project viced vlserver libafsrpc libafsauthent
        case ${SYS_NAME} in \
-       alpha_dux*|sgi_*|sun4x_*|sunx86_*|rs_aix*|*linux*|hp_ux110) \
+       alpha_dux*|sgi_*|sun4x_*|sunx86_*|rs_aix*|*linux*|hp_ux110|*fbsd*) \
                ${COMPILE_PART1} tviced ${COMPILE_PART2} ;; \
        *) \
                echo Not building MT viced for ${SYS_NAME} ;; \
@@ -287,7 +258,7 @@ bozo: project ntp audit
 vfsck: vol
        set -x; \
        case ${SYS_NAME} in \
-       sgi_* | *linux* | rs_aix42 | ppc_darwin* | hp_ux* | *fbsd* | *_obsd* ) \
+       sgi_* | *linux* | rs_aix42 | ppc_darwin* | hp_ux* | *fbsd* | *_obsd* | *_nbsd* ) \
                echo skip vfsck for ${SYS_NAME} ;; \
         * ) \
                ${COMPILE_PART1} vfsck ${COMPILE_PART2} ;; \
@@ -308,7 +279,7 @@ login: project kauth rxkad
                echo Skipping pam/login for parisc_linux24 ;; \
        sun4x_* | sunx86_* | hp_ux11* | *linux* | *fbsd* ) \
                ${COMPILE_PART1} pam ${COMPILE_PART2} ;; \
-       ppc_darwin* | *_obsd* ) \
+       ppc_darwin* | *_obsd* | *_nbsd* ) \
                echo Skipping login for ${SYS_NAME} ;; \
        * ) \
                ${COMPILE_PART1} login ${COMPILE_PART2} ;; \
@@ -362,7 +333,7 @@ libafs_tree: libafs_setup ${KERNELDIR}
                ${INSTALL} -c -f $$f libafs_tree/$$f; \
        done
        src/config/config src/libafs/MakefileProto.${MKAFS_OSTYPE}.in libafs_tree/Makefile.in ${SYS_NAME}
-       ${INSTALL} -c src/config/Makefile.${SYS_NAME}.in libafs_tree/config
+       ${INSTALL} -c src/config/Makefile.config.in libafs_tree/config
        ${INSTALL} -c src/config/afsconfig.h.in libafs_tree/config
        ${INSTALL} -c -f -ns configure-libafs libafs_tree/configure
        case ${SYS_NAME} in \
@@ -374,7 +345,7 @@ libafs_tree: libafs_setup ${KERNELDIR}
 libuafs: lwp libuafs_setup ${UKERNELDIR}
        set -x; \
        case ${SYS_NAME} in \
-       hp_ux102* | *_obsd* ) \
+       hp_ux102* | *_obsd* | *_nbsd*) \
                echo Skipping libuafs for ${SYS_NAME} ;; \
        * ) \
                ${COMPILE_PART1} libuafs ${COMPILE_PART2} ;; \
@@ -429,7 +400,7 @@ tests: rxtests ubiktests
 # pthread based user space RX library
 libafsrpc: rx rxkad des
        case ${SYS_NAME} in \
-       alpha_dux*|sgi_*|sun4x_*|sunx86_*|rs_aix*|*linux*|hp_ux110) \
+       alpha_dux*|sgi_*|sun4x_*|sunx86_*|rs_aix*|*linux*|hp_ux110|*fbsd*) \
        ${COMPILE_PART1} libafsrpc ${COMPILE_PART2} ;; \
        *) \
                echo Not building MT libafsrpc for ${SYS_NAME} ;; \
@@ -437,7 +408,7 @@ libafsrpc: rx rxkad des
 
 libafsauthent: ubik auth kauth libafsrpc
        case ${SYS_NAME} in \
-       alpha_dux*|sgi_*|sun4x_*|sunx86_*|rs_aix*|*linux*|hp_ux110) \
+       alpha_dux*|sgi_*|sun4x_*|sunx86_*|rs_aix*|*linux*|hp_ux110|*fbsd*) \
        ${COMPILE_PART1} libafsauthent ${COMPILE_PART2} ;; \
        *) \
                echo Not building MT libafsrpc for ${SYS_NAME} ;; \
@@ -562,6 +533,7 @@ clean2:
        -${COMPILE_PART1} bucoord ${COMPILE_CLEAN}
        -${COMPILE_PART1} xstat ${COMPILE_CLEAN}
        -${COMPILE_PART1} afsmonitor ${COMPILE_CLEAN}
+       -${COMPILE_PART1} tests ${COMPILE_CLEAN}
        -${COMPILE_PART1} rxdebug ${COMPILE_CLEAN}
        -${COMPILE_PART1} libafsrpc ${COMPILE_CLEAN}
        -${COMPILE_PART1} libafsauthent ${COMPILE_CLEAN}
@@ -619,7 +591,7 @@ distclean: clean
        src/config/Makefile \
        src/config/Makefile.version \
        src/config/Makefile.version-NOCML \
-       src/config/Makefile.${SYS_NAME} \
+       src/config/Makefile.config \
        src/dauth/Makefile \
        src/des/test/Makefile \
        src/des/Makefile \
@@ -690,6 +662,9 @@ distclean: clean
        src/sia/Makefile \
        src/sys/Makefile \
        src/tbutc/Makefile \
+       src/tests/Makefile \
+       src/tests/run-tests \
+       src/tests/OpenAFS/Dirpath.pm \
        src/tsm41/Makefile \
        src/tviced/Makefile \
        src/ubik/Makefile \