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
9 include @TOP_OBJDIR@/src/config/Makefile.config
12 CFLAGS=${COMMON_CFLAGS} ${MT_CFLAGS}
13 CCRULE = ${CC} ${CFLAGS} -c $?
15 PTSERVER = ../../ptserver/
24 LIBOBJS = ${ADMINOBJS} ${PTSERVEROBJS}
26 all: ${TOP_INCDIR}/afs/afs_ptsAdmin.h ${TOP_LIBDIR}/libptsadmin.a
28 install: ${DESTDIR}${includedir}/afs/afs_ptsAdmin.h ${DESTDIR}${libdir}/afs/libptsadmin.a
30 dest: ${DEST}/include/afs/afs_ptsAdmin.h ${DEST}/lib/afs/libptsadmin.a
32 ${TOP_INCDIR}/afs/afs_ptsAdmin.h: afs_ptsAdmin.h
35 ${DESTDIR}${includedir}/afs/afs_ptsAdmin.h: afs_ptsAdmin.h
38 ${DEST}/include/afs/afs_ptsAdmin.h: afs_ptsAdmin.h
41 ${TOP_LIBDIR}/libptsadmin.a: libptsadmin.a
44 ${DESTDIR}${libdir}/afs/libptsadmin.a: libptsadmin.a
47 ${DEST}/lib/afs/libptsadmin.a: libptsadmin.a
50 libptsadmin.a: ${LIBOBJS}
52 $(AR) crv $@ ${LIBOBJS}
55 afs_ptsAdmin.o: afs_ptsAdmin.h
57 ptint.xdr.o: ${PTSERVER}/ptint.xdr.c
60 ptint.cs.o: ${PTSERVER}/ptint.cs.c
64 $(RM) -f *.o libptsadmin*