Makefile revision 268
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye# Copyright 2008 Sun Microsystems, Inc. All Rights Reserved.
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatlen# This code is free software; you can redistribute it and/or modify it
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye# under the terms of the GNU General Public License version 2 only, as
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye# published by the Free Software Foundation. Sun designates this
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye# particular file as subject to the "Classpath" exception as provided
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye# by Sun in the LICENSE file that accompanied this code.
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye# This code is distributed in the hope that it will be useful, but WITHOUT
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye# version 2 for more details (a copy is included in the LICENSE file that
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye# accompanied this code).
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye# You should have received a copy of the GNU General Public License version
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye# 2 along with this work; if not, write to the Free Software Foundation,
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner# CA 95054 USA or visit www.sun.com if you need additional information or
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner# have any questions.
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner# Makefile for building dtrace extension
14a41f02433890d19b2f871156271e3388cd0845Jens Elkner# Use mapfile
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders Hatleninclude $(BUILDDIR)/common/Mapfile-vers.gmk
59b6a8c0cc6ef741a7180504b3c371e67c2aa338Knut Anders HatlenPSRCDIR=$(PLATFORM_SRC)/$(NATIVE_DTRACE_DIR)
9a4361e23046cda58b9a5b8f4e11910dc433badaLubos Kosco# Use JNI for generating header files
9a4361e23046cda58b9a5b8f4e11910dc433badaLubos Kosco# Don't need to link against -ljava
9a4361e23046cda58b9a5b8f4e11910dc433badaLubos Kosco# Add to ambient vpath so we pick up the library files