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