Makefile.com revision fb3fb4f3d76d55b64440afd0af72775dfad3bd1d
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee#
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee# CDDL HEADER START
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee#
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee# The contents of this file are subject to the terms of the
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee# Common Development and Distribution License (the "License").
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee# You may not use this file except in compliance with the License.
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee#
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee# or http://www.opensolaris.org/os/licensing.
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee# See the License for the specific language governing permissions
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee# and limitations under the License.
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee#
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee# When distributing Covered Code, include this CDDL HEADER in each
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee# If applicable, add the following below this CDDL HEADER, with the
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee# fields enclosed by brackets "[]" replaced with your own identifying
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee# information: Portions Copyright [yyyy] [name of copyright owner]
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee#
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee# CDDL HEADER END
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee#
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee#
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee# Use is subject to license terms.
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee#
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee# ident "%Z%%M% %I% %E% SMI"
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee#
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomeeLIBRARY = libdtrace_jni.a
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomeeVERS = .1
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomeeLIBSRCS = \
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee dtj_util.c \
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee dtj_jnitab.c \
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee dtj_error.c \
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee dtj_probe.c \
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee dtj_attr.c \
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee dtj_consume.c \
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee dtrace_jni.c
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomeeOBJECTS = $(MACHOBJS) $(LIBSRCS:%.c=%.o)
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomeeinclude ../../Makefile.lib
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomeeSRCS = $(LIBSRCS:%.c=../common/%.c)
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomeeSRCDIR = ../common
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomeeSPECMAPFILE = $(MAPDIR)/mapfile
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomeeCPPFLAGS += -I../common -I.
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomeeCPPFLAGS += -I$(JAVA_ROOT)/include -I$(JAVA_ROOT)/include/solaris
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomeeCPPFLAGS += -I../java/native
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomeeCFLAGS += $(CCVERBOSE) -K PIC
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomeeCFLAGS64 += $(CCVERBOSE) -K PIC
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomeeLDLIBS += -lc -luutil -ldtrace -lproc
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomeeLINTLIB =
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomeeLFLAGS = -t -v
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomeeROOTDLIBDIR = $(ROOT)/usr/lib/dtrace_jni
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomeeROOTDLIBDIR64 = $(ROOT)/usr/lib/dtrace_jni/64
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomeeROOTDLIBS = $(DLIBSRCS:%=$(ROOTDLIBDIR)/%)
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee.KEEP_STATE:
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomeeall: $(DYNLIB)
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomeelint: lintcheck
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee%.o: ../common/%.c
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee $(COMPILE.c) -o $@ $<
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee $(POST_PROCESS_O)
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee$(ROOTDLIBDIR):
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee $(INS.dir)
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee$(ROOTDLIBDIR64): $(ROOTDLIBDIR)
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee $(INS.dir)
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee$(ROOTDLIBDIR)/%.o: %.o
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee $(INS.file)
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee$(ROOTDLIBDIR64)/%.o: %.o
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee $(INS.file)
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee$(ROOTDLIBS): $(ROOTDLIBDIR)
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee$(ROOTDOBJS): $(ROOTDLIBDIR)
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee$(ROOTDOBJS64): $(ROOTDLIBDIR64)
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomee
fb3fb4f3d76d55b64440afd0af72775dfad3bd1dtomeeinclude ../../Makefile.targ