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
25 $(top_builddir)/lib/libpbcore.la \
26 $(top_builddir)/discover/libparser.o
28 noinst_PROGRAMS = parser-test
30 parser_test_SOURCES = parser-test.c
31 parser_test_LDADD = $(common_libs)
34 data/grub-01/grub.cfg \
35 data/grub-02/grub.cfg \
36 data/kboot-01/expected-output \
37 data/kboot-01/etc/kboot.conf \
38 data/kboot-02/expected-output \
39 data/kboot-02/etc/kboot.conf \
40 data/kboot-03/expected-output \
41 data/kboot-03/etc/kboot.conf \
42 data/kboot-04/expected-output \
43 data/kboot-04/etc/kboot.conf \
44 data/kboot-05/expected-output \
45 data/kboot-05/etc/kboot.conf \
46 data/kboot-06/expected-output \
47 data/kboot-06/etc/kboot.conf \
48 data/kboot-07/etc/kboot.conf \
49 data/yaboot-01/expected-output \
50 data/yaboot-01/etc/yaboot.conf \
51 data/yaboot-02/etc/yaboot.conf \
52 data/yaboot-03/etc/yaboot.conf \
53 data/yaboot-04/etc/yaboot.conf \
54 data/yaboot-05/etc/yaboot.conf \
55 data/yaboot-06/etc/yaboot.conf
57 composed_noinst_scripts = \
60 noinst_SCRIPTS = $(composed_noinst_scripts)
63 -e 's|@PACKAGE_NAME\@|$(PACKAGE_NAME)|g' \
64 -e 's|@PACKAGE_VERSION\@|$(PACKAGE_VERSION)|g' \
65 -e 's|@PACKAGE_BUGREPORT\@|$(PACKAGE_BUGREPORT)|g' \
66 -e 's|@abs_srcdir\@|$(abs_srcdir)|g' \
67 -e 's|@abs_builddir\@|$(abs_builddir)|g' \
68 -e 's|@prefix\@|$(prefix)|g'
70 run-parser-tests: Makefile $(srcdir)/run-parser-tests.in
72 $(edit) $(srcdir)/$@.in >$@.tmp
76 composed_files = $(composed_noinst_scripts)
78 EXTRA_DIST = $(addsuffix .in, $(composed_files)) $(noinst_DATA)
80 MAINTAINERCLEANFILES = Makefile.in
82 CLEANFILES = $(composed_files) $(addsuffix .tmp, $(composed_files))