Makefile revision 4603
1N/A#
1N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
1N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
1N/A#
1N/A# This code is free software; you can redistribute it and/or modify it
1N/A# under the terms of the GNU General Public License version 2 only, as
1N/A# published by the Free Software Foundation. Oracle designates this
1N/A# particular file as subject to the "Classpath" exception as provided
1N/A# by Oracle in the LICENSE file that accompanied this code.
1N/A#
1N/A# This code is distributed in the hope that it will be useful, but WITHOUT
1N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
1N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
1N/A# version 2 for more details (a copy is included in the LICENSE file that
1N/A# accompanied this code).
1N/A#
1N/A# You should have received a copy of the GNU General Public License version
1N/A# 2 along with this work; if not, write to the Free Software Foundation,
1N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
1N/A#
1N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
1N/A# or visit www.oracle.com if you need additional information or have any
1N/A# questions.
1N/A#
1N/A
1N/ABUILDDIR = ../../..
1N/APACKAGE = oracle.jrockit.jfr
1N/ALIBRARY = jfr
1N/APRODUCT = oracle
1N/Ainclude $(BUILDDIR)/common/Defs.gmk
1N/A
1N/A#
1N/A# Use mapfile
1N/A#
1N/AFILES_m = $(CLOSED_SHARE_SRC)/native/oracle/jfr/mapfile-vers
1N/Ainclude $(BUILDDIR)/common/Mapfile-vers.gmk
1N/A
1N/A#
1N/A# Files to compile
1N/A#
1N/AFILES_c = VMJFR.c
1N/A
1N/AAUTO_FILES_JAVA_DIRS = com/oracle/jrockit/jfr oracle/jrockit/jfr
1N/A
1N/A# Find C source files
1N/A#
1N/Avpath %.c $(CLOSED_SHARE_SRC)/native/oracle/jfr
1N/A
1N/A#
1N/A# Library to compile.
1N/A#
1N/Ainclude $(BUILDDIR)/common/Library.gmk
1N/A
1N/AJVMLIB =
1N/AJAVALIB =
1N/AOTHER_LDLIBS =
1N/A
1N/Aclean clobber::
1N/A $(RM) -r $(CLASSDESTDIR)/com/oracle/jrockit/jfr
1N/A $(RM) -r $(CLASSDESTDIR)/oracle/jrockit/jfr
1N/A
1N/A
1N/A# Copy pre-shipped .jfs files
1N/AJFR_LIBDIR = $(LIBDIR)/jfr
1N/AJFR_SRCDIR = $(CLOSED_SHARE_SRC)/lib/jfr
1N/A
1N/A$(JFR_LIBDIR)/%.jfs: $(JFR_SRCDIR)/%.jfs
1N/A $(install-file)
1N/A
1N/AJFS_FILES := $(subst $(JFR_SRCDIR),$(JFR_LIBDIR),$(wildcard $(JFR_SRCDIR)/*.jfs))
1N/A
1N/Aall build : $(JFS_FILES)
1N/A
1N/A