1 # Copyright 2000, International Business Machines Corporation and others.
4 # This software has been released under the terms of the IBM Public
5 # License. For details, see the LICENSE file in the top-level source
6 # directory or online at http://www.openafs.org/dl/license10.html
10 TOP_SRCDIR=@TOP_SRCDIR@
11 SYS_NAME=@AFS_SYSNAME@
14 include ../../config/Makefile.${SYS_NAME}
17 CFLAGS = ${OPTMZ} ${DBG} -I${TOP_SRCDIR}/config -I${SRCDIR}/include ${MT_CFLAGS}
18 CCRULE = ${CC} ${CFLAGS} -c $?
22 ADMINOBJS = afs_kasAdmin.o
29 LIBOBJS = ${ADMINOBJS} ${KAUTHOBJS}
31 LIBKASADMIN = ${DESTDIR}/lib/afs/libkasadmin.a
33 system install: ${LIBKASADMIN}
35 ${LIBKASADMIN}: libkasadmin.a
36 ${INSTALL} afs_kasAdmin.h ${DESTDIR}/include/afs
37 ${INSTALL} libkasadmin.a ${LIBKASADMIN}
39 libkasadmin.a: ${LIBOBJS}
44 afs_kasAdmin.o: afs_kasAdmin.h
46 kauth.cs.o: ${KAUTH}/kauth.cs.c
49 kauth.xdr.o: ${KAUTH}/kauth.xdr.c
52 kaaux.o: ${KAUTH}/kaaux.c
56 $(RM) -f *.o libkasadmin*