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 \
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