X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fadt%2FMakefile.in;h=b9f9178b2078d4b58c05d16756a585683df6d0cf;hb=6a768b09064c37b361871ba888213cdd5ed5a700;hp=6d14ac7b097646706ea43cbc3a638b4656e6ab3a;hpb=fbcb96cc20a7b5d06136e4c70870e86173e658eb;p=libfirm diff --git a/ir/adt/Makefile.in b/ir/adt/Makefile.in index 6d14ac7b0..b9f9178b2 100644 --- a/ir/adt/Makefile.in +++ b/ir/adt/Makefile.in @@ -16,19 +16,26 @@ topdir = ../.. subdir := ir/adt disable_libiberty := @disable_libiberty@ +INSTALL_HEADERS_ADT = pset.h set.h pmap.h eset.h hashptr.h array.h pdeq.h iterator.h align.h fourcc.h util.h plist.h bipartite.h xmalloc.h -SOURCES = Makefile.in \ - array.c array.h cookies.h debug.c debug.h host.h obst.h \ - pdeq.c pdeq.h pset.h set.c set.h pmap.h pmap.c eset.h eset.c \ - misc.h xmalloc.h +SOURCES = Makefile.in \ + array.c obst.h pdeq.c \ + set.c pmap.c eset.c iterator.c xmalloc.h \ + plist.c bipartite.c ifeq ($(disable_libiberty),no) SOURCES += xmalloc.c +ADDLIB = +else +ADDLIB = xmalloc.o + +xmalloc.o: xmalloc.c + $(COMPILE.c) -o $@ $< endif include $(topdir)/MakeRules -CPPFLAGS += -I$(top_srcdir)/ir/adt -I$(top_srcdir)/ir/common -I$(top_srcdir)/ir/debug +CPPFLAGS += -I$(top_srcdir)/ir/adt -I$(top_srcdir)/ir/common -I$(top_srcdir)/ir/debug -I$(topdir)/ir/config OFILES += pset.o include $(top_srcdir)/MakeTargets @@ -36,4 +43,4 @@ include $(top_srcdir)/MakeTargets pset.o: set.c pset.h $(COMPILE.c) -DPSET -o $@ $< -all: subdir.o +all: subdir.o $(ADDLIB)