1if USE_NATIVE_INCLUDES 2INCLUDES = -I$(top_builddir) -I$(top_srcdir) 3else 4INCLUDES = -I$(top_builddir) -I$(top_srcdir) -I$(top_srcdir)/sys 5endif 6 7sbin_PROGRAMS = auditd 8auditd_LDADD = $(top_builddir)/libbsm/libbsm.la $(top_builddir)/libauditd/libauditd.la 9man8_MANS = auditd.8 10 11if USE_MACH_IPC 12auditd_SOURCES = auditd_controlServer.c audit_triggersServer.c audit_warn.c auditd.c auditd_darwin.c 13CLEANFILES = auditd_control_server.c auditd_controlServer.h audit_triggersServer.c audit_triggersServer.h 14 15auditd_controlServer.c auditd_controlServer.h: auditd_control.defs 16 $(MIG) -user /dev/null -header /dev/null -server auditd_controlServer.c -sheader auditd_controlServer.h $(top_srcdir)/bin/auditd/auditd_control.defs 17 18audit_triggersServer.c audit_triggersServer.h: audit_triggers.defs 19 $(MIG) -user /dev/null -header /dev/null -server audit_triggersServer.c -sheader audit_triggersServer.h $(top_srcdir)/bin/auditd/audit_triggers.defs 20else 21auditd_SOURCES = audit_warn.c auditd.c auditd_fbsd.c 22endif 23