]> git.ozlabs.org Git - petitboot/blob - lib/Makefile.am
discover/sysinfo: Add system_info_reinit()
[petitboot] / lib / Makefile.am
1 #  This program is free software; you can redistribute it and/or modify
2 #  it under the terms of the GNU General Public License as published by
3 #  the Free Software Foundation; version 2 of the License.
4 #
5 #  This program is distributed in the hope that it will be useful,
6 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
7 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
8 #  GNU General Public License for more details.
9 #
10 #  You should have received a copy of the GNU General Public License
11 #  along with this program; if not, write to the Free Software
12 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
13 #
14
15 core_lib = lib/libpbcore.la
16
17 noinst_LTLIBRARIES += $(core_lib)
18
19 lib_libpbcore_la_CPPFLAGS = \
20         $(AM_CPPFLAGS) \
21         -DPREFIX='"$(prefix)"'
22
23 if WITH_GPGME
24 gpg_int_SOURCES = lib/security/gpg..h \
25         lib/security/gpg.c
26 else
27 gpg_int_SOURCES =
28 endif
29
30 lib_libpbcore_la_SOURCES = \
31         lib/file/file.h \
32         lib/file/file.c \
33         lib/fold/fold.h \
34         lib/fold/fold.c \
35         lib/i18n/i18n.h \
36         lib/i18n/i18n.c \
37         lib/log/log.h \
38         lib/log/log.c \
39         lib/list/list.c \
40         lib/list/list.h \
41         lib/waiter/waiter.c \
42         lib/waiter/waiter.h \
43         lib/pb-protocol/pb-protocol.c \
44         lib/pb-protocol/pb-protocol.h \
45         lib/pb-config/pb-config.c \
46         lib/pb-config/pb-config.h \
47         lib/process/process.c \
48         lib/process/process.h \
49         lib/types/types.c \
50         lib/types/types.h \
51         lib/talloc/talloc.c \
52         lib/talloc/talloc.h \
53         lib/system/system.c \
54         lib/system/system.h \
55         lib/url/url.c \
56         lib/url/url.h \
57         lib/util/util.c \
58         lib/util/util.h \
59         lib/flash/config.h \
60         lib/flash/flash.h \
61         $(gpg_int_SOURCES)
62
63 if ENABLE_MTD
64 lib_libpbcore_la_SOURCES += \
65         lib/flash/flash.c
66
67 lib_libpbcore_la_CPPFLAGS += \
68         $(AM_CPPFLAGS)
69
70 lib_libpbcore_la_LDFLAGS = \
71         $(AM_LDFLAGS) \
72         $(LIBFLASH_LIBS)
73
74 lib_libpbcore_la_SOURCES += \
75         lib/flash/flash.c
76 endif