Makefile revision 2080
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross#
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross# Copyright 2004-2008 Sun Microsystems, Inc. All Rights Reserved.
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross#
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross# This code is free software; you can redistribute it and/or modify it
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross# under the terms of the GNU General Public License version 2 only, as
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross# published by the Free Software Foundation. Sun designates this
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross# particular file as subject to the "Classpath" exception as provided
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross# by Sun in the LICENSE file that accompanied this code.
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross#
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross# This code is distributed in the hope that it will be useful, but WITHOUT
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross# version 2 for more details (a copy is included in the LICENSE file that
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross# accompanied this code).
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross#
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross# You should have received a copy of the GNU General Public License version
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross# 2 along with this work; if not, write to the Free Software Foundation,
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross#
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross# CA 95054 USA or visit www.sun.com if you need additional information or
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross# have any questions.
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross#
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross
b3700b074e637f8c6991b70754c88a2cfffb246bGordon RossBUILDDIR = ../..
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross
b3700b074e637f8c6991b70754c88a2cfffb246bGordon RossMODULE = demos
b3700b074e637f8c6991b70754c88a2cfffb246bGordon RossLIBRARY = java_crw_demo
b3700b074e637f8c6991b70754c88a2cfffb246bGordon RossPRODUCT = sun
b3700b074e637f8c6991b70754c88a2cfffb246bGordon RossLIBRARY_OUTPUT = java_crw_demo
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross# Configure the CFLAGS for this library.
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Rossinclude $(BUILDDIR)/common/Defs.gmk
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross
b3700b074e637f8c6991b70754c88a2cfffb246bGordon RossSRCDIR=$(SHARE_SRC)/demo/jvmti/java_crw_demo
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross# Use the mapfile-vers (See the mapfile located with this Makefile)
b3700b074e637f8c6991b70754c88a2cfffb246bGordon RossFILES_m = mapfile-vers
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Rossifdef FILES_m
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Rossinclude $(BUILDDIR)/common/Mapfile-vers.gmk
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Rossendif
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross#
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross# Files to compile.
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross#
b3700b074e637f8c6991b70754c88a2cfffb246bGordon RossFILES_c = java_crw_demo.c
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross
b3700b074e637f8c6991b70754c88a2cfffb246bGordon RossOTHER_INCLUDES = -I$(SRCDIR)
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross#
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross# Library to compile.
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross#
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Rossinclude $(BUILDDIR)/common/Library.gmk
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross# We don't want to link against -ljava
b3700b074e637f8c6991b70754c88a2cfffb246bGordon RossJAVALIB=
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross#
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross# Add to ambient vpath so we pick up the library files
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross#
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Rossvpath %.c $(SRCDIR)
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross