pb-config: Move config storage modules to "platform" modules in discover code
[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         -DPKG_LIBEXEC_DIR='"$(pkglibexecdir)"' \
26         -DLOCAL_STATE_DIR='"$(localstatedir)"'
27
28 EXTRA_DIST = native-parser.c
29
30 sbin_PROGRAMS = pb-discover
31
32 pb_discover_SOURCES = \
33         boot.c \
34         boot.h \
35         cdrom.c \
36         cdrom.h \
37         device-handler.c \
38         device-handler.h \
39         discover-server.c \
40         discover-server.h \
41         event.c \
42         event.h \
43         file.c \
44         file.h \
45         params.c \
46         params.h \
47         parser.c \
48         parser.h \
49         parser-conf.c \
50         parser-conf.h \
51         parser-utils.c \
52         parser-utils.h \
53         paths.c \
54         paths.h \
55         pb-discover.c \
56         pb-discover.h \
57         platform.c \
58         platform.h \
59         platform-powerpc.c \
60         resource.c \
61         resource.h \
62         sysinfo.c \
63         sysinfo.h \
64         network.c \
65         network.h \
66         udev.c \
67         udev.h \
68         user-event.c \
69         user-event.h \
70         kboot-parser.c \
71         yaboot-parser.c \
72         pxe-parser.c
73
74 pb_discover_LDADD = $(top_builddir)/lib/libpbcore.la grub2/grub2-parser.ro
75
76 pb_discover_LDFLAGS = -ludev
77
78 MAINTAINERCLEANFILES = Makefile.in