jdk/make/sun/tracing/dtrace/Makefile
changeset 491 a394684ccfe6
parent 406 bde3a21bcab0
child 4665 d14dc3d9e1fa
equal deleted inserted replaced
490:9e01189e6be6 491:a394684ccfe6
     1 #
     1 #
     2 # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
     2 # Copyright 2008 Sun Microsystems, Inc.  All Rights Reserved.
     3 # SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
       
     4 #
       
     5 # This code is free software; you can redistribute it and/or modify it
       
     6 # under the terms of the GNU General Public License version 2 only, as
       
     7 # published by the Free Software Foundation.  Sun designates this
       
     8 # particular file as subject to the "Classpath" exception as provided
       
     9 # by Sun in the LICENSE file that accompanied this code.
       
    10 #
       
    11 # This code is distributed in the hope that it will be useful, but WITHOUT
       
    12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
       
    13 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
       
    14 # version 2 for more details (a copy is included in the LICENSE file that
       
    15 # accompanied this code).
       
    16 #
       
    17 # You should have received a copy of the GNU General Public License version
       
    18 # 2 along with this work; if not, write to the Free Software Foundation,
       
    19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
       
    20 #
       
    21 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
       
    22 # CA 95054 USA or visit www.sun.com if you need additional information or
       
    23 # have any questions.
     4 #
    24 #
     5 
    25 
     6 #
    26 #
     7 # Makefile for building dtrace extension
    27 # Makefile for building dtrace extension
     8 #
    28 #
    28 FILES_java = \
    48 FILES_java = \
    29     sun/tracing/dtrace/Activation.java \
    49     sun/tracing/dtrace/Activation.java \
    30     sun/tracing/dtrace/DTraceProvider.java \
    50     sun/tracing/dtrace/DTraceProvider.java \
    31     sun/tracing/dtrace/DTraceProbe.java \
    51     sun/tracing/dtrace/DTraceProbe.java \
    32     sun/tracing/dtrace/DTraceProviderFactory.java \
    52     sun/tracing/dtrace/DTraceProviderFactory.java \
    33     sun/tracing/dtrace/JVM.java 
    53     sun/tracing/dtrace/JVM.java
    34 
    54 
    35 FILES_export = $(FILES_java)
    55 FILES_export = $(FILES_java)
    36 
    56 
    37 ifeq ($(PLATFORM), linux)
    57 ifeq ($(PLATFORM), linux)
    38 OTHER_LDLIBS += -ldl
    58 OTHER_LDLIBS += -ldl
    44 JAVAHFLAGS += -jni
    64 JAVAHFLAGS += -jni
    45 
    65 
    46 #
    66 #
    47 # Don't need to link against -ljava
    67 # Don't need to link against -ljava
    48 #
    68 #
    49 JAVALIB= 
    69 JAVALIB=
    50 
    70 
    51 #
    71 #
    52 # Rules.
    72 # Rules.
    53 #
    73 #
    54 include $(BUILDDIR)/common/Library.gmk
    74 include $(BUILDDIR)/common/Library.gmk