X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fadt%2FMakefile.in;h=861bdd4c7bf7c15d80b0162f5d5243b9c14f9962;hb=486f1e4abd8cc35ffb4839b7254cdb70b98f38ee;hp=1ba5c69372367ddd849687241d5961856ea5e29b;hpb=bdef3c48e38136efb131f4cb9966de7b6d07b24d;p=libfirm diff --git a/ir/adt/Makefile.in b/ir/adt/Makefile.in index 1ba5c6937..861bdd4c7 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 -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 \ - xmalloc.h +SOURCES = Makefile.in \ + array.c obst.h pdeq.c \ + set.c pmap.c eset.c iterator.c xmalloc.h \ + plist.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)