# 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.pthread PTSERVER = ../../ptserver ADMINOBJS = \ afs_ptsAdmin.o PTSERVEROBJS = \ ptint.xdr.o \ ptint.cs.o LIBOBJS = ${ADMINOBJS} ${PTSERVEROBJS} all: ${TOP_INCDIR}/afs/afs_ptsAdmin.h ${TOP_LIBDIR}/libptsadmin.a ${TOP_INCDIR}/afs/afs_ptsAdmin.h: afs_ptsAdmin.h ${INSTALL_DATA} $? $@ ${TOP_LIBDIR}/libptsadmin.a: libptsadmin.a ${INSTALL_DATA} $? $@ install: afs_ptsAdmin.h libptsadmin.a ${INSTALL} -d ${DESTDIR}${includedir}/afs ${INSTALL} -d ${DESTDIR}${libdir}/afs ${INSTALL_DATA} ${srcdir}/afs_ptsAdmin.h ${DESTDIR}${includedir}/afs/afs_ptsAdmin.h ${INSTALL_DATA} libptsadmin.a ${DESTDIR}${libdir}/afs/libptsadmin.a dest: afs_ptsAdmin.h libptsadmin.a ${INSTALL} -d ${DEST}/include/afs ${INSTALL} -d ${DEST}/lib/afs ${INSTALL_DATA} ${srcdir}/afs_ptsAdmin.h ${DEST}/include/afs/afs_ptsAdmin.h ${INSTALL_DATA} libptsadmin.a ${DEST}/lib/afs/libptsadmin.a libptsadmin.a: ${LIBOBJS} -$(RM) -f $@ $(AR) crv $@ ${LIBOBJS} ${RANLIB} $@ afs_ptsAdmin.o: afs_ptsAdmin.h ptint.xdr.o: ${PTSERVER}/ptint.xdr.c $(AFS_CCRULE) ${PTSERVER}/ptint.xdr.c ptint.cs.o: ${PTSERVER}/ptint.cs.c $(AFS_CCRULE) $(PTSERVER)/ptint.cs.c clean: $(RM) -f *.o libptsadmin*