X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=Makefile.in;h=095f479e222cdb0f3d8756bbd092e50867f9dc21;hb=70a99776fa03fa4f45379d06e1fae21c2ca103b3;hp=88f9a5a67b2b745c2935124a22134b3f6c9989ee;hpb=b7ed89a28eed5fc5e5321ef681e29f6c3ae48352;p=libfirm diff --git a/Makefile.in b/Makefile.in index 88f9a5a67..095f479e2 100644 --- a/Makefile.in +++ b/Makefile.in @@ -21,8 +21,23 @@ topdir := . subdir := . # do we want statistics enable_statistics := @enable_statistics@ +# do we want external description of effects +enable_external_effects := @enable_external_effects@ +# do we want to test the firm internal backend stuff? +enable_backend := @enable_backend@ -subdirs := ir/adt ir/debug ir/tv ir/common ir/ident ir/ir ir/opt ir/tr ir/ana ir/stat ir/external # ir/st +build_subdirs := ir/adt ir/debug ir/tv ir/common ir/ident ir/ir \ + ir/opt ir/tr ir/ana ir/stat ir/ana2 + +ifeq (@enable_external_effects@,yes) +build_subdirs += ir/external +endif + +ifeq (@enable_backend@,yes) +build_subdirs += ir/be +endif + +subdirs := $(build_subdirs) ir/config SOURCES := Makefile.in MakeRules.in MakeTargets\ aclocal.m4 config.h.in\ @@ -38,7 +53,7 @@ GENFILES := stamp-h config.log config.cache include $(topdir)/MakeRules -XOFILES += $(addsuffix /subdir.o, $(subdirs)) +XOFILES += $(addsuffix /subdir.o, $(build_subdirs)) include $(top_srcdir)/MakeTargets @@ -58,6 +73,7 @@ libfirm.a: $(XOFILES) $(OFILES) mv -f $@.new $@ $(RANLIB) $@ +# dont know about xml here libfirm.so: subdir_all $(XOFILES) $(OFILES) ld -Bshareable -o ./libfirm.so $(XOFILES) -lm -L/usr/public/libxml2/lib -lxml2