IRIX: Move src/sgistuff to platform/IRIX

Change-Id: Ie7e17859c346e472af1d07adf2c359250f71d653
Reviewed-on: http://gerrit.openafs.org/11634
Reviewed-by: Daria Brashear <shadow@your-file-system.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
This commit is contained in:
Chas Williams (CONTRACTOR) 2014-12-15 10:58:02 -05:00 committed by Jeffrey Altman
parent 6e545ebf97
commit 84422047f4
8 changed files with 79 additions and 105 deletions

View File

@ -386,15 +386,6 @@ tsm41: cmd comerr kauth rxkad
echo Skipping tsm41 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
aklog: auth comerr ptserver libafsauthent
+set -x; \
if test "@BUILD_KRB5@" = "yes"; then \
@ -403,7 +394,7 @@ aklog: auth comerr ptserver libafsauthent
echo Skipping aklog for ${SYS_NAME} ; \
fi
authtools: pam tsm41 sgistuff aklog
authtools: pam tsm41 platform aklog
platform: config cmd vol
+${COMPILE_PART1} platform ${COMPILE_PART2}
@ -732,7 +723,6 @@ clean2:
-${COMPILE_PART1} uss ${COMPILE_CLEAN}
-${COMPILE_PART1} bozo ${COMPILE_CLEAN}
-${COMPILE_PART1} vfsck ${COMPILE_CLEAN}
-${COMPILE_PART1} sgistuff ${COMPILE_CLEAN}
-${COMPILE_PART1} tsm41 ${COMPILE_CLEAN}
-${COMPILE_PART1} sia ${COMPILE_CLEAN}
-${COMPILE_PART1} aklog ${COMPILE_CLEAN}
@ -904,7 +894,6 @@ distclean: clean
src/rxosd/Makefile \
src/rxstat/Makefile \
src/scout/Makefile \
src/sgistuff/Makefile \
src/sys/Makefile \
src/tbutc/Makefile \
src/tests/Makefile \

View File

