Use a separate toplevel target for venus/tests
[openafs.git] / Makefile.in
index b001336..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
@@ -326,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@
@@ -608,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 ;; \
@@ -640,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}
@@ -648,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}
@@ -659,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
@@ -782,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 \