# This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # core_lib = lib/libpbcore.la noinst_LTLIBRARIES += $(core_lib) 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 \ 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/list/list.h \ lib/waiter/waiter.c \ lib/waiter/waiter.h \ lib/pb-protocol/pb-protocol.c \ lib/pb-protocol/pb-protocol.h \ lib/pb-config/pb-config.c \ 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 \ lib/system/system.c \ lib/system/system.h \ lib/url/url.c \ lib/url/url.h \ lib/util/util.c \ lib/util/util.h \ lib/flash/config.h \ lib/flash/flash.h \ $(gpg_int_SOURCES) if ENABLE_MTD lib_libpbcore_la_SOURCES += \ lib/flash/flash.c lib_libpbcore_la_CPPFLAGS += \ $(AM_CPPFLAGS) lib_libpbcore_la_LDFLAGS = \ $(AM_LDFLAGS) \ $(LIBFLASH_LIBS) lib_libpbcore_la_SOURCES += \ lib/flash/flash.c endif