X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=Makefile.in;h=d698da0326614aebce45eb3cf64ced1d6b44d9b7;hb=53ad6436410df8f1e87ebec550b1c2ecf76b9a2a;hp=056bce856b22b2c655a6663df02767fedc19ecfe;hpb=c2b4a9f3d77fda7989e9cbd6293b9f9f58f4221c;p=libfirm diff --git a/Makefile.in b/Makefile.in index 056bce856..d698da032 100644 --- a/Makefile.in +++ b/Makefile.in @@ -19,8 +19,10 @@ srcdir := @srcdir@ topdir := . # subdirectory under topdir subdir := . +# do we want statistics +enable_statistics := @enable_statistics@ -subdirs := ir/adt ir/debug ir/tv ir/common ir/ident ir/ir ir/tr ir/ana ir/st +subdirs := ir/adt ir/debug ir/tv ir/common ir/ident ir/ir ir/opt ir/tr ir/ana ir/st ir/stat SOURCES := Makefile.in MakeRules.in MakeTargets\ aclocal.m4 config.h.in\ @@ -41,9 +43,13 @@ include $(top_srcdir)/MakeTargets # add target firmjni if configured with --enable-firmjni all: firm -firm: config.h Makefile libfirm.a +firm: libfirm.a -libfirm.a: subdir_all $(XOFILES) $(OFILES) +$(OFILES): config.h Makefile + +$(XOFILES): subdir_all + +libfirm.a: $(XOFILES) $(OFILES) $(AR) $(ARFLAGS) $@.new $(XOFILES) $(OFILES) $(RANLIB) $@.new mv -f $@.new $@