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 pkgsysconfdir = @sysconfdir@/@PACKAGE@
19 AM_CPPFLAGS = -I$(top_srcdir)/lib $(DEFAULT_CPPFLAGS)
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)"'
28 EXTRA_DIST = native-parser.c
30 sbin_PROGRAMS = pb-discover
32 pb_discover_SOURCES = \
69 pb_discover_LDADD = $(top_builddir)/lib/libpbcore.la grub2/grub2-parser.ro
71 pb_discover_LDFLAGS = -ludev
73 MAINTAINERCLEANFILES = Makefile.in