X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=test%2Fparser%2FMakefile.am;h=c2d84a38a84009a0c92cfb7bf98144667cdb0d1f;hb=d92fff7d8898acc1a56607fbb5a6897a70041344;hp=e5c32cface37179cf489e5313d72571ba197a559;hpb=203254ec7ca2352e898acc9ac5c971bcbf630720;p=petitboot diff --git a/test/parser/Makefile.am b/test/parser/Makefile.am index e5c32cf..c2d84a3 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: $(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 \