X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=test%2Fparser%2FMakefile.am;h=f1458cd279728f2ba45cd8ca6c1b53c99b86a579;hp=e5c32cface37179cf489e5313d72571ba197a559;hb=f2747434dcdfe71c3a4d1b841070f4c9d8dc4965;hpb=203254ec7ca2352e898acc9ac5c971bcbf630720 diff --git a/test/parser/Makefile.am b/test/parser/Makefile.am index e5c32cf..f1458cd 100644 --- a/test/parser/Makefile.am +++ b/test/parser/Makefile.am @@ -23,7 +23,7 @@ AM_CPPFLAGS = \ AM_CFLAGS = -O0 -ggdb -Wall -Wextra -Werror -LDADD = $(top_builddir)/lib/libpbcore.la libtest.o +LDADD = $(top_builddir)/lib/libpbcore.la libtest.ro TESTS = \ test-null \ @@ -34,7 +34,9 @@ TESTS = \ test-kboot-single \ test-yaboot-single \ test-yaboot-external \ - test-yaboot-rh8-ppc64 + test-yaboot-rh8-ppc64 \ + test-pxe-single \ + test-pxe-initrd-in-append $(TESTS): %: %.embedded-config.o $(TESTS): LDADD += $@.embedded-config.o @@ -49,23 +51,23 @@ 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 \ $(top_srcdir)/discover/device-handler.c \ $(top_srcdir)/discover/parser-conf.c -libtest_o_SOURCES = \ +libtest_ro_SOURCES = \ main.c \ utils.c \ handler.c \ parser-test.h \ $(parser_objs) -libtest.o: $(libtest_o_OBJECTS) +libtest.ro$(EXEEXT): $(libtest_ro_OBJECTS) $(LD) -o $@ -r $^ -check_PROGRAMS = $(TESTS) -check_LIBRARIES = libtest.o +check_PROGRAMS = $(TESTS) libtest.ro check_DATA = \ data/grub2-f18-ppc64.conf \