aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/audit/audisp/Makefile.am
blob: f5134e52850c7e54a0919c4431d37af2dd7dbb6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Makefile.am-- 
# Copyright 2007,2011,2015 Red Hat Inc., Durham, North Carolina.
# All Rights Reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
#
# Authors:
#   Steve Grubb <sgrubb@redhat.com>
#

SUBDIRS = plugins 
CONFIG_CLEAN_FILES = *.rej *.orig
AUTOMAKE_OPTIONS = no-dependencies
AM_CPPFLAGS = -I${top_srcdir} -I${top_srcdir}/lib
sbin_PROGRAMS = audispd
noinst_HEADERS = audispd-config.h audispd-pconfig.h audispd-llist.h \
	queue.h audispd-builtins.h
LIBS = -L${top_builddir}/src/mt -lauditmt 
LDADD = -lpthread
AM_CFLAGS = -D_REENTRANT 

audispd_SOURCES = audispd.c audispd-config.c audispd-pconfig.c \
	audispd-llist.c queue.c audispd-builtins.c
audispd_CFLAGS = -fPIE -DPIE -g -D_GNU_SOURCE
audispd_LDFLAGS = -pie -Wl,-z,relro -Wl,-z,now

install-exec-hook:
	chmod 0750 $(DESTDIR)$(sbindir)/audispd