add pkgconfig stuff, always build libfirm_xmalloc separately
[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
18 INSTALL_HEADERS_ADT = \
19         align.h \
20         array.h \
21         bipartite.h \
22         bitfiddle.h \
23         bitset.h \
24         bitset_ia32.h \
25         bitset_std.h \
26         cpset.h \
27         eset.h \
28         fourcc.h \
29         gaussjordan.h \
30         hashptr.h \
31         hashset.h \
32         hungarian.h \
33         impl.h \
34         iterator.h \
35         list.h \
36         obst.h \
37         offset.h \
38         pdeq.h \
39         plist.h \
40         pmap.h \
41         pqueue.h \
42         pset.h \
43         pset_new.h \
44         raw_bitset.h \
45         set.h \
46         unionfind.h \
47         util.h \
48         xmalloc.h
49
50 SOURCES = \
51         Makefile.in \
52         array.c \
53         bipartite.c \
54         cpset.c \
55         eset.c \
56         gaussjordan.c \
57         hashset.c \
58         hungarian.c \
59         iterator.c \
60         pdeq.c \
61         plist.c \
62         pmap.c \
63         pqueue.c \
64         pset.c \
65         pset_new.c \
66         set.c
67
68 ADDLIB = xmalloc.o
69
70 xmalloc.o: xmalloc.c
71         $(COMPILE.c) -o $@ $<
72
73 include $(topdir)/MakeRules
74
75 CPPFLAGS += -I$(top_srcdir)/ir/adt -I$(top_srcdir)/ir/common -I$(top_srcdir)/ir/debug -I$(topdir)/ir/config
76
77 include $(top_srcdir)/MakeTargets
78
79 all: subdir.o $(ADDLIB)