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