misc-patches-20040726
[openafs.git] / Makefile.in
index defcb51..675d4f8 100644 (file)
@@ -287,33 +287,48 @@ vfsck:    vol
                ${COMPILE_PART1} vfsck ${COMPILE_PART2} ;; \
        esac
 
-login: cmd comerr kauth rxkad
+pam: cmd comerr kauth rxkad
+       set -x; \
+       if test "@HAVE_PAM@" = "yes"; then \
+               ${COMPILE_PART1} pam ${COMPILE_PART2} ; \
+       else \
+               echo Skipping pam for ${SYS_NAME} ; \
+       fi
+
+tsm41: cmd comerr kauth rxkad
        set -x; \
        case ${SYS_NAME} in \
-       sgi_* ) \
-               ${COMPILE_PART1} sgistuff ${COMPILE_PART2} ;; \
-       rs_aix42 | rs_aix51 ) \
+       rs_aix* ) \
                ${COMPILE_PART1} tsm41 ${COMPILE_PART2} ;; \
+       * ) \
+               echo Skipping tsm41 for ${SYS_NAME} ;; \
+       esac
+
+sia: cmd comerr kauth rxkad
+       set -x; \
+       case ${SYS_NAME} in \
        alpha_dux* ) \
                ${COMPILE_PART1} sia ${COMPILE_PART2} ;; \
-       sun4x_55 ) \
-               ${COMPILE_PART1} login ${COMPILE_PART2} ;; \
-       parisc_linux24) \
-               echo Skipping pam/login for parisc_linux24 ;; \
-       amd64_linux24) \
-               echo Skipping pam/login for amd64_linux24 ;; \
-       sun4x_* | sunx86_* | hp_ux11* | ia64_hpux* | *linux* | *fbsd* ) \
-               if test "@HAVE_PAM@" = "yes"; then \
-                       ${COMPILE_PART1} pam ${COMPILE_PART2} ; \
-               else \
-                       echo Skipping pam for ${SYS_NAME} ; \
-               fi ;; \
-       *_darwin* | *_obsd* | *_nbsd* | hp_ux* | rs_aix5* ) \
-               echo Skipping login for ${SYS_NAME} ;; \
        * ) \
-               ${COMPILE_PART1} login ${COMPILE_PART2} ;; \
+               echo Skipping sia for ${SYS_NAME} ;; \
        esac
 
+sgistuff: cmd comerr kauth rxkad
+       set -x; \
+       case ${SYS_NAME} in \
+       sgi_* ) \
+               ${COMPILE_PART1} sgistuff ${COMPILE_PART2} ;; \
+       * ) \
+               echo Skipping sgistuff for ${SYS_NAME} ;; \
+       esac
+
+login: cmd comerr kauth rxkad pam sia tsm41 sgistuff
+       set -x; \
+       if test "@BUILD_LOGIN@" = "yes"; then \
+               ${COMPILE_PART1} login ${COMPILE_PART2} ; \
+       else \
+               echo Skipping login for ${SYS_NAME} ; \
+       fi
 
 #
 # _depinstall targets - only build and install headers/sources that are needed by libafs/libuafs
@@ -428,7 +443,7 @@ butc: cmd comerr bubasics butm budb bucoord cmd rxgen rx
 
 tbutc: cmd comerr bubasics butm budb bucoord cmd butc
        case ${SYS_NAME} in \
-       alpha_dux*|sgi_*|sun4x_*|sunx86_*|rs_aix4*|*linux*|hp_ux11*|ia64_hpux*) \
+       alpha_dux*|sgi_*|sun4x_*|sunx86_*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*) \
                ${COMPILE_PART1} tbutc ${COMPILE_PART2} ;; \
        *) \
                echo Not building MT butc for ${SYS_NAME} ;; \
@@ -653,6 +668,7 @@ clean2:
        -${COMPILE_PART1} rcp ${COMPILE_CLEAN}
        -${COMPILE_PART1} libafs ${COMPILE_CLEAN}
        -${COMPILE_PART1} libuafs ${COMPILE_CLEAN}
+       -${COMPILE_PART1} tests ${COMPILE_CLEAN}
        -(cd src/libafs; /bin/rm -rf afs afsint config rx)
        -(cd src/libuafs; /bin/rm -rf afs afsint config rx des)
        -/bin/rm -rf ${TOP_INCDIR} ${TOP_LIBDIR} ${TOP_JLIBDIR}
@@ -660,6 +676,7 @@ clean2:
 
  
 distclean: clean
+       /bin/rm -rf lib include
        /bin/rm -f config.log config.cache config.status \
        src/config/afsconfig.h \
        Makefile \
@@ -781,7 +798,8 @@ distclean: clean
        src/vol/test/Makefile \
        src/volser/Makefile \
        src/wsadmin.src/Makefile \
-       src/xstat/Makefile 
+       src/xstat/Makefile  \
+       src/helper-splint.sh
 
 pristine: distclean
        /bin/rm -f src/config/afsconfig.h.in configure configure-libafs aclocal.m4