mirror of
https://git.code.sf.net/p/linux-ima/ima-evm-utils
synced 2025-07-02 05:33:15 +02:00
Initial library skeleton
Signed-off-by: Dmitry Kasatkin <d.kasatkin@samsung.com>
This commit is contained in:
@ -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
|
||||
|
||||
evmctl_SOURCES = evmctl.c
|
||||
evmctl_CPPFLAGS = $(OPENSSL_CFLAGS)
|
||||
evmctl_LDFLAGS = $(LDFLAGS_READLINE)
|
||||
evmctl_LDADD = $(OPENSSL_LIBS) -lkeyutils
|
||||
evmctl_LDADD = $(OPENSSL_LIBS) -lkeyutils libevm.la
|
||||
|
||||
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
|
||||
|
Reference in New Issue
Block a user