1 ## src/cacao/Makefile.am
3 ## Copyright (C) 1996-2005, 2006, 2007, 2008
4 ## CACAOVM - Verein zur Foerderung der freien virtuellen Maschine CACAO
6 ## This file is part of CACAO.
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.
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.
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
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)
40 if WITH_JAVA_RUNTIME_LIBRARY_OPENJDK
42 libjvm_la_LDFLAGS += \
43 -Xlinker --version-script=$(top_srcdir)/contrib/mapfile-vers-product
45 # This is for the Solaris LD.
46 libjvm_la_LDFLAGS += \
47 -Xlinker -M$(top_srcdir)/contrib/mapfile-vers-product
56 noinst_LTLIBRARIES = \
77 # Dummy C++ source to cause C++ linking.
78 # http://www.gnu.org/software/automake/manual/automake.html#Libtool-Convenience-Libraries
79 nodist_EXTRA_libjvm_la_SOURCES = \
83 $(top_builddir)/src/fdlibm/libfdlibm.la \
84 $(top_builddir)/src/mm/libmm.la \
85 $(top_builddir)/src/native/libnative.la \
86 $(top_builddir)/src/threads/libthreads.la \
87 $(top_builddir)/src/toolbox/libtoolbox.la \
88 $(top_builddir)/src/vm/libvm.la \
100 cacao_DEPENDENCIES = \
104 if WITH_JAVA_RUNTIME_LIBRARY_OPENJDK
106 $(mkdir_p) $(prefix)/jre/lib/$(JAVA_ARCH)/server
107 $(LN_S) -f $(libdir)/libjvm.so $(prefix)/jre/lib/$(JAVA_ARCH)/server
108 $(ECHO) $(ECHO_N) > $(prefix)/jre/lib/$(JAVA_ARCH)/server/Xusage.txt
109 $(ECHO) $(ECHO_N) > $(prefix)/jre/lib/$(JAVA_ARCH)/server/libjsig.so
112 rm -f $(prefix)/jre/lib/$(JAVA_ARCH)/server/libjvm.so
113 rm -f $(prefix)/jre/lib/$(JAVA_ARCH)/server/Xusage.txt
114 rm -f $(prefix)/jre/lib/$(JAVA_ARCH)/server/libjsig.so
120 ## indent-tabs-mode: t
123 ## compile-command: "automake --add-missing"