Add system info messages
[petitboot] / discover / 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 pkgsysconfdir = @sysconfdir@/@PACKAGE@
16
17 SUBDIRS = grub2
18
19 AM_CPPFLAGS = -I$(top_srcdir)/lib $(DEFAULT_CPPFLAGS)
20
21 AM_CFLAGS = $(DEFAULT_CFLAGS)  \
22         -DPREFIX='"$(prefix)"' \
23         -DPKG_SHARE_DIR='"$(pkgdatadir)"' \
24         -DPKG_SYSCONF_DIR='"$(pkgsysconfdir)"' \
25         -DLOCAL_STATE_DIR='"$(localstatedir)"'
26
27 EXTRA_DIST = native-parser.c
28
29 sbin_PROGRAMS = pb-discover
30
31 pb_discover_SOURCES = \
32         boot.c \
33         boot.h \
34         device-handler.c \
35         device-handler.h \
36         discover-server.c \
37         discover-server.h \
38         event.c \
39         event.h \
40         file.c \
41         file.h \
42         params.c \
43         params.h \
44         parser.c \
45         parser.h \
46         parser-conf.c \
47         parser-conf.h \
48         parser-utils.c \
49         parser-utils.h \
50         paths.c \
51         paths.h \
52         pb-discover.c \
53         pb-discover.h \
54         resource.c \
55         resource.h \
56         sysinfo.c \
57         sysinfo.h \
58         network.c \
59         network.h \
60         udev.c \
61         udev.h \
62         user-event.c \
63         user-event.h \
64         kboot-parser.c \
65         yaboot-parser.c \
66         pxe-parser.c
67
68 pb_discover_LDADD = $(top_builddir)/lib/libpbcore.la grub2/grub2-parser.ro
69
70 pb_discover_LDFLAGS = -ludev
71
72 MAINTAINERCLEANFILES = Makefile.in