diff options
author | 2015-11-29 08:22:13 -0800 | |
---|---|---|
committer | 2015-11-29 08:22:13 -0800 | |
commit | df5afa4fcd9725380f94ca6476248d4cc24f889a (patch) | |
tree | 65456f62397305febf7f40778c5a413a35d094ef /framework/src/audit/lib/Makefile.am | |
parent | 76f6bf922552c00546e6e85ca471eab28f56986c (diff) |
v2.4.4 audit sources
Change-Id: I9315a7408817db51edf084fb4d27fbb492785084
Signed-off-by: Ashlee Young <ashlee@wildernessvoice.com>
Diffstat (limited to 'framework/src/audit/lib/Makefile.am')
-rw-r--r-- | framework/src/audit/lib/Makefile.am | 265 |
1 files changed, 265 insertions, 0 deletions
diff --git a/framework/src/audit/lib/Makefile.am b/framework/src/audit/lib/Makefile.am new file mode 100644 index 00000000..e2ed1019 --- /dev/null +++ b/framework/src/audit/lib/Makefile.am @@ -0,0 +1,265 @@ +# Makefile.am -- +# Copyright 2004-2009,2013-15 Red Hat Inc., Durham, North Carolina. +# All Rights Reserved. +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library 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 +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; 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 = test +CLEANFILES = $(BUILT_SOURCES) +CONFIG_CLEAN_FILES = *.loT *.rej *.orig +EXTRA_DIST = syscall-update.txt +VERSION_INFO = 1:0 +AM_CFLAGS = -fPIC -DPIC -D_GNU_SOURCE +AM_CPPFLAGS = -I. -I${top_srcdir} -I${top_srcdir}/auparse + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = audit.pc +DISTCLEANFILES = $(pkgconfig_DATA) + +lib_LTLIBRARIES = libaudit.la +include_HEADERS = libaudit.h +libaudit_la_SOURCES = libaudit.c message.c netlink.c \ + lookup_table.c audit_logging.c deprecated.c \ + strsplit.c dso.h private.h errormsg.h +libaudit_la_LIBADD = +libaudit_la_DEPENDENCIES = $(libaudit_la_SOURCES) ../config.h +libaudit_la_LDFLAGS = -Wl,-z,relro -version-info $(VERSION_INFO) +nodist_libaudit_la_SOURCES = $(BUILT_SOURCES) + +BUILT_SOURCES = actiontabs.h errtabs.h fieldtabs.h flagtabs.h \ + ftypetabs.h i386_tables.h ia64_tables.h machinetabs.h \ + msg_typetabs.h optabs.h ppc_tables.h s390_tables.h \ + s390x_tables.h x86_64_tables.h +if USE_ALPHA +BUILT_SOURCES += alpha_tables.h +endif +if USE_ARM +BUILT_SOURCES += arm_tables.h +endif +if USE_AARCH64 +BUILT_SOURCES += aarch64_tables.h +endif +noinst_PROGRAMS = gen_actiontabs_h gen_errtabs_h gen_fieldtabs_h \ + gen_flagtabs_h gen_ftypetabs_h gen_i386_tables_h \ + gen_ia64_tables_h gen_machinetabs_h gen_msg_typetabs_h \ + gen_optabs_h gen_ppc_tables_h gen_s390_tables_h \ + gen_s390x_tables_h gen_x86_64_tables_h +if USE_ALPHA +noinst_PROGRAMS += gen_alpha_tables_h +endif +if USE_ARM +noinst_PROGRAMS += gen_arm_tables_h +endif +if USE_AARCH64 +noinst_PROGRAMS += gen_aarch64_tables_h +endif +gen_actiontabs_h_SOURCES = gen_tables.c gen_tables.h actiontab.h +gen_actiontabs_h_CFLAGS = '-DTABLE_H="actiontab.h"' +$(gen_actiontabs_h_OBJECTS): CC=$(CC_FOR_BUILD) +$(gen_actiontabs_h_OBJECTS): CFLAGS=$(CFLAGS_FOR_BUILD) +$(gen_actiontabs_h_OBJECTS): CPPFLAGS=$(CPPFLAGS_FOR_BUILD) +gen_actiontabs_h$(BUILD_EXEEXT): CC=$(CC_FOR_BUILD) +gen_actiontabs_h$(BUILD_EXEEXT): CFLAGS=$(CFLAGS_FOR_BUILD) +gen_actiontabs_h$(BUILD_EXEEXT): CPPFLAGS=$(CPPFLAGS_FOR_BUILD) +actiontabs.h: gen_actiontabs_h Makefile + ./gen_actiontabs_h --lowercase --i2s --s2i action > $@ + +if USE_ALPHA +gen_alpha_tables_h_SOURCES = gen_tables.c gen_tables.h alpha_table.h +gen_alpha_tables_h_CFLAGS = '-DTABLE_H="alpha_table.h"' +$(gen_alpha_tables_h_OBJECTS): CC=$(CC_FOR_BUILD) +$(gen_alpha_tables_h_OBJECTS): CFLAGS=$(CFLAGS_FOR_BUILD) +$(gen_alpha_tables_h_OBJECTS): CPPFLAGS=$(CPPFLAGS_FOR_BUILD) +gen_alpha_tables_h$(BUILD_EXEEXT): CC=$(CC_FOR_BUILD) +gen_alpha_tables_h$(BUILD_EXEEXT): CFLAGS=$(CFLAGS_FOR_BUILD) +gen_alpha_tables_h$(BUILD_EXEEXT): CPPFLAGS=$(CPPFLAGS_FOR_BUILD) +alpha_tables.h: gen_alpha_tables_h Makefile + ./gen_alpha_tables_h --lowercase --i2s --s2i alpha_syscall > $@ +endif + +if USE_ARM +gen_arm_tables_h_SOURCES = gen_tables.c gen_tables.h arm_table.h +gen_arm_tables_h_CFLAGS = '-DTABLE_H="arm_table.h"' +$(gen_arm_tables_h_OBJECTS): CC=$(CC_FOR_BUILD) +$(gen_arm_tables_h_OBJECTS): CFLAGS=$(CFLAGS_FOR_BUILD) +$(gen_arm_tables_h_OBJECTS): CPPFLAGS=$(CPPFLAGS_FOR_BUILD) +gen_arm_tables_h$(BUILD_EXEEXT): CC=$(CC_FOR_BUILD) +gen_arm_tables_h$(BUILD_EXEEXT): CFLAGS=$(CFLAGS_FOR_BUILD) +gen_arm_tables_h$(BUILD_EXEEXT): CPPFLAGS=$(CPPFLAGS_FOR_BUILD) +arm_tables.h: gen_arm_tables_h Makefile + ./gen_arm_tables_h --lowercase --i2s --s2i arm_syscall > $@ +endif + +if USE_AARCH64 +gen_aarch64_tables_h_SOURCES = gen_tables.c gen_tables.h aarch64_table.h +gen_aarch64_tables_h_CFLAGS = '-DTABLE_H="aarch64_table.h"' +$(gen_aarch64_tables_h_OBJECTS): CC=$(CC_FOR_BUILD) +$(gen_aarch64_tables_h_OBJECTS): CFLAGS=$(CFLAGS_FOR_BUILD) +$(gen_aarch64_tables_h_OBJECTS): CPPFLAGS=$(CPPFLAGS_FOR_BUILD) +gen_aarch64_tables_h$(BUILD_EXEEXT): CC=$(CC_FOR_BUILD) +gen_aarch64_tables_h$(BUILD_EXEEXT): CFLAGS=$(CFLAGS_FOR_BUILD) +gen_aarch64_tables_h$(BUILD_EXEEXT): CPPFLAGS=$(CPPFLAGS_FOR_BUILD) +aarch64_tables.h: gen_aarch64_tables_h Makefile + ./gen_aarch64_tables_h --lowercase --i2s --s2i aarch64_syscall > $@ +endif + +gen_errtabs_h_SOURCES = gen_tables.c gen_tables.h errtab.h +gen_errtabs_h_CFLAGS = '-DTABLE_H="errtab.h"' +$(gen_errtabs_h_OBJECTS): CC=$(CC_FOR_BUILD) +$(gen_errtabs_h_OBJECTS): CFLAGS=$(CFLAGS_FOR_BUILD) +$(gen_errtabs_h_OBJECTS): CPPFLAGS=$(CPPFLAGS_FOR_BUILD) +gen_errtabs_h$(BUILD_EXEEXT): CC=$(CC_FOR_BUILD) +gen_errtabs_h$(BUILD_EXEEXT): CFLAGS=$(CFLAGS_FOR_BUILD) +gen_errtabs_h$(BUILD_EXEEXT): CPPFLAGS=$(CPPFLAGS_FOR_BUILD) +errtabs.h: gen_errtabs_h Makefile + ./gen_errtabs_h --duplicate-ints --uppercase --i2s --s2i err > $@ + +gen_fieldtabs_h_SOURCES = gen_tables.c gen_tables.h fieldtab.h +gen_fieldtabs_h_CFLAGS = '-DTABLE_H="fieldtab.h"' +$(gen_fieldtabs_h_OBJECTS): CC=$(CC_FOR_BUILD) +$(gen_fieldtabs_h_OBJECTS): CFLAGS=$(CFLAGS_FOR_BUILD) +$(gen_fieldtabs_h_OBJECTS): CPPFLAGS=$(CPPFLAGS_FOR_BUILD) +gen_fieldtabs_h$(BUILD_EXEEXT): CC=$(CC_FOR_BUILD) +gen_fieldtabs_h$(BUILD_EXEEXT): CFLAGS=$(CFLAGS_FOR_BUILD) +gen_fieldtabs_h$(BUILD_EXEEXT): CPPFLAGS=$(CPPFLAGS_FOR_BUILD) +fieldtabs.h: gen_fieldtabs_h Makefile + ./gen_fieldtabs_h --duplicate-ints --lowercase --i2s --s2i field > $@ + +gen_flagtabs_h_SOURCES = gen_tables.c gen_tables.h flagtab.h +gen_flagtabs_h_CFLAGS = '-DTABLE_H="flagtab.h"' +$(gen_flagtabs_h_OBJECTS): CC=$(CC_FOR_BUILD) +$(gen_flagtabs_h_OBJECTS): CFLAGS=$(CFLAGS_FOR_BUILD) +$(gen_flagtabs_h_OBJECTS): CPPFLAGS=$(CPPFLAGS_FOR_BUILD) +gen_flagtabs_h$(BUILD_EXEEXT): CC=$(CC_FOR_BUILD) +gen_flagtabs_h$(BUILD_EXEEXT): CFLAGS=$(CFLAGS_FOR_BUILD) +gen_flagtabs_h$(BUILD_EXEEXT): CPPFLAGS=$(CPPFLAGS_FOR_BUILD) +flagtabs.h: gen_flagtabs_h Makefile + ./gen_flagtabs_h --lowercase --i2s --s2i flag > $@ + +gen_ftypetabs_h_SOURCES = gen_tables.c gen_tables.h ftypetab.h +gen_ftypetabs_h_CFLAGS = '-DTABLE_H="ftypetab.h"' +$(gen_ftypetabs_h_OBJECTS): CC=$(CC_FOR_BUILD) +$(gen_ftypetabs_h_OBJECTS): CFLAGS=$(CFLAGS_FOR_BUILD) +$(gen_ftypetabs_h_OBJECTS): CPPFLAGS=$(CPPFLAGS_FOR_BUILD) +gen_ftypetabs_h$(BUILD_EXEEXT): CC=$(CC_FOR_BUILD) +gen_ftypetabs_h$(BUILD_EXEEXT): CFLAGS=$(CFLAGS_FOR_BUILD) +gen_ftypetabs_h$(BUILD_EXEEXT): CPPFLAGS=$(CPPFLAGS_FOR_BUILD) +ftypetabs.h: gen_ftypetabs_h Makefile + ./gen_ftypetabs_h --lowercase --i2s --s2i ftype > $@ + +gen_i386_tables_h_SOURCES = gen_tables.c gen_tables.h i386_table.h +gen_i386_tables_h_CFLAGS = '-DTABLE_H="i386_table.h"' +$(gen_i386_tables_h_OBJECTS): CC=$(CC_FOR_BUILD) +$(gen_i386_tables_h_OBJECTS): CFLAGS=$(CFLAGS_FOR_BUILD) +$(gen_i386_tables_h_OBJECTS): CPPFLAGS=$(CPPFLAGS_FOR_BUILD) +gen_i386_tables_h$(BUILD_EXEEXT): CC=$(CC_FOR_BUILD) +gen_i386_tables_h$(BUILD_EXEEXT): CFLAGS=$(CFLAGS_FOR_BUILD) +gen_i386_tables_h$(BUILD_EXEEXT): CPPFLAGS=$(CPPFLAGS_FOR_BUILD) +i386_tables.h: gen_i386_tables_h Makefile + ./gen_i386_tables_h --duplicate-ints --lowercase --i2s --s2i \ + i386_syscall > $@ + +gen_ia64_tables_h_SOURCES = gen_tables.c gen_tables.h ia64_table.h +gen_ia64_tables_h_CFLAGS = '-DTABLE_H="ia64_table.h"' +$(gen_ia64_tables_h_OBJECTS): CC=$(CC_FOR_BUILD) +$(gen_ia64_tables_h_OBJECTS): CFLAGS=$(CFLAGS_FOR_BUILD) +$(gen_ia64_tables_h_OBJECTS): CPPFLAGS=$(CPPFLAGS_FOR_BUILD) +gen_ia64_tables_h$(BUILD_EXEEXT): CC=$(CC_FOR_BUILD) +gen_ia64_tables_h$(BUILD_EXEEXT): CFLAGS=$(CFLAGS_FOR_BUILD) +gen_ia64_tables_h$(BUILD_EXEEXT): CPPFLAGS=$(CPPFLAGS_FOR_BUILD) +ia64_tables.h: gen_ia64_tables_h Makefile + ./gen_ia64_tables_h --lowercase --i2s --s2i ia64_syscall > $@ + +gen_machinetabs_h_SOURCES = gen_tables.c gen_tables.h machinetab.h +gen_machinetabs_h_CFLAGS = '-DTABLE_H="machinetab.h"' +$(gen_machinetabs_h_OBJECTS): CC=$(CC_FOR_BUILD) +$(gen_machinetabs_h_OBJECTS): CFLAGS=$(CFLAGS_FOR_BUILD) +$(gen_machinetabs_h_OBJECTS): CPPFLAGS=$(CPPFLAGS_FOR_BUILD) +gen_machinetabs_h$(BUILD_EXEEXT): CC=$(CC_FOR_BUILD) +gen_machinetabs_h$(BUILD_EXEEXT): CFLAGS=$(CFLAGS_FOR_BUILD) +gen_machinetabs_h$(BUILD_EXEEXT): CPPFLAGS=$(CPPFLAGS_FOR_BUILD) +machinetabs.h: gen_machinetabs_h Makefile + ./gen_machinetabs_h --duplicate-ints --lowercase --i2s --s2i machine \ + > $@ + +gen_msg_typetabs_h_SOURCES = gen_tables.c gen_tables.h msg_typetab.h +gen_msg_typetabs_h_CFLAGS = '-DTABLE_H="msg_typetab.h"' +$(gen_msg_typetabs_h_OBJECTS): CC=$(CC_FOR_BUILD) +$(gen_msg_typetabs_h_OBJECTS): CFLAGS=$(CFLAGS_FOR_BUILD) +$(gen_msg_typetabs_h_OBJECTS): CPPFLAGS=$(CPPFLAGS_FOR_BUILD) +gen_msg_typetabs_h$(BUILD_EXEEXT): CC=$(CC_FOR_BUILD) +gen_msg_typetabs_h$(BUILD_EXEEXT): CFLAGS=$(CFLAGS_FOR_BUILD) +gen_msg_typetabs_h$(BUILD_EXEEXT): CPPFLAGS=$(CPPFLAGS_FOR_BUILD) +msg_typetabs.h: gen_msg_typetabs_h Makefile + ./gen_msg_typetabs_h --uppercase --i2s --s2i msg_type > $@ + +gen_optabs_h_SOURCES = gen_tables.c gen_tables.h optab.h +gen_optabs_h_CFLAGS = '-DTABLE_H="optab.h"' +$(gen_optabs_h_OBJECTS): CC=$(CC_FOR_BUILD) +$(gen_optabs_h_OBJECTS): CFLAGS=$(CFLAGS_FOR_BUILD) +$(gen_optabs_h_OBJECTS): CPPFLAGS=$(CPPFLAGS_FOR_BUILD) +gen_optabs_h$(BUILD_EXEEXT): CC=$(CC_FOR_BUILD) +gen_optabs_h$(BUILD_EXEEXT): CFLAGS=$(CFLAGS_FOR_BUILD) +gen_optabs_h$(BUILD_EXEEXT): CPPFLAGS=$(CPPFLAGS_FOR_BUILD) +optabs.h: gen_optabs_h Makefile + ./gen_optabs_h --i2s op > $@ + +gen_ppc_tables_h_SOURCES = gen_tables.c gen_tables.h ppc_table.h +gen_ppc_tables_h_CFLAGS = '-DTABLE_H="ppc_table.h"' +$(gen_ppc_tables_h_OBJECTS): CC=$(CC_FOR_BUILD) +$(gen_ppc_tables_h_OBJECTS): CFLAGS=$(CFLAGS_FOR_BUILD) +$(gen_ppc_tables_h_OBJECTS): CPPFLAGS=$(CPPFLAGS_FOR_BUILD) +gen_ppc_tables_h$(BUILD_EXEEXT): CC=$(CC_FOR_BUILD) +gen_ppc_tables_h$(BUILD_EXEEXT): CFLAGS=$(CFLAGS_FOR_BUILD) +gen_ppc_tables_h$(BUILD_EXEEXT): CPPFLAGS=$(CPPFLAGS_FOR_BUILD) +ppc_tables.h: gen_ppc_tables_h Makefile + ./gen_ppc_tables_h --lowercase --i2s --s2i ppc_syscall > $@ + +gen_s390_tables_h_SOURCES = gen_tables.c gen_tables.h s390_table.h +gen_s390_tables_h_CFLAGS = '-DTABLE_H="s390_table.h"' +$(gen_s390_tables_h_OBJECTS): CC=$(CC_FOR_BUILD) +$(gen_s390_tables_h_OBJECTS): CFLAGS=$(CFLAGS_FOR_BUILD) +$(gen_s390_tables_h_OBJECTS): CPPFLAGS=$(CPPFLAGS_FOR_BUILD) +gen_s390_tables_h$(BUILD_EXEEXT): CC=$(CC_FOR_BUILD) +gen_s390_tables_h$(BUILD_EXEEXT): CFLAGS=$(CFLAGS_FOR_BUILD) +gen_s390_tables_h$(BUILD_EXEEXT): CPPFLAGS=$(CPPFLAGS_FOR_BUILD) +s390_tables.h: gen_s390_tables_h Makefile + ./gen_s390_tables_h --lowercase --i2s --s2i s390_syscall > $@ + +gen_s390x_tables_h_SOURCES = gen_tables.c gen_tables.h s390x_table.h +gen_s390x_tables_h_CFLAGS = '-DTABLE_H="s390x_table.h"' +$(gen_s390x_tables_h_OBJECTS): CC=$(CC_FOR_BUILD) +$(gen_s390x_tables_h_OBJECTS): CFLAGS=$(CFLAGS_FOR_BUILD) +$(gen_s390x_tables_h_OBJECTS): CPPFLAGS=$(CPPFLAGS_FOR_BUILD) +gen_s390x_tables_h$(BUILD_EXEEXT): CC=$(CC_FOR_BUILD) +gen_s390x_tables_h$(BUILD_EXEEXT): CFLAGS=$(CFLAGS_FOR_BUILD) +gen_s390x_tables_h$(BUILD_EXEEXT): CPPFLAGS=$(CPPFLAGS_FOR_BUILD) +s390x_tables.h: gen_s390x_tables_h Makefile + ./gen_s390x_tables_h --lowercase --i2s --s2i s390x_syscall > $@ + +gen_x86_64_tables_h_SOURCES = gen_tables.c gen_tables.h x86_64_table.h +gen_x86_64_tables_h_CFLAGS = '-DTABLE_H="x86_64_table.h"' +$(gen_x86_64_tables_h_OBJECTS): CC=$(CC_FOR_BUILD) +$(gen_x86_64_tables_h_OBJECTS): CFLAGS=$(CFLAGS_FOR_BUILD) +$(gen_x86_64_tables_h_OBJECTS): CPPFLAGS=$(CPPFLAGS_FOR_BUILD) +gen_x86_64_tables_h$(BUILD_EXEEXT): CC=$(CC_FOR_BUILD) +gen_x86_64_tables_h$(BUILD_EXEEXT): CFLAGS=$(CFLAGS_FOR_BUILD) +gen_x86_64_tables_h$(BUILD_EXEEXT): CPPFLAGS=$(CPPFLAGS_FOR_BUILD) +x86_64_tables.h: gen_x86_64_tables_h Makefile + ./gen_x86_64_tables_h --lowercase --i2s --s2i x86_64_syscall > $@ |