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@
17 AM_CPPFLAGS = -I$(top_srcdir)/lib $(DEFAULT_CPPFLAGS)
19 AM_CFLAGS = $(DEFAULT_CFLAGS) \
20 -DPREFIX='"$(prefix)"' \
21 -DPKG_SHARE_DIR='"$(pkgdatadir)"' \
22 -DPKG_SYSCONF_DIR='"$(pkgsysconfdir)"' \
23 -DLOCAL_STATE_DIR='"$(localstatedir)"'
25 noinst_PROGRAMS = libparser.ro
27 libparser_ro_SOURCES = \
41 libparser.ro$(EXEEXT): $(libparser_ro_OBJECTS)
44 EXTRA_DIST = native-parser.c
46 sbin_PROGRAMS = pb-discover
48 pb_discover_SOURCES = \
71 pb_discover_LDADD = libparser.ro $(top_builddir)/lib/libpbcore.la
73 pb_discover_LDFLAGS = -ludev
75 MAINTAINERCLEANFILES = Makefile.in