autotools: Use non-recursive make
[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 sbin_PROGRAMS += discover/pb-discover
16
17 discover_pb_discover_SOURCES = \
18         discover/boot.c \
19         discover/boot.h \
20         discover/cdrom.c \
21         discover/cdrom.h \
22         discover/device-handler.c \
23         discover/device-handler.h \
24         discover/discover-server.c \
25         discover/discover-server.h \
26         discover/event.c \
27         discover/event.h \
28         discover/file.c \
29         discover/file.h \
30         discover/params.c \
31         discover/params.h \
32         discover/parser.c \
33         discover/parser.h \
34         discover/parser-conf.c \
35         discover/parser-conf.h \
36         discover/parser-utils.c \
37         discover/parser-utils.h \
38         discover/paths.c \
39         discover/paths.h \
40         discover/pb-discover.c \
41         discover/pb-discover.h \
42         discover/platform.c \
43         discover/platform.h \
44         discover/platform-powerpc.c \
45         discover/resource.c \
46         discover/resource.h \
47         discover/sysinfo.c \
48         discover/sysinfo.h \
49         discover/network.c \
50         discover/network.h \
51         discover/udev.c \
52         discover/udev.h \
53         discover/user-event.c \
54         discover/user-event.h \
55         discover/kboot-parser.c \
56         discover/yaboot-parser.c \
57         discover/pxe-parser.c
58
59 discover_pb_discover_LDADD = \
60         $(core_lib) \
61         discover/grub2/grub2-parser.ro
62
63 discover_pb_discover_LDFLAGS = -ludev
64
65 discover_pb_discover_CPPFLAGS = \
66         $(AM_CPPFLAGS) \
67         -DLOCAL_STATE_DIR='"$(localstatedir)"' \
68         -DLOCALEDIR='"$(localedir)"' \
69         -DPKG_LIBEXEC_DIR='"$(pkglibexecdir)"' \
70         -DPKG_SHARE_DIR='"$(pkgsharedir)"' \
71         -DPKG_SYSCONF_DIR='"$(pkgsysconfdir)"'
72
73 EXTRA_DIST += discover/native-parser.c
74