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
13 CFLAGS=-I. -I${srcdir} ${OPTMZ} ${DBG} -I${TOP_OBJDIR}/src/config -I${TOP_INCDIR} -I${TOP_INCDIR}/afs ${MT_CFLAGS}
14 CCRULE = ${CC} ${CFLAGS} -c $?
16 VLSERVER = ../../vlserver/
17 VOLSER = ../../volser/
38 LIBOBJS = ${ADMINOBJS} ${VLSERVEROBJS} ${VOLSEROBJS} ${FSINTOBJS}
40 LIBVOSADMIN=${TOP_LIBDIR}/libvosadmin.a
42 all: ${TOP_INCDIR}/afs/afs_vosAdmin.h ${TOP_LIBDIR}/libvosadmin.a
44 install: ${DESTDIR}${includedir}/afs/afs_vosAdmin.h ${DESTDIR}${libdir}/afs/libvosadmin.a
46 dest: ${DEST}/include/afs/afs_vosAdmin.h ${DEST}/lib/afs/libvosadmin.a
48 ${TOP_INCDIR}/afs/afs_vosAdmin.h: afs_vosAdmin.h
51 ${DESTDIR}${includedir}/afs/afs_vosAdmin.h: afs_vosAdmin.h
54 ${DEST}/include/afs/afs_vosAdmin.h: afs_vosAdmin.h
58 ${TOP_LIBDIR}/libvosadmin.a: libvosadmin.a
61 ${DESTDIR}${libdir}/afs/libvosadmin.a: libvosadmin.a
64 ${DEST}/lib/afs/libvosadmin.a: libvosadmin.a
68 libvosadmin.a: ${LIBOBJS}
70 $(AR) crv $@ ${LIBOBJS}
73 afs_vosAdmin.o: afs_vosAdmin.h
75 vldbint.cs.o: ${VLSERVER}/vldbint.cs.c
78 vldbint.xdr.o: ${VLSERVER}/vldbint.xdr.c
81 volint.xdr.o: ${VOLSER}/volint.xdr.c
84 volint.cs.o: ${VOLSER}/volint.cs.c
87 afscbint.xdr.o: ${FSINT}/afscbint.xdr.c
90 afsint.xdr.o: ${FSINT}/afsint.xdr.c
94 $(RM) -f *.o libvosadmin*