]> git.ozlabs.org Git - petitboot/blob - discover/Makefile.am
discover/grub2: Add support for for-loops
[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         resource.c \
58         resource.h \
59         sysinfo.c \
60         sysinfo.h \
61         network.c \
62         network.h \
63         udev.c \
64         udev.h \
65         user-event.c \
66         user-event.h \
67         kboot-parser.c \
68         yaboot-parser.c \
69         pxe-parser.c
70
71 pb_discover_LDADD = $(top_builddir)/lib/libpbcore.la grub2/grub2-parser.ro
72
73 pb_discover_LDFLAGS = -ludev
74
75 MAINTAINERCLEANFILES = Makefile.in