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 include ../config/Makefile.${SYS_NAME}
12 INCDIRS= -I${TOP_SRCDIR}/config -I${DESTDIR}include -I.. \
13 -I${BACKDIR}include -I${DESTDIR}include/afs
14 KERNELDIR = ../libafs/
15 UKERNELDIR = ../libuafs/
17 CFLAGS = ${OPTMZ} ${INCDIRS} ${LDIRS} ${LIBS} ${XCFLAGS}
19 LIBOBJS=aclprocs.o netprocs.o
21 include ../config/Makefile.version
25 libacl.a: $(LIBOBJS) AFS_component_version_number.o
27 ar rv libacl.a $(LIBOBJS) AFS_component_version_number.o
30 aclprocs.o: aclprocs.c acl.h
32 netprocs.o: netprocs.c acl.h
35 rm -f acltest *.o libacl.a core AFS_component_version_number.c
40 ${INSTALL} prs_fs.h ${KERNELDIR}afs/prs_fs.h
43 ${INSTALL} prs_fs.h ${UKERNELDIR}afs/prs_fs.h
45 install: libacl.a kinstall ukinstall
46 ${INSTALL} libacl.a ${DESTDIR}lib/afs/libacl.a
47 ${INSTALL} acl.h ${DESTDIR}include/afs/acl.h
48 ${INSTALL} prs_fs.h ${DESTDIR}include/afs/prs_fs.h