@ -253,7 +253,6 @@ AC_OUTPUT([
src/rxosd/Makefile
src/rxstat/Makefile
src/scout/Makefile
src/sgistuff/Makefile
src/sys/Makefile
src/tbutc/Makefile
src/tests/Makefile

View File

@ -5,10 +5,84 @@
# License. For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html
srcdir=@srcdir@
include @TOP_OBJDIR@/src/config/Makefile.config
include @TOP_OBJDIR@/src/config/Makefile.lwp
SHELL=/bin/sh
# We have no platform-specific stuff for this platform (yet).
all:
install:
dest:
#
# This must be built after inetd has built ta-rauth.o and after rsh
# XXX want these to end up in /usr/afsws ...
# Note that if afskauthlib.so gets installed on a client
# machine then that will be used ..
#
LIBDIR=${TOP_LIBDIR}/
AFSLIBS=${TOP_LIBDIR}/libkauth.a \
${TOP_LIBDIR}/libprot.a \
${LIBDIR}/libubik.a \
${TOP_LIBDIR}/libauth.a \
${TOP_LIBDIR}/librxkad.a \
${TOP_LIBDIR}/libsys.a \
${LIBDIR}/librx.a \
${TOP_LIBDIR}/libafsrfc3961.a \
${TOP_LIBDIR}/libafshcrypto_lwp.a \
${LIBDIR}/liblwp.a \
${TOP_LIBDIR}/libcmd.a \
${TOP_LIBDIR}/libafscom_err.a \
${TOP_LIBDIR}/util.a
KAFSLIBS=${TOP_LIBDIR}/libkauth.krb.a \
${TOP_LIBDIR}/libprot.a \
${LIBDIR}/libubik.a \
${TOP_LIBDIR}/libauth.krb.a \
${TOP_LIBDIR}/librxkad.a \
${TOP_LIBDIR}/libsys.a \
${LIBDIR}/librx.a \
${TOP_LIBDIR}/libafsrfc3961.a \
${TOP_LIBDIR}/libafshcrypto_lwp.a \
${LIBDIR}/liblwp.a \
${TOP_LIBDIR}/libcmd.a \
${TOP_LIBDIR}/libafscom_err.a \
${TOP_LIBDIR}/util.a
AUTHFILES=ta-rauth.o rcmd.o herror.o
AUTHLIBS=afsauthlib.so afskauthlib.so
TARGETS=$(AUTHLIBS)
all: ${TOP_LIBDIR}/afsauthlib.so ${TOP_LIBDIR}/afskauthlib.so
${TOP_LIBDIR}/afsauthlib.so: afsauthlib.so
${INSTALL_DATA} $? $@
${TOP_LIBDIR}/afskauthlib.so: afskauthlib.so
${INSTALL_DATA} $? $@
install install.noversion: afsauthlib.so afskauthlib.so
${INSTALL} -d ${DESTDIR}${libdir}
${INSTALL_DATA} afsauthlib.so ${DESTDIR}${libdir}/afsauthlib.so
${INSTALL_DATA} afskauthlib.so ${DESTDIR}${libdir}/afskauthlib.so
dest: afsauthlib.so afskauthlib.so
${INSTALL} -d ${DEST}/root.client/usr/vice/etc
${INSTALL_DATA} afsauthlib.so \
${DEST}/root.client/usr/vice/etc/afsauthlib.so
${INSTALL_DATA} afskauthlib.so \
${DEST}/root.client/usr/vice/etc/afskauthlib.so
clean:
$(RM) -f $(AUTHLIBS) $(AUTHFILES)
afsauthlib.so: sgi_auth.o ${AFSLIBS} ${AUTHFILES}
$(LD) ${AFS_LDFLAGS} -shared -all -o afsauthlib.so sgi_auth.o $(AFSLIBS) ${AUTHFILES}
afskauthlib.so: sgi_auth.o ${KAFSLIBS} ${AUTHFILES}
$(LD) ${AFS_LDFLAGS} -shared -all -o afskauthlib.so sgi_auth.o $(KAFSLIBS) ${AUTHFILES}
ta-rauth.o: ta-rauth.c
rcmd.o: rcmd.c
herror.o: herror.c
sgi_auth.o: sgi_auth.c

View File

@ -1,88 +0,0 @@
# Copyright 2000, International Business Machines Corporation and others.
# All Rights Reserved.
#
# This software has been released under the terms of the IBM Public
# License. For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html
srcdir=@srcdir@
include @TOP_OBJDIR@/src/config/Makefile.config
include @TOP_OBJDIR@/src/config/Makefile.lwp
#
# This must be built after inetd has built ta-rauth.o and after rsh
# XXX want these to end up in /usr/afsws ...
# Note that if afskauthlib.so gets installed on a client
# machine then that will be used ..
#
LIBDIR=${TOP_LIBDIR}/
AFSLIBS=${TOP_LIBDIR}/libkauth.a \
${TOP_LIBDIR}/libprot.a \
${LIBDIR}/libubik.a \
${TOP_LIBDIR}/libauth.a \
${TOP_LIBDIR}/librxkad.a \
${TOP_LIBDIR}/libsys.a \
${LIBDIR}/librx.a \
${TOP_LIBDIR}/libafsrfc3961.a \
${TOP_LIBDIR}/libafshcrypto_lwp.a \
${LIBDIR}/liblwp.a \
${TOP_LIBDIR}/libcmd.a \
${TOP_LIBDIR}/libafscom_err.a \
${TOP_LIBDIR}/util.a
KAFSLIBS=${TOP_LIBDIR}/libkauth.krb.a \
${TOP_LIBDIR}/libprot.a \
${LIBDIR}/libubik.a \
${TOP_LIBDIR}/libauth.krb.a \
${TOP_LIBDIR}/librxkad.a \
${TOP_LIBDIR}/libsys.a \
${LIBDIR}/librx.a \
${TOP_LIBDIR}/libafsrfc3961.a \
${TOP_LIBDIR}/libafshcrypto_lwp.a \
${LIBDIR}/liblwp.a \
${TOP_LIBDIR}/libcmd.a \
${TOP_LIBDIR}/libafscom_err.a \
${TOP_LIBDIR}/util.a
AUTHFILES=ta-rauth.o rcmd.o herror.o
AUTHLIBS=afsauthlib.so afskauthlib.so
TARGETS=$(AUTHLIBS)
all: ${TOP_LIBDIR}/afsauthlib.so ${TOP_LIBDIR}/afskauthlib.so
${TOP_LIBDIR}/afsauthlib.so: afsauthlib.so
${INSTALL_DATA} $? $@
${TOP_LIBDIR}/afskauthlib.so: afskauthlib.so
${INSTALL_DATA} $? $@
install install.noversion: afsauthlib.so afskauthlib.so
${INSTALL} -d ${DESTDIR}${libdir}
${INSTALL_DATA} afsauthlib.so ${DESTDIR}${libdir}/afsauthlib.so
${INSTALL_DATA} afskauthlib.so ${DESTDIR}${libdir}/afskauthlib.so
dest: afsauthlib.so afskauthlib.so
${INSTALL} -d ${DEST}/root.client/usr/vice/etc
${INSTALL_DATA} afsauthlib.so \
${DEST}/root.client/usr/vice/etc/afsauthlib.so
${INSTALL_DATA} afskauthlib.so \
${DEST}/root.client/usr/vice/etc/afskauthlib.so
clean:
$(RM) -f $(AUTHLIBS) $(AUTHFILES)
afsauthlib.so: sgi_auth.o ${AFSLIBS} ${AUTHFILES}
$(LD) ${AFS_LDFLAGS} -shared -all -o afsauthlib.so sgi_auth.o $(AFSLIBS) ${AUTHFILES}
afskauthlib.so: sgi_auth.o ${KAFSLIBS} ${AUTHFILES}
$(LD) ${AFS_LDFLAGS} -shared -all -o afskauthlib.so sgi_auth.o $(KAFSLIBS) ${AUTHFILES}
ta-rauth.o: ta-rauth.c
rcmd.o: rcmd.c
herror.o: herror.c
sgi_auth.o: sgi_auth.c