X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=Makefile.in;h=095f479e222cdb0f3d8756bbd092e50867f9dc21;hb=18c8e70f697376f6516de940a0d2891b110b3c58;hp=095d4cada3cc0230426e51e1fc341bb33f23496a;hpb=78e2efd752a23bc9634c3955c84c3955cce42911;p=libfirm diff --git a/Makefile.in b/Makefile.in index 095d4cada..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/ana2 +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