Add support for GPG signature enforcement on booted
[petitboot] / lib / Makefile.am
index 09bc1aa30a61258c068844274563e2a03da89b98..bb7dfe489132c0493389a1826f70e05f83e08850 100644 (file)
@@ -20,6 +20,13 @@ lib_libpbcore_la_CPPFLAGS = \
        $(AM_CPPFLAGS) \
        -DPREFIX='"$(prefix)"'
 
+if WITH_GPGME
+gpg_int_SOURCES = lib/security/gpg..h \
+       lib/security/gpg.c
+else
+gpg_int_SOURCES =
+endif
+
 lib_libpbcore_la_SOURCES = \
        lib/file/file.h \
        lib/file/file.c \
@@ -50,7 +57,8 @@ lib_libpbcore_la_SOURCES = \
        lib/util/util.c \
        lib/util/util.h \
        lib/flash/config.h \
-       lib/flash/flash.h
+       lib/flash/flash.h \
+       $(gpg_int_SOURCES)
 
 if ENABLE_MTD
 lib_libpbcore_la_SOURCES += \