removed C99 constructs
[libfirm] / Makefile.in
index 231062c..095f479 100644 (file)
@@ -21,9 +21,21 @@ 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@
 
-build_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
 
@@ -61,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