summaryrefslogtreecommitdiffstats
path: root/lib/Makefile.am
blob: a3ae943861ba4f89f1b2230083e853f13800fbde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#  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)"'

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

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
OpenPOWER on IntegriCloud