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@
15 include ../config/Makefile.${SYS_NAME}
17 INCDIRS= -I${TOP_SRCDIR}/config -I${DESTDIR}include -I.. \
18 -I${BACKDIR}include -I${DESTDIR}include/afs
19 KERNELDIR = ../libafs/
20 UKERNELDIR = ../libuafs/
22 CFLAGS = ${OPTMZ} ${INCDIRS} ${LDIRS} ${LIBS} ${XCFLAGS}
24 LIBOBJS=aclprocs.o netprocs.o
26 include ../config/Makefile.version
30 libacl.a: $(LIBOBJS) AFS_component_version_number.o
32 ar rv libacl.a $(LIBOBJS) AFS_component_version_number.o
35 aclprocs.o: aclprocs.c acl.h
37 netprocs.o: netprocs.c acl.h
40 rm -f acltest *.o libacl.a core AFS_component_version_number.c
45 ${INSTALL} prs_fs.h ${KERNELDIR}afs/prs_fs.h
48 ${INSTALL} prs_fs.h ${UKERNELDIR}afs/prs_fs.h
50 install: libacl.a kinstall ukinstall
51 ${INSTALL} libacl.a ${DESTDIR}lib/afs/libacl.a
52 ${INSTALL} acl.h ${DESTDIR}include/afs/acl.h
53 ${INSTALL} prs_fs.h ${DESTDIR}include/afs/prs_fs.h