LINUX 5.6: define time_t and use timespec/timespec64
[openafs.git] / Makefile.in
index 7a54018..49298f2 100644 (file)
@@ -187,14 +187,14 @@ roken: config
 rxgen: $(DIR_roken) config
        +${COMPILE_PART1} rxgen ${COMPILE_PART2}
 
-rx: config lwp rxgen rx_depinstall util
+rx: config lwp rxgen rx_depinstall util rxgk_depinstall
        +${COMPILE_PART1} rx ${COMPILE_PART2}
 
 rxstat: rx rxstat_depinstall
        +${COMPILE_PART1} rxstat ${COMPILE_PART2}
 
 rxtests: rxdebug
-rxdebug: rx sys
+rxdebug: rx sys rxgk
        +${COMPILE_PART1} rxdebug ${COMPILE_PART2}
 
 fsint: cmd comerr rxgen rx lwp fsint_depinstall
@@ -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}
 
-rxgk: cmd comerr hcrypto rx rxgk_depinstall
+rxgk: cmd comerr hcrypto rfc3961 rx rxgk_depinstall
        +set -x; \
        if test "@BUILD_RXGK@" = "yes"; then \
                ${COMPILE_PART1} rxgk ${COMPILE_PART2} ; \
@@ -228,7 +228,7 @@ rxgk: cmd comerr hcrypto rx rxgk_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
+auth: cmd comerr hcrypto lwp rx rxkad audit sys auth_depinstall rxgk
        +${COMPILE_PART1} auth ${COMPILE_PART2}
 
 ubik: cmd comerr auth ubik_depinstall sys
@@ -236,7 +236,7 @@ ubik: cmd comerr auth ubik_depinstall sys
 
 tubik: ubik libafsrpc libafsauthent
        +case ${SYS_NAME} in \
-       alpha_dux*|sgi_*|sun*_5*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*|*[nof]bsd*|*_darwin_*) \
+       sgi_*|sun*_5*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*|*[nof]bsd*|*_darwin_*) \
                ${COMPILE_PART1} tubik ${COMPILE_PART2} ;; \
        *) \
                echo Not building MT ubik for ${SYS_NAME} ;; \
@@ -249,7 +249,7 @@ ptserver: cmd comerr ubik cmd comerr auth audit ptserver_depinstall
 
 tptserver: cmd comerr ptserver tubik libafsrpc libafsauthent
        +case ${SYS_NAME} in \
-       alpha_dux*|sgi_*|sun*_5*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*|*[nof]bsd*|*_darwin_*) \
+       sgi_*|sun*_5*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*|*[nof]bsd*|*_darwin_*) \
                ${COMPILE_PART1} tptserver ${COMPILE_PART2} ;; \
        *) \
                echo Not building MT ptserver for ${SYS_NAME} ;; \
@@ -270,7 +270,7 @@ vol: cmd comerr dir afs $(DIR_roken)
 
 tsalvaged: vol libafsrpc libafsauthent cmd util
        +case ${SYS_NAME} in \
-               alpha_dux*|sgi_*|sun*_5*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*|*[fn]bsd*|*_darwin_*) \
+               sgi_*|sun*_5*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*|*[fn]bsd*|*_darwin_*) \
                        ${COMPILE_PART1} tsalvaged ${COMPILE_PART2} ;; \
                *_darwin_*) \
                        ${COMPILE_PART1} tsalvaged  ${COMPILE_PART2} ;; \
@@ -285,7 +285,7 @@ vlserver: cmd comerr vol audit vlserver_depinstall
 tvlserver: cmd comerr vol audit tubik libafsrpc libafsauthent \
        tvlserver_depinstall
        +case ${SYS_NAME} in \
-       alpha_dux*|sgi_*|sun*_5*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*|*[nof]bsd*|*_darwin_*) \
+       sgi_*|sun*_5*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*|*[nof]bsd*|*_darwin_*) \
                ${COMPILE_PART1} tvlserver ${COMPILE_PART2} ;; \
        *) \
                echo Not building MT tvlserver for ${SYS_NAME} ;; \
@@ -297,7 +297,7 @@ viced: cmd comerr vlserver tvlserver libafsrpc libafsauthent audit
 
 dviced: cmd comerr viced vlserver tvlserver libafsrpc libafsauthent
        +case ${SYS_NAME} in \
-       alpha_dux*|sgi_*|sun*_5*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*|*[nof]bsd*|*_darwin_*) \
+       sgi_*|sun*_5*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*|*[nof]bsd*|*_darwin_*) \
                ${COMPILE_PART1} dviced ${COMPILE_PART2} ;; \
        *) \
                echo Not building DAFS viced for ${SYS_NAME} ;; \
@@ -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*|*[nof]bsd*)   \
+       *_darwin_*|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*|*[nof]bsd*)   \
+       *_darwin_*|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} ;;          \
@@ -531,7 +531,7 @@ butc: cmd comerr bubasics butm budb bucoord cmd rxgen rx
 
 tbutc: cmd comerr bubasics butm budb bucoord cmd butc libadmin
        +case ${SYS_NAME} in \
