042e5a9e14a8b2609ed379fabd49a1daea01ec19
[cacao.git] / src / cacaoh / Makefile.am
1 ## src/cacaoh/Makefile.am
2 ##
3 ## Copyright (C) 1996-2005, 2006, 2007, 2008
4 ## CACAOVM - Verein zur Foerderung der freien virtuellen Maschine CACAO
5 ##
6 ## This file is part of CACAO.
7 ##
8 ## This program is free software; you can redistribute it and/or
9 ## modify it under the terms of the GNU General Public License as
10 ## published by the Free Software Foundation; either version 2, or (at
11 ## your option) any later version.
12 ##
13 ## This program is distributed in the hope that it will be useful, but
14 ## WITHOUT ANY WARRANTY; without even the implied warranty of
15 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16 ## General Public License for more details.
17 ##
18 ## You should have received a copy of the GNU General Public License
19 ## along with this program; if not, write to the Free Software
20 ## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21 ## 02110-1301, USA.
22
23
24 AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/src/vm/jit/$(ARCH_DIR) -I$(top_srcdir)/src/vm/jit/$(ARCH_DIR)/$(OS_DIR)
25
26 if ENABLE_RT_TIMING
27 cacaoh_LDFLAGS = -lrt
28 endif
29
30 noinst_LTLIBRARIES = \
31         libcacaoh.la
32
33 libcacaoh_la_SOURCES = \
34         dummy.cpp \
35         headers.c \
36         headers.h
37
38 libcacaoh_la_LIBADD = \
39         $(top_builddir)/src/toolbox/libtoolbox.la \
40         $(top_builddir)/src/vmcore/libvmcore.la
41
42 noinst_PROGRAMS = \
43         cacaoh
44
45 cacaoh_SOURCES = \
46         cacaoh.c
47
48 # Dummy C++ source to cause C++ linking.
49 # http://www.gnu.org/software/automake/manual/automake.html#Libtool-Convenience-Libraries
50 nodist_EXTRA_cacaoh_SOURCES = \
51         foo.cxx
52
53 cacaoh_LDADD = \
54         libcacaoh.la
55
56 cacaoh_DEPENDENCIES = \
57         $(cacaoh_LDADD)
58
59
60 ## Local variables:
61 ## mode: Makefile
62 ## indent-tabs-mode: t
63 ## c-basic-offset: 4
64 ## tab-width: 8
65 ## compile-command: "automake --add-missing"
66 ## End: