X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=Makefile.in;h=b433ab1e733e109f6f6f59b6506e48eb4565b0bc;hb=c0397977e59fcfd9a1dcdb38097c2dca5655a8b9;hp=f81997927f41427c6a8eba3a103db57d5826c401;hpb=07b499f6d559970f1a5173d661796c8444ed7119;p=libfirm diff --git a/Makefile.in b/Makefile.in index f81997927..b433ab1e7 100644 --- a/Makefile.in +++ b/Makefile.in @@ -34,9 +34,11 @@ XOFILES += $(addsuffix /subdir.o, $(subdirs)) include $(top_srcdir)/MakeTargets - +# add target firmjni if configured with --enable-firmjni all: config.h Makefile libfirm.a +firm: config.h Makefile libfirm.a + libfirm.a: subdir_all $(XOFILES) $(OFILES) $(AR) $(ARFLAGS) $@.new $(XOFILES) $(OFILES) $(RANLIB) $@.new @@ -44,8 +46,9 @@ libfirm.a: subdir_all $(XOFILES) $(OFILES) testprograms: libfirm.a $(MAKE) -C testprograms - $(MAKE) -C firmjni test +firmjni:: libfirm.a + $(MAKE) -C firmjni # gernerate program documentation .PHONY: autodoc @@ -75,8 +78,11 @@ stamp-h: config.h.in config.status config.status: configure ./config.status --recheck +# add target test-firmjni if configured with --enable-firmjni test:: $(MAKE) -C testprograms test; + +test-firmjni:: $(MAKE) -C firmjni test; test-reference:: @@ -84,3 +90,4 @@ test-reference:: test-clean: $(MAKE) -C testprograms realclean + $(MAKE) -C firmjni/testprograms clean;