Initial library skeleton
Signed-off-by: Dmitry Kasatkin <d.kasatkin@samsung.com>
This commit is contained in:
parent
3dc656bc6f
commit
018495c87f
8
INSTALL
8
INSTALL
@ -1,7 +1,7 @@
|
|||||||
Installation Instructions
|
Installation Instructions
|
||||||
*************************
|
*************************
|
||||||
|
|
||||||
Copyright (C) 1994-1996, 1999-2002, 2004-2011 Free Software Foundation,
|
Copyright (C) 1994-1996, 1999-2002, 2004-2013 Free Software Foundation,
|
||||||
Inc.
|
Inc.
|
||||||
|
|
||||||
Copying and distribution of this file, with or without modification,
|
Copying and distribution of this file, with or without modification,
|
||||||
@ -309,9 +309,10 @@ causes the specified `gcc' to be used as the C compiler (unless it is
|
|||||||
overridden in the site shell script).
|
overridden in the site shell script).
|
||||||
|
|
||||||
Unfortunately, this technique does not work for `CONFIG_SHELL' due to
|
Unfortunately, this technique does not work for `CONFIG_SHELL' due to
|
||||||
an Autoconf bug. Until the bug is fixed you can use this workaround:
|
an Autoconf limitation. Until the limitation is lifted, you can use
|
||||||
|
this workaround:
|
||||||
|
|
||||||
CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
|
CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash
|
||||||
|
|
||||||
`configure' Invocation
|
`configure' Invocation
|
||||||
======================
|
======================
|
||||||
@ -367,4 +368,3 @@ operates.
|
|||||||
|
|
||||||
`configure' also accepts some other, not widely useful, options. Run
|
`configure' also accepts some other, not widely useful, options. Run
|
||||||
`configure --help' for more details.
|
`configure --help' for more details.
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
AC_PREREQ([2.65])
|
AC_PREREQ([2.65])
|
||||||
AC_INIT(ima-evm-utils, 0.6, d.kasatkin@samsung.com)
|
AC_INIT(ima-evm-utils, 0.6, d.kasatkin@samsung.com)
|
||||||
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
|
AM_INIT_AUTOMAKE
|
||||||
AC_CONFIG_HEADERS([config.h])
|
AC_CONFIG_HEADERS([config.h])
|
||||||
AC_CONFIG_MACRO_DIR([m4])
|
AC_CONFIG_MACRO_DIR([m4])
|
||||||
|
|
||||||
|
@ -1,10 +1,18 @@
|
|||||||
|
lib_LTLIBRARIES = libevm.la
|
||||||
|
|
||||||
|
libevm_la_SOURCES = libevm.c
|
||||||
|
libevm_la_CPPFLAGS = $(OPENSSL_CFLAGS)
|
||||||
|
# current[:revision[:age]]
|
||||||
|
# result: [current-age].age.revision
|
||||||
|
libevm_la_LDFLAGS = -version-info 0:0:0
|
||||||
|
libevm_la_LIBADD = $(OPENSSL_LIBS)
|
||||||
|
|
||||||
bin_PROGRAMS = evmctl
|
bin_PROGRAMS = evmctl
|
||||||
|
|
||||||
evmctl_SOURCES = evmctl.c
|
evmctl_SOURCES = evmctl.c
|
||||||
evmctl_CPPFLAGS = $(OPENSSL_CFLAGS)
|
evmctl_CPPFLAGS = $(OPENSSL_CFLAGS)
|
||||||
evmctl_LDFLAGS = $(LDFLAGS_READLINE)
|
evmctl_LDFLAGS = $(LDFLAGS_READLINE)
|
||||||
evmctl_LDADD = $(OPENSSL_LIBS) -lkeyutils
|
evmctl_LDADD = $(OPENSSL_LIBS) -lkeyutils libevm.la
|
||||||
|
|
||||||
INCLUDES = -I$(top_srcdir) -include config.h
|
INCLUDES = -I$(top_srcdir) -include config.h
|
||||||
|
|
||||||
|
6
src/libevm.c
Normal file
6
src/libevm.c
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#include <libevm.h>
|
||||||
|
|
||||||
|
void ima_func(void)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
7
src/libevm.h
Normal file
7
src/libevm.h
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
#ifndef _LIBEVM_H
|
||||||
|
#define _LIBEVM_H
|
||||||
|
|
||||||
|
void ima_func(void);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user