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 $?
22 ADMINOBJS = afs_bosAdmin.o
24 BOZOOBJS = bosint.xdr.o bosint.cs.o
26 LIBOBJS = ${ADMINOBJS} ${BOZOOBJS}
28 LIBBOSADMIN = ${DESTDIR}/lib/afs/libbosadmin.a
30 system install: ${LIBBOSADMIN}
32 ${LIBBOSADMIN}: libbosadmin.a
33 ${INSTALL} afs_bosAdmin.h ${DESTDIR}/include/afs
34 ${INSTALL} libbosadmin.a ${LIBBOSADMIN}
36 libbosadmin.a: ${LIBOBJS}
41 afs_bosAdmin.o: afs_bosAdmin.h
43 bosint.xdr.o: ${BOZO}/bosint.xdr.c
46 bosint.cs.o: ${BOZO}/bosint.cs.c
50 $(RM) -f *.o libbosadmin*