-       alpha_dux*|sgi_*|sun4x_*|sunx86_*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*|*_darwin_*) \
+       sgi_*|sun4x_*|sunx86_*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*|*_darwin_*) \
                ${COMPILE_PART1} tbutc ${COMPILE_PART2} ;; \
        *) \
                echo Not building MT butc for ${SYS_NAME} ;; \
@@ -542,7 +542,7 @@ budb: cmd comerr bubasics uss
 
 tbudb: budb tubik
        +case ${SYS_NAME} in \
-       alpha_dux*|sgi_*|sun*_5*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*|*[nof]bsd*|*_darwin_*) \
+       sgi_*|sun*_5*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*|*[nof]bsd*|*_darwin_*) \
                ${COMPILE_PART1} tbudb ${COMPILE_PART2} ;; \
        *) \
                echo Not building MT budb for ${SYS_NAME} ;; \
@@ -565,9 +565,9 @@ afsmonitor: cmd comerr gtx xstat
 tests: rxtests ubiktests rpctestlib viced
 
 # pthread based user space RX library
-libafsrpc: comerr fsint hcrypto lwp rx rxkad rxstat sys util
+libafsrpc: comerr fsint hcrypto lwp rx rxkad rxstat sys util rxgk
        +case ${SYS_NAME} in \
-       alpha_dux*|sgi_*|sun4x_*|sunx86_*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*|*[nof]bsd*) \
+       sgi_*|sun4x_*|sunx86_*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*|*[nof]bsd*) \
        ${COMPILE_PART1} libafsrpc ${COMPILE_PART2} ;; \
        *_darwin_[1-6][0-9]) \
                echo Not building MT libafsrpc for ${SYS_NAME} ;; \
@@ -579,7 +579,7 @@ libafsrpc: comerr fsint hcrypto lwp rx rxkad rxstat sys util
 
 libafsauthent: audit auth kauth ubik util sys ptserver volser vlserver libafsrpc
        +case ${SYS_NAME} in \
-       alpha_dux*|sgi_*|sun4x_*|sunx86_*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*|*[nof]bsd*) \
+       sgi_*|sun4x_*|sunx86_*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*|*[nof]bsd*) \
        ${COMPILE_PART1} libafsauthent ${COMPILE_PART2} ;; \
        *_darwin_[1-6][0-9]) \
                echo Not building MT libafsauthent for ${SYS_NAME} ;; \
@@ -606,7 +606,7 @@ libadmin_real:
 
 libadmin: libafsauthent bozo bubasics
        +case ${SYS_NAME} in \
-       alpha_dux*|sgi_*|sun4x_*|sunx86_*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*) \
+       sgi_*|sun4x_*|sunx86_*|rs_aix*|*linux*|hp_ux11*|ia64_hpux*) \
                        $(MAKE) libadmin_real ;; \
        *_darwin_[1-6][0-9]) \
                echo Not building MT libadmin for ${SYS_NAME} ;; \
@@ -618,7 +618,7 @@ libadmin: libafsauthent bozo bubasics
 
 libjafs: libadmin
        +case ${SYS_NAME} in \
-       alpha_dux*|sgi_*|sun4x_*|rs_aix*|*linux*|hp_ux110) \
+       sgi_*|sun4x_*|rs_aix*|*linux*|hp_ux110) \
        ${COMPILE_PART1} JAVA/libjafs  ${COMPILE_PART2} ;; \
        *) \
                echo Not building MT libjafs for ${SYS_NAME} ;; \
@@ -633,7 +633,7 @@ jafsadm: libjafsadm
 build_tools: config comerr rxgen
        +${COMPILE_PART1} util ${COMPILE_PART2A} buildtools_clean
 
-finale: project cmd comerr afsd butc tbutc tbudb @ENABLE_KERNEL_MODULE@ \
+finale_notest: 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 venustests update xstat afsmonitor rxdebug libafsrpc rfc3961 \
@@ -641,7 +641,7 @@ finale: project cmd comerr afsd butc tbutc tbudb @ENABLE_KERNEL_MODULE@ \
        authtools $(DIR_roken) rxgk
        +${COMPILE_PART1} finale ${COMPILE_PART2}
 
-finale_nolibafs: project cmd comerr afsd butc tbutc tbudb libuafs audit kauth \
+finale_nolibafs_notest: 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 venustests \
        update xstat afsmonitor rxdebug libafsrpc rfc3961 hcrypto \
@@ -652,7 +652,17 @@ finale_nolibafs: project cmd comerr afsd butc tbutc tbudb libuafs audit kauth \
 rpctestlib: util fsint rx opr libafsrpc libafsauthent
        +${TEST_PART1} rpctestlib  ${COMPILE_PART2}
 
-check test: finale
+finale: finale_notest test_build
+
+finale_nolibafs: finale_nolibafs_notest test_build_nolibafs
+
+test_build: finale_notest
+       cd tests && $(MAKE) all
+
+test_build_nolibafs: finale_nolibafs_notest
+       cd tests && $(MAKE) all
+
+check test: finale_notest
        cd tests && $(MAKE) check
 
 force: