183N/A#
4956N/A# Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved.
268N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
268N/A#
268N/A# This code is free software; you can redistribute it and/or modify it
268N/A# under the terms of the GNU General Public License version 2 only, as
2362N/A# published by the Free Software Foundation. Oracle designates this
268N/A# particular file as subject to the "Classpath" exception as provided
2362N/A# by Oracle in the LICENSE file that accompanied this code.
268N/A#
268N/A# This code is distributed in the hope that it will be useful, but WITHOUT
268N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
268N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
268N/A# version 2 for more details (a copy is included in the LICENSE file that
268N/A# accompanied this code).
268N/A#
268N/A# You should have received a copy of the GNU General Public License version
268N/A# 2 along with this work; if not, write to the Free Software Foundation,
268N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
268N/A#
2362N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2362N/A# or visit www.oracle.com if you need additional information or have any
2362N/A# questions.
183N/A#
183N/A
183N/A#
183N/A# Makefile for building dtrace extension
183N/A#
4956N/A
4956N/ALIBRARY_SUPPORTS_FULL_DEBUG_SYMBOLS=1
4956N/A
183N/ABUILDDIR = ../../..
183N/APACKAGE = sun.tracing.dtrace
183N/ALIBRARY = jsdt
183N/APRODUCT = sun
183N/Ainclude $(BUILDDIR)/common/Defs.gmk
183N/A
183N/A#
183N/A# Use mapfile
183N/A#
183N/AFILES_m = mapfile-vers
183N/Ainclude $(BUILDDIR)/common/Mapfile-vers.gmk
183N/A
183N/ANATIVE_DTRACE_DIR=native/sun/tracing/dtrace
183N/A
183N/ASRCDIR=$(SHARE_SRC)/$(NATIVE_DTRACE_DIR)
183N/APSRCDIR=$(PLATFORM_SRC)/$(NATIVE_DTRACE_DIR)
183N/A
183N/AFILES_c = JVM.c jvm_symbols_md.c
183N/A
183N/AFILES_java = \
183N/A sun/tracing/dtrace/Activation.java \
183N/A sun/tracing/dtrace/DTraceProvider.java \
183N/A sun/tracing/dtrace/DTraceProbe.java \
183N/A sun/tracing/dtrace/DTraceProviderFactory.java \
268N/A sun/tracing/dtrace/JVM.java
183N/A
183N/AFILES_export = $(FILES_java)
183N/A
183N/Aifeq ($(PLATFORM), linux)
4632N/AOTHER_LDLIBS += $(LIBDL)
183N/Aendif
183N/A
183N/A#
183N/A# Use JNI for generating header files
183N/A#
183N/AJAVAHFLAGS += -jni
183N/A
183N/A#
183N/A# Don't need to link against -ljava
183N/A#
268N/AJAVALIB=
183N/A
183N/A#
183N/A# Rules.
183N/A#
183N/Ainclude $(BUILDDIR)/common/Library.gmk
183N/A
183N/A#
183N/A# Add to ambient vpath so we pick up the library files
183N/A#
183N/Avpath %.c $(SRCDIR):$(PSRCDIR)