summaryrefslogtreecommitdiffstats
path: root/discover/Makefile.am
blob: 1e4df0b19ca34d286dc6d5302b3f5f69bca261c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#  This program is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; version 2 of the License.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this program; if not, write to the Free Software
#  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
#

sbin_PROGRAMS += discover/pb-discover
noinst_PROGRAMS += discover/platform.ro

discover_pb_discover_SOURCES = \
	discover/boot.c \
	discover/boot.h \
	discover/cdrom.c \
	discover/cdrom.h \
	discover/device-handler.c \
	discover/device-handler.h \
	discover/discover-server.c \
	discover/discover-server.h \
	discover/event.c \
	discover/event.h \
	discover/params.c \
	discover/params.h \
	discover/parser.c \
	discover/parser.h \
	discover/parser-conf.c \
	discover/parser-conf.h \
	discover/parser-utils.c \
	discover/parser-utils.h \
	discover/paths.c \
	discover/paths.h \
	discover/pb-discover.c \
	discover/pb-discover.h \
	discover/resource.c \
	discover/resource.h \
	discover/sysinfo.c \
	discover/sysinfo.h \
	discover/network.c \
	discover/network.h \
	discover/udev.c \
	discover/udev.h \
	discover/user-event.c \
	discover/user-event.h \
	discover/kboot-parser.c \
	discover/yaboot-parser.c \
	discover/pxe-parser.c

discover_pb_discover_LDADD = \
	discover/grub2/grub2-parser.ro \
	discover/platform.ro \
	$(core_lib) \
	$(UDEV_LIBS)

discover_pb_discover_CPPFLAGS = \
	$(AM_CPPFLAGS) \
	-DLOCAL_STATE_DIR='"$(localstatedir)"' \
	-DLOCALEDIR='"$(localedir)"' \
	-DPKG_LIBEXEC_DIR='"$(pkglibexecdir)"' \
	-DPKG_SHARE_DIR='"$(pkgsharedir)"' \
	-DPKG_SYSCONF_DIR='"$(pkgsysconfdir)"'

discover_platform_ro_SOURCES = \
	discover/platform.c \
	discover/platform.h \
	discover/ipmi.c \
	discover/ipmi.h \
	discover/platform-powerpc.c

discover_platform_ro_LINK = \
	$(LD) -r -o $@
OpenPOWER on IntegriCloud