new adt bipartite added
[libfirm] / ir / adt / Makefile.in
1 #
2 # Project:     libFIRM
3 # File name:   ir/adt/Makefile.in
4 # Purpose:
5 # Author:      Boris Boesler, Till Riedel
6 # Modified by:
7 # Created:
8 # CVS-ID:      $Id$
9 # Copyright:   (c) 1999-2003 Universität Karlsruhe
10 # Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
11 #
12
13 top_srcdir := @top_srcdir@
14 srcdir = @srcdir@
15 topdir = ../..
16 subdir := ir/adt
17 disable_libiberty := @disable_libiberty@
18
19 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
20
21 SOURCES = Makefile.in                           \
22         array.c obst.h pdeq.c   \
23         set.c pmap.c eset.c iterator.c xmalloc.h \
24         plist.c bipartite.c
25
26 ifeq ($(disable_libiberty),no)
27 SOURCES += xmalloc.c
28 ADDLIB =
29 else
30 ADDLIB = xmalloc.o
31
32 xmalloc.o: xmalloc.c
33         $(COMPILE.c) -o $@ $<
34 endif
35
36 include $(topdir)/MakeRules
37
38 CPPFLAGS += -I$(top_srcdir)/ir/adt -I$(top_srcdir)/ir/common -I$(top_srcdir)/ir/debug -I$(topdir)/ir/config
39 OFILES += pset.o
40
41 include $(top_srcdir)/MakeTargets
42
43 pset.o: set.c pset.h
44         $(COMPILE.c) -DPSET -o $@ $<
45
46 all: subdir.o $(ADDLIB)