summaryrefslogtreecommitdiffstats
path: root/contrib/openbsm/bin/audit/Makefile.am
blob: ed62929ca00e1ca5843d8750192e35173874cb54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#
# $P4: //depot/projects/trustedbsd/openbsm/bin/audit/Makefile.am#4 $
#

if USE_NATIVE_INCLUDES
INCLUDES = -I$(top_builddir) -I$(top_srcdir)
else
INCLUDES = -I$(top_builddir) -I$(top_srcdir) -I$(top_srcdir)/sys
endif

sbin_PROGRAMS = audit
audit_LDADD = $(top_builddir)/libbsm/libbsm.la
man8_MANS = audit.8

if USE_MACH_IPC
audit_SOURCES = auditd_control_user.c audit.c
CLEANFILES = auditd_control_user.c auditd_control_user.h

auditd_control_user.c: $(top_srcdir)/bin/auditd/auditd_control.defs 
	$(MIG)	-user auditd_control_user.c -header auditd_control_user.h -server /dev/null -sheader /dev/null $(top_srcdir)/bin/auditd/auditd_control.defs
else
audit_SOURCES = audit.c
endif
OpenPOWER on IntegriCloud