提交 33005bb9 编写于 作者: R Roberto Sassu

digest-list-tools: package

This patch adds package-specific files.
Signed-off-by: NRoberto Sassu <roberto.sassu@huawei.com>
上级 dfb61c76
*.o
src/gen_digest_lists
src/verify_digest_lists
*Makefile.in
*Makefile
ar-lib
config.h
config.h.in
configure.scan
stamp-h1
aclocal.m4
autom4te.cache/
compile
config.log
config.status
config.sub
config.guess
configure
depcomp
install-sh
missing
libtool
ltmain.sh
*/.deps/
*/.libs/
*.lo
*.la
Roberto Sassu, Huawei Technologies Duesseldorf GmbH
Copyright (C) 2017 Huawei Technologies Duesseldorf GmbH
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, version 2 of the
License.
2017-11-15 Roberto Sassu <roberto.sassu@huawei.com>
version 0.1
* first public release
A copy of the GPL 2 license can be retrieved from:
https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
SUBDIRS = docs \
lib \
scripts \
src
EXTRA_DIST = AUTHORS \
CHANGES
dist_pkgdata_DATA = README
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.69])
AC_INIT([digest-list-tools], [0.1], [roberto.sassu@huawei.com])
AC_CONFIG_HEADERS([config.h])
CFLAGS="$CFLAGS -Wall"
AM_INIT_AUTOMAKE([-Wall foreign])
AM_PROG_AR
AC_PROG_CC
LT_INIT
# Checks for programs.
AC_PROG_CXX
AC_PROG_AWK
AC_PROG_CC
AC_PROG_CPP
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
AC_PROG_RANLIB
# Checks for libraries.
AC_CHECK_LIB([crypto], [SHA256_Init])
AC_CHECK_LIB([rpm], [headerGetEntry])
AC_CHECK_LIB([rpmio], [Fopen])
# Checks for header files.
AC_CHECK_HEADERS([fcntl.h stdlib.h string.h unistd.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_CHECK_HEADER_STDBOOL
AC_C_INLINE
AC_TYPE_INT32_T
AC_TYPE_SIZE_T
AC_TYPE_SSIZE_T
# Checks for library functions.
AC_FUNC_MALLOC
AC_FUNC_MMAP
AC_CHECK_FUNCS([ftruncate memset munmap strstr])
AC_CONFIG_FILES([Makefile
docs/Makefile
include/Makefile
lib/Makefile
src/Makefile
scripts/Makefile])
AC_OUTPUT
dist_pkgdata_DATA = gen_digest_lists.txt \
setup_ima_digest_list.txt \
verify_digest_lists.txt
noinst_HEADERS = kernel_lib.h \
kernel_ima.h \
compact_list.h \
rpm.h \
metadata.h \
lib.h
lib_LTLIBRARIES = libdigestlists.la
libdigestlists_la_LIBADD = -lcrypto -lrpm -lrpmio
libdigestlists_la_CFLAGS = -I$(top_srcdir)/include
libdigestlists_la_SOURCES = kernel_lib.c \
kernel_ima.c \
compact_list.c \
rpm.c \
metadata.c \
lib.c
bin_SCRIPTS = setup_ima_digest_list
bin_PROGRAMS = gen_digest_lists verify_digest_lists
gen_digest_lists_CFLAGS = -I$(top_srcdir)/include
gen_digest_lists_LDADD = $(top_srcdir)/lib/libdigestlists.la -lcrypto -lrpm -lrpmio
gen_digest_lists_SOURCES = gen_digest_lists.c
verify_digest_lists_CFLAGS = -I$(top_srcdir)/include
verify_digest_lists_LDADD = $(top_srcdir)/lib/libdigestlists.la -lcrypto -lrpm -lrpmio
verify_digest_lists_SOURCES = verify_digest_lists.c
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册