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
8 # # Auditing is currently only supported for AIX32 machines. It is
9 # # integrated with the AIX auditing facility. The objects, events,
10 # # and config files are AIX specific. The Audit file is not but is
11 # # included in the rs_aix32 case since other platforms are not
12 # # supported (if not supported, don't show it).
13 # ######################################################################
18 include ../config/Makefile.${SYS_NAME}
19 MKDIR_IF_NEEDED=[ -d $$1 ] || mkdir -p $$1
21 UKERNELDIR = ../libuafs/
22 LOCALDIR = ${DESTDIR}root.server/usr/afs/local/
26 CFLAGS = ${OPTMZ} -I$(SRCDIR)include ${XCFLAGS}
28 include ../config/Makefile.version
30 noversion system: install
37 ${INSTALL} audit.h ${DESTDIR}include/afs
39 install: ukinstall libaudit.a
40 ${INSTALL} libaudit.a ${DESTDIR}lib/afs
41 ${INSTALL} audit.h ${DESTDIR}include/afs
44 ${INSTALL} Audit ${LOCALDIR} ; \
45 ${INSTALL} objects.aix.sample ${LOCALDIR}audit/objects.sample ; \
46 ${INSTALL} events.aix.sample ${LOCALDIR}audit/events.sample ; \
47 ${INSTALL} config.aix.sample ${LOCALDIR}audit/config.sample ;; \
53 @echo No $@ source here.
56 set ${UKERNELDIR}afs; $(MKDIR_IF_NEEDED)
57 ${INSTALL} ${UKSRCS} ${UKERNELDIR}afs
60 echo no documents in this directory
62 libaudit.a: ${audobjs} AFS_component_version_number.o
64 ar r libaudit.a ${audobjs} AFS_component_version_number.o
67 audit.o: audit.c audit.h
68 ${CC} ${CFLAGS} -c audit.c
71 rm -f *.o core AFS_component_version_number.c *.a