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 VLSERVER = ../../vlserver/
21 VOLSER = ../../volser/
42 LIBOBJS = ${ADMINOBJS} ${VLSERVEROBJS} ${VOLSEROBJS} ${FSINTOBJS}
44 LIBVOSADMIN = ${DESTDIR}/lib/afs/libvosadmin.a
46 system install: ${LIBVOSADMIN}
48 ${LIBVOSADMIN}: libvosadmin.a
49 ${INSTALL} afs_vosAdmin.h ${DESTDIR}include/afs
50 ${INSTALL} libvosadmin.a ${LIBVOSADMIN}
52 libvosadmin.a: ${LIBOBJS}
57 afs_vosAdmin.o: afs_vosAdmin.h
59 vldbint.cs.o: ${VLSERVER}/vldbint.cs.c
62 vldbint.xdr.o: ${VLSERVER}/vldbint.xdr.c
65 volint.xdr.o: ${VOLSER}/volint.xdr.c
68 volint.cs.o: ${VOLSER}/volint.cs.c
71 afscbint.xdr.o: ${FSINT}/afscbint.xdr.c
74 afsint.xdr.o: ${FSINT}/afsint.xdr.c
78 rm -f *.o libvosadmin*