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