X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=Makefile.in;h=4609c38caed2aff988e082beec3f0cf8639dd6f7;hb=39d5ec362bbf6d49c5f8cff1c78a7e2e6ef83e0c;hp=095f479e222cdb0f3d8756bbd092e50867f9dc21;hpb=df9b9f8aaf1952881ccaa365240ae9a8a3c1bd54;p=libfirm diff --git a/Makefile.in b/Makefile.in index 095f479e2..4609c38ca 100644 --- a/Makefile.in +++ b/Makefile.in @@ -23,20 +23,24 @@ subdir := . 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@ +# do we want to use the libcore for debug and ADT support +enable_libcore := @enable_libcore@ + +# suck in values for the linking procedure: +LDFLAGS = @LDFLAGS@ +LIBS = @LIBS@ + +# plugin subdirectories +plugin_subdirs := @plugin_subdirs@ build_subdirs := ir/adt ir/debug ir/tv ir/common ir/ident ir/ir \ - ir/opt ir/tr ir/ana ir/stat ir/ana2 + ir/opt ir/tr ir/ana ir/stat ir/ana2 ir/arch \ + $(plugin_subdirs) 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\ @@ -75,7 +79,7 @@ libfirm.a: $(XOFILES) $(OFILES) # dont know about xml here libfirm.so: subdir_all $(XOFILES) $(OFILES) - ld -Bshareable -o ./libfirm.so $(XOFILES) -lm -L/usr/public/libxml2/lib -lxml2 + ld -Bshareable -o ./libfirm.so $(XOFILES) -lm $(LDFLAGS) $(LIBS) testprograms: libfirm.a $(MAKE) -C testprograms