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
10 include @TOP_OBJDIR@
/src
/config
/Makefile.pthread
13 PTSERVER
= ..
/..
/ptserver
22 LIBOBJS
= ${ADMINOBJS} ${PTSERVEROBJS}
24 all: ${TOP_INCDIR}/afs
/afs_ptsAdmin.h
${TOP_LIBDIR}/libptsadmin.a
26 ${TOP_INCDIR}/afs
/afs_ptsAdmin.h
: afs_ptsAdmin.h
29 ${TOP_LIBDIR}/libptsadmin.a
: libptsadmin.a
32 install: afs_ptsAdmin.h libptsadmin.a
33 ${INSTALL} -d
${DESTDIR}${includedir}/afs
34 ${INSTALL} -d
${DESTDIR}${libdir}/afs
35 ${INSTALL_DATA} ${srcdir}/afs_ptsAdmin.h
${DESTDIR}${includedir}/afs
/afs_ptsAdmin.h
36 ${INSTALL_DATA} libptsadmin.a
${DESTDIR}${libdir}/afs
/libptsadmin.a
38 dest
: afs_ptsAdmin.h libptsadmin.a
39 ${INSTALL} -d
${DEST}/include/afs
40 ${INSTALL} -d
${DEST}/lib
/afs
41 ${INSTALL_DATA} ${srcdir}/afs_ptsAdmin.h
${DEST}/include/afs
/afs_ptsAdmin.h
42 ${INSTALL_DATA} libptsadmin.a
${DEST}/lib
/afs
/libptsadmin.a
44 libptsadmin.a
: ${LIBOBJS}
46 $(AR
) crv
$@
${LIBOBJS}
49 afs_ptsAdmin.o
: afs_ptsAdmin.h
51 ptint.xdr.o
: ${PTSERVER}/ptint.xdr.c
52 $(AFS_CCRULE
) ${PTSERVER}/ptint.xdr.c
54 ptint.cs.o
: ${PTSERVER}/ptint.cs.c
55 $(AFS_CCRULE
) $(PTSERVER
)/ptint.cs.c
58 $(RM
) -f
*.o libptsadmin
*