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 $?
20 PTSERVER = ../../ptserver/
29 LIBOBJS = ${ADMINOBJS} ${PTSERVEROBJS}
31 LIBPTSADMIN = ${DESTDIR}/lib/afs/libptsadmin.a
33 system install: ${LIBPTSADMIN}
35 ${LIBPTSADMIN}: libptsadmin.a
36 ${INSTALL} afs_ptsAdmin.h ${DESTDIR}/include/afs
37 ${INSTALL} libptsadmin.a ${LIBPTSADMIN}
39 libptsadmin.a: ${LIBOBJS}
44 afs_ptsAdmin.o: afs_ptsAdmin.h
46 ptint.xdr.o: ${PTSERVER}/ptint.xdr.c
49 ptint.cs.o: ${PTSERVER}/ptint.cs.c
53 $(RM) -f *.o libptsadmin*