Use a separate toplevel target for venus/tests
[openafs.git] / Makefile.in
index 6ccbb03..e228dd5 100644 (file)
@@ -11,6 +11,7 @@ srcdir=@srcdir@
 include @TOP_OBJDIR@/src/config/Makefile.config
 
 ENABLE_KERNEL_MODULE=@ENABLE_KERNEL_MODULE@
+DOXYGEN=@DOXYGEN@
 
 # To compile AFS from scratch in the src tree run "make".
 #   This recursively calls "make install ..." and does not depend on the
@@ -59,7 +60,6 @@ generated: force buildtools
        +${COMPILE_PART1} rxkad ${COMPILE_GENERATED}
        +${COMPILE_PART1} rxstat ${COMPILE_GENERATED}
        +${COMPILE_PART1} sys ${COMPILE_GENERATED}
-       +${COMPILE_PART1} tests ${COMPILE_GENERATED}
        +${COMPILE_PART1} ubik ${COMPILE_GENERATED}
        +${COMPILE_PART1} update ${COMPILE_GENERATED}
        +${COMPILE_PART1} vlserver ${COMPILE_GENERATED}
@@ -217,7 +217,7 @@ afs: config export comerr afs_depinstall
 sys: cmd comerr afs hcrypto rx rxstat fsint sys_depinstall
        +${COMPILE_PART1} sys ${COMPILE_PART2}
 
-rxkad: cmd comerr hcrypto rx rxkad_depinstall
+rxkad: cmd comerr hcrypto rfc3961 rx rxkad_depinstall
        +${COMPILE_PART1} rxkad ${COMPILE_PART2}
 
 auth: cmd comerr hcrypto lwp rx rxkad audit sys auth_depinstall
@@ -308,7 +308,7 @@ volser: cmd comerr usd kauth vlserver audit
 
 tvolser: project viced usd libafsrpc libafsauthent volser
        +@case ${SYS_NAME} in                                           \
-       *_darwin_*|alpha_dux*|sgi_*|sun*_5*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*|*[no]bsd*)   \
+       *_darwin_*|alpha_dux*|sgi_*|sun*_5*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*|*[nof]bsd*)   \
                ${COMPILE_PART1} tvolser ${COMPILE_PART2} ;;            \
        *)                                                              \
                echo Not building MT volser for ${SYS_NAME} ;;          \
@@ -316,7 +316,7 @@ tvolser: project viced usd libafsrpc libafsauthent volser
 
 dvolser: project viced usd libafsrpc libafsauthent volser
        +@case ${SYS_NAME} in                                           \
-       *_darwin_*|alpha_dux*|sgi_*|sun*_5*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*|*[no]bsd*)   \
+       *_darwin_*|alpha_dux*|sgi_*|sun*_5*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*|*[nof]bsd*)   \
                ${COMPILE_PART1} dvolser ${COMPILE_PART2} ;;            \
        *)                                                              \
                echo Not building DAFS volser for ${SYS_NAME} ;;          \
@@ -327,6 +327,7 @@ rxosdsrc: rxgen
 
 venus: cmd comerr volser ptserver libafscp libafsauthent
        +${COMPILE_PART1} venus ${COMPILE_PART2}
+venustests: venus
        +${COMPILE_PART1} venus/test ${COMPILE_PART2}
 
 afsd: cmd comerr sys kauth libafsauthent @CLIENT_UAFS_DEP@
@@ -479,7 +480,7 @@ libafs: config export rfc3961 hcrypto lwp_depinstall \
        libacl_depinstall afs_depinstall dir_depinstall \
        rxstat_depinstall sys_depinstall auth_depinstall \
        rxosdsrc
-       src/config/config src/libafs/MakefileProto.${MKAFS_OSTYPE} src/libafs/Makefile ${SYS_NAME}
+       ${CONFIGTOOL} src/libafs/MakefileProto.${MKAFS_OSTYPE} src/libafs/Makefile ${SYS_NAME}
        +${COMPILE_PART1} libafs ${COMPILE_PART2}
 
 libafs_tree: export lwp_depinstall rx_depinstall vlserver_depinstall tvlserver_depinstall rxkad_depinstall fsint_depinstall \
@@ -496,7 +497,7 @@ libafs_tree: export lwp_depinstall rx_depinstall vlserver_depinstall tvlserver_d
 #
 
 libuafs_setup: config export
-       src/config/config src/libuafs/MakefileProto.${MKAFS_OSTYPE} src/libuafs/Makefile ${SYS_NAME}
+       ${CONFIGTOOL} src/libuafs/MakefileProto.${MKAFS_OSTYPE} src/libuafs/Makefile ${SYS_NAME}
 
 libuafs: libuafs_setup vlserver_depinstall tvlserver_depinstall rx_depinstall fsint_depinstall \
                auth_depinstall dir_depinstall libacl_depinstall rxkad_depinstall \
@@ -609,7 +610,7 @@ libadmin_real:
        +${COMPILE_PART1} libadmin/test ${COMPILE_PART2}
        +${COMPILE_PART1} libadmin/samples ${COMPILE_PART2}
 
-libadmin: libafsauthent bozo
+libadmin: libafsauthent bozo bubasics
        +case ${SYS_NAME} in \
        alpha_dux*|sgi_*|sun4x_*|sunx86_*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*) \
                        $(MAKE) libadmin_real ;; \
@@ -641,7 +642,7 @@ build_tools: config comerr rxgen
 finale: project cmd comerr afsd butc tbutc tbudb @ENABLE_KERNEL_MODULE@ libuafs audit kauth log \
        ptserver tptserver scout bu_utils ubik uss bozo @VFSCK@ volser tvolser tsalvaged \
        dviced dvolser libafscp\
-       venus update xstat afsmonitor rxdebug libafsrpc rfc3961 hcrypto \
+       venus venustests update xstat afsmonitor rxdebug libafsrpc rfc3961 hcrypto \
        libafsauthent libadmin man-pages \
        tools platform kopenafs authtools $(DIR_roken)
        +${COMPILE_PART1} finale ${COMPILE_PART2}
@@ -649,7 +650,7 @@ finale: project cmd comerr afsd butc tbutc tbudb @ENABLE_KERNEL_MODULE@ libuafs
 finale_nolibafs: project cmd comerr afsd butc tbutc tbudb libuafs audit kauth log \
        ptserver tptserver scout bu_utils ubik tubik uss bozo @VFSCK@ volser tvolser tsalvaged \
        dviced dvolser libafscp\
-       venus update xstat afsmonitor rxdebug libafsrpc rfc3961 hcrypto \
+       venus venustests update xstat afsmonitor rxdebug libafsrpc rfc3961 hcrypto \
        libafsauthent libadmin man-pages \
        tools platform kopenafs authtools $(DIR_roken)
        +${COMPILE_PART1} finale ${COMPILE_PART2}
@@ -660,8 +661,6 @@ rpctestlib: util fsint rx opr libafsrpc libafsauthent
 check test: finale
        cd tests && $(MAKE) check
 
-# Use washtool to ensure MakefileProto is current and obj/libafs exists.
-
 force:
 
 TARGET=finale
@@ -783,6 +782,11 @@ dist:
 srpm:
        (cd packages && ../src/packaging/RedHat/makesrpm.pl *-src.tar.bz2 *-doc.tar.bz2)
 
+dox:
+       if test "x$(DOXYGEN)" != "x"; then \
+           mkdir -p doc/doxygen/output && $(DOXYGEN) doc/doxygen/Doxyfile; \
+       fi
+
 distclean: clean
        /bin/rm -rf lib include packages
        /bin/rm -f config.log config.cache config.status \
@@ -815,6 +819,7 @@ distclean: clean
        src/config/Makefile.config \
        src/config/Makefile.libtool \
        src/config/Makefile.lwp \
+       src/config/Makefile.lwptool \
        src/config/Makefile.pthread \
        src/config/Makefile.shared \
        src/config/Makefile.version \