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.
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.
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
15 sbin_PROGRAMS += discover/pb-discover
16 noinst_PROGRAMS += discover/platform.ro
18 discover_pb_discover_SOURCES = \
23 discover/device-handler.c \
24 discover/device-handler.h \
25 discover/discover-server.c \
26 discover/discover-server.h \
27 discover/devmapper.c \
28 discover/devmapper.h \
33 discover/parser-conf.c \
34 discover/parser-conf.h \
35 discover/parser-utils.c \
36 discover/parser-utils.h \
39 discover/pb-discover.c \
40 discover/pb-discover.h \
49 discover/user-event.c \
50 discover/user-event.h \
51 discover/kboot-parser.c \
52 discover/yaboot-parser.c \
53 discover/pxe-parser.c \
54 discover/syslinux-parser.c
56 discover_pb_discover_LDADD = \
57 discover/grub2/grub2-parser.ro \
58 discover/native/native-parser.ro \
59 discover/platform.ro \
63 discover_pb_discover_LDFLAGS = \
67 discover_pb_discover_CPPFLAGS = \
69 -DLOCAL_STATE_DIR='"$(localstatedir)"' \
70 -DLOCALEDIR='"$(localedir)"' \
71 -DPKG_LIBEXEC_DIR='"$(pkglibexecdir)"' \
72 -DPKG_SHARE_DIR='"$(pkgsharedir)"' \
73 -DPKG_SYSCONF_DIR='"$(pkgsysconfdir)"'
75 discover_platform_ro_SOURCES = \
85 discover_platform_ro_SOURCES += discover/platform-arm64.c
89 discover_platform_ro_SOURCES += discover/platform-powerpc.c
92 # Build dummy last to put it at the end of the platforms section.
93 discover_platform_ro_SOURCES += discover/platform-dummy.c
96 discover_platform_ro_SOURCES += \
99 discover_platform_ro_LDFLAGS = \
105 discover_platform_ro_CPPFLAGS = \
108 discover_platform_ro_LINK = \