Display VERSION partition info on BMC machines
[petitboot] / lib / Makefile.am
index f9f9461fdf5100824feb7ebad8896949fc39d420..a3ae943861ba4f89f1b2230083e853f13800fbde 100644 (file)
@@ -21,9 +21,12 @@ lib_libpbcore_la_CPPFLAGS = \
        -DPREFIX='"$(prefix)"'
 
 lib_libpbcore_la_SOURCES = \
+       lib/file/file.h \
+       lib/file/file.c \
        lib/fold/fold.h \
        lib/fold/fold.c \
        lib/i18n/i18n.h \
+       lib/i18n/i18n.c \
        lib/log/log.h \
        lib/log/log.c \
        lib/list/list.c \
@@ -36,6 +39,7 @@ lib_libpbcore_la_SOURCES = \
        lib/pb-config/pb-config.h \
        lib/process/process.c \
        lib/process/process.h \
+       lib/types/types.c \
        lib/types/types.h \
        lib/talloc/talloc.c \
        lib/talloc/talloc.h \
@@ -44,5 +48,21 @@ lib_libpbcore_la_SOURCES = \
        lib/url/url.c \
        lib/url/url.h \
        lib/util/util.c \
-       lib/util/util.h
+       lib/util/util.h \
+       lib/flash/config.h \
+       lib/flash/flash.h
 
+if ENABLE_MTD
+lib_libpbcore_la_SOURCES += \
+       lib/flash/flash.c
+
+lib_libpbcore_la_CPPFLAGS += \
+       $(AM_CPPFLAGS)
+
+lib_libpbcore_la_LDFLAGS = \
+       $(AM_LDFLAGS) \
+       -l:libflash.so
+
+lib_libpbcore_la_SOURCES += \
+       lib/flash/flash.c
+endif