X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=test%2Fparser%2FMakefile.am;h=fbf9c50af1a53058aca99d2761c983edfd50d580;hb=995e08e3de9aaff81e72227587ffcb4cc78175d0;hp=e221bf2080c1918084ad92e59ec77badc980be5f;hpb=15c8cadd1173f681142a3f48319a203d7b917850;p=petitboot diff --git a/test/parser/Makefile.am b/test/parser/Makefile.am index e221bf2..fbf9c50 100644 --- a/test/parser/Makefile.am +++ b/test/parser/Makefile.am @@ -29,6 +29,7 @@ TESTS = \ test-null \ test-grub2-single \ test-grub2-multiple-resolve \ + test-grub2-single-line-if \ test-grub2-f18-ppc64 \ test-grub2-ubuntu-13_04-x86 \ test-kboot-single \ @@ -43,7 +44,8 @@ TESTS = \ test-yaboot-rh8-ppc64 \ test-pxe-empty \ test-pxe-single \ - test-pxe-initrd-in-append + test-pxe-initrd-in-append \ + test-pxe-default $(TESTS): %: %.embedded-config.o $(TESTS): LDADD += $@.embedded-config.o @@ -57,7 +59,6 @@ extract_config = $(srcdir)/extract-config.awk parser_objs = \ $(top_srcdir)/discover/yaboot-parser.c \ $(top_srcdir)/discover/kboot-parser.c \ - $(top_srcdir)/discover/grub2-parser.c \ $(top_srcdir)/discover/pxe-parser.c \ $(top_srcdir)/discover/resource.c \ $(top_srcdir)/discover/paths.c \ @@ -71,7 +72,10 @@ libtest_ro_SOURCES = \ parser-test.h \ $(parser_objs) -libtest.ro$(EXEEXT): $(libtest_ro_OBJECTS) +libtest_ro_LDADD = \ + ../../discover/grub2/grub2-parser.ro + +libtest.ro$(EXEEXT): $(libtest_ro_OBJECTS) $(libtest_ro_LDADD) $(LD) -o $@ -r $^ check_PROGRAMS = $(TESTS) libtest.ro