X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=Makefile.in;h=34057ab6c5f4b60dd933d5e4a73f6dd46cf9c5cd;hb=8afc2ffa646f8d7510c014b8179b812c7ca9a769;hp=095f479e222cdb0f3d8756bbd092e50867f9dc21;hpb=df9b9f8aaf1952881ccaa365240ae9a8a3c1bd54;p=libfirm diff --git a/Makefile.in b/Makefile.in index 095f479e2..34057ab6c 100644 --- a/Makefile.in +++ b/Makefile.in @@ -26,6 +26,10 @@ enable_external_effects := @enable_external_effects@ # do we want to test the firm internal backend stuff? enable_backend := @enable_backend@ +# suck in values for the linking procedure: +LDFLAGS = @LDFLAGS@ +LIBS = @LIBS@ + build_subdirs := ir/adt ir/debug ir/tv ir/common ir/ident ir/ir \ ir/opt ir/tr ir/ana ir/stat ir/ana2 @@ -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