Blame Makefile.am

Packit 762fc5
#
Packit 762fc5
# aide, Advanced Intrusion Detection Environment
Packit 762fc5
#
Packit 762fc5
# This program is free software; you can redistribute it and/or modify
Packit 762fc5
# it under the terms of the GNU General Public License as published by
Packit 762fc5
# the Free Software Foundation; either version 2, or (at your option)
Packit 762fc5
# any later version.
Packit 762fc5
#
Packit 762fc5
# This program is distributed in the hope that it will be useful,
Packit 762fc5
# but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 762fc5
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit 762fc5
# GNU General Public License for more details.
Packit 762fc5
#
Packit 762fc5
# You should have received a copy of the GNU General Public License
Packit 762fc5
# along with this program; see the file COPYING.  If not, write to
Packit 762fc5
# the Free Software Foundation, 59 Temple Place - Suite 330,
Packit 762fc5
# Boston, MA 02111-1307, USA.
Packit 762fc5
#
Packit 762fc5
Packit 762fc5
BUILT_SOURCES = src/conf_yacc.h
Packit 762fc5
AM_YFLAGS= -d
Packit 762fc5
Packit 762fc5
LEX_OUTPUT_ROOT = lex.yy
Packit 762fc5
Packit 762fc5
bin_PROGRAMS = aide
Packit 762fc5
aide_SOURCES = src/aide.c include/aide.h \
Packit 762fc5
	include/base64.h src/base64.c \
Packit 762fc5
	include/be.h src/be.c \
Packit 762fc5
	include/commandconf.h src/commandconf.c \
Packit 762fc5
	include/compare_db.h src/compare_db.c \
Packit 762fc5
	include/conf_lex.h src/conf_lex.l  \
Packit 762fc5
	src/conf_yacc.h src/conf_yacc.y \
Packit 762fc5
	include/db.h src/db.c \
Packit 762fc5
	include/db_config.h \
Packit 762fc5
	include/db_disk.h src/db_disk.c \
Packit 762fc5
	include/db_file.h src/db_file.c \
Packit 762fc5
	src/db_lex.l \
Packit 762fc5
	include/db_list.h src/db_list.c \
Packit 762fc5
	include/db_sql.h src/db_sql.c \
Packit 762fc5
	include/do_md.h src/do_md.c \
Packit 762fc5
	include/report.h src/error.c \
Packit 762fc5
	include/gen_list.h src/gen_list.c \
Packit 762fc5
	src/getopt1.c \
Packit 762fc5
	include/getopt.h src/getopt.c \
Packit 762fc5
	include/list.h src/list.c \
Packit 762fc5
	include/locale-aide.h \
Packit 762fc5
	include/md.h src/md.c \
Packit 762fc5
	src/snprintf.c \
Packit 762fc5
	include/seltree.h \
Packit 762fc5
	include/symboltable.h src/symboltable.c \
Packit 762fc5
	include/types.h \
Packit 762fc5
	include/url.h \
Packit 762fc5
	include/util.h src/util.c
Packit 762fc5
if USE_CURL
Packit 762fc5
aide_SOURCES += include/fopen.h src/fopen.c
Packit 762fc5
endif
Packit 762fc5
Packit 762fc5
aide_LDADD = -lm @PCRELIB@ @CRYPTLIB@ @ACLLIB@ @SELINUXLIB@ @AUDITLIB@ @ATTRLIB@ @E2FSATTRSLIB@ @ELFLIB@
Packit 762fc5
AM_CFLAGS = @AIDE_DEFS@ -W -Wall -g
Packit 762fc5
AM_CPPFLAGS = -I$(top_srcdir) \
Packit 762fc5
			  -I$(top_srcdir)/include \
Packit 762fc5
			  -I$(top_srcdir)/src \
Packit 762fc5
			  -I$(top_builddir)/src
Packit 762fc5
Packit 762fc5
CLEANFILES = src/conf_yacc.h src/conf_yacc.c src/conf_lex.c src/db_lex.c
Packit 762fc5
Packit 762fc5
man_MANS = doc/aide.1 doc/aide.conf.5
Packit 762fc5
Packit 762fc5
EXTRA_DIST = $(man_MANS) Todo doc/manual.html \
Packit 762fc5
	contrib/bzip2.sh contrib/gpg2_check.sh contrib/gpg2_update.sh \
Packit 762fc5
	contrib/gpg_check.sh contrib/gpg_update.sh contrib/sshaide.sh \
Packit 762fc5
	contrib/aide-attributes.sh
Packit 762fc5
Packit 762fc5
src/conf_yacc.c: src/conf_yacc.y
Packit 762fc5
	$(YACC) $(AM_YFLAGS) -o $@ -p conf $<
Packit 762fc5
Packit 762fc5
src/conf_lex.c: src/conf_lex.l src/conf_yacc.c
Packit 762fc5
	$(LEX) $(AM_LFLAGS) -o$@ -Pconf $<
Packit 762fc5
Packit 762fc5
src/db_lex.c: src/db_lex.l src/conf_yacc.h
Packit 762fc5
	$(LEX) $(AM_LFLAGS) -o$@ -Pdb $<