Makefile revision 623f698997a2c06bc9f6ff9c7fee8eeae5e411bb
91934be261c16d036521379306a74b0991720e67joncruz# CDDL HEADER START
91934be261c16d036521379306a74b0991720e67joncruz# The contents of this file are subject to the terms of the
91934be261c16d036521379306a74b0991720e67joncruz# Common Development and Distribution License (the "License").
91934be261c16d036521379306a74b0991720e67joncruz# You may not use this file except in compliance with the License.
9dc68827cbd515262ecb8d5ae8547d9e82c72e00Jon A. Cruz# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
91934be261c16d036521379306a74b0991720e67joncruz# See the License for the specific language governing permissions
91934be261c16d036521379306a74b0991720e67joncruz# and limitations under the License.
91934be261c16d036521379306a74b0991720e67joncruz# When distributing Covered Code, include this CDDL HEADER in each
91934be261c16d036521379306a74b0991720e67joncruz# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
91934be261c16d036521379306a74b0991720e67joncruz# If applicable, add the following below this CDDL HEADER, with the
91934be261c16d036521379306a74b0991720e67joncruz# fields enclosed by brackets "[]" replaced with your own identifying
91934be261c16d036521379306a74b0991720e67joncruz# information: Portions Copyright [yyyy] [name of copyright owner]
91934be261c16d036521379306a74b0991720e67joncruz# CDDL HEADER END
91934be261c16d036521379306a74b0991720e67joncruz# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
91934be261c16d036521379306a74b0991720e67joncruz# Use is subject to license terms.
91934be261c16d036521379306a74b0991720e67joncruz# ident "%Z%%M% %I% %E% SMI"
91934be261c16d036521379306a74b0991720e67joncruz# The Java DTrace API package
91934be261c16d036521379306a74b0991720e67joncruz# The Java DTrace API directories
91934be261c16d036521379306a74b0991720e67joncruz# Java DTrace API jar file, its ultimate destination, and packaging details
d5ad05ac17abfd7d2eae333a8c1233971e1c1a8fAbhishek Sharma Public$(DOCEXAMPLESDESTDIR)/%: $(DOCEXAMPLES)/%
91934be261c16d036521379306a74b0991720e67joncruz# Manifest files
91934be261c16d036521379306a74b0991720e67joncruz# Controlled CLASSPATH for making
91934be261c16d036521379306a74b0991720e67joncruz# javac flags
d5ad05ac17abfd7d2eae333a8c1233971e1c1a8fAbhishek Sharma PublicJFLAGS= -g -d $(CLASSES) -sourcepath $(APICLASSPATH) -deprecation
91934be261c16d036521379306a74b0991720e67joncruz# The default make rule for Java files
91934be261c16d036521379306a74b0991720e67joncruz$(CLASSES)/$(PKGPATH)/%.class: $(APIJAVASRC)/$(PKGPATH)/%.java
91934be261c16d036521379306a74b0991720e67joncruz# javah generated headers
91934be261c16d036521379306a74b0991720e67joncruz# API classes with native methods
884edd729abf49df5b3c9a4679a0d5b6c85d182cpjrmDTRACE_JNI_CLASSES=${JNI_CLASSES:%=$(CLASSES)/$(PKGPATH)/%}
91934be261c16d036521379306a74b0991720e67joncruz# All API classes
MaxValue \
MinValue \
Option \
Probe \
Program \
Record \
SumValue \
Tuple \
Utility \
$(CLASSES):
-@mkdir -p $@
$(JNI):
-@mkdir -p $@
-@touch $@
$(PKGNAME)
$(INS.dir)
$(JARDESTDIR):
$(INS.dir)
$(DOCDESTDIR):
$(INS.dir)
$(DOCAPIDESTDIR):
$(INS.dir)
$(INS.dir)
$(DOCHTMLDESTDIR):
$(INS.dir)
$(DOCIMAGESDESTDIR):
$(INS.dir)
$(DOCAPIDESTDIR) \
$(DOCEXAMPLESDESTDIR) \
$(DOCHTMLDESTDIR) \
$(DOCIMAGESDESTDIR) \
doc:
$(PKGNAME)