Makefile revision 0
124N/A#
124N/A# Copyright 2004 Sun Microsystems, Inc. All Rights Reserved.
124N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
124N/A#
124N/A# This code is free software; you can redistribute it and/or modify it
124N/A# under the terms of the GNU General Public License version 2 only, as
124N/A# published by the Free Software Foundation. Sun designates this
124N/A# particular file as subject to the "Classpath" exception as provided
124N/A# by Sun in the LICENSE file that accompanied this code.
124N/A#
124N/A# This code is distributed in the hope that it will be useful, but WITHOUT
124N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
124N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
124N/A# version 2 for more details (a copy is included in the LICENSE file that
124N/A# accompanied this code).
124N/A#
124N/A# You should have received a copy of the GNU General Public License version
124N/A# 2 along with this work; if not, write to the Free Software Foundation,
124N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
124N/A#
3696N/A# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
124N/A# CA 95054 USA or visit www.sun.com if you need additional information or
124N/A# have any questions.
124N/A#
124N/A
3907N/ABUILDDIR = ../../..
618N/APRODUCT = demo/jvmti
124N/ADEMONAME = hprof
124N/Ainclude $(BUILDDIR)/common/Defs.gmk
844N/A
3907N/ADEMO_ROOT = $(SHARE_SRC)/demo/jvmti/$(DEMONAME)
618N/ADEMO_TOPFILES = ./README.txt
1273N/ADEMO_PSRCDIR = $(PLATFORM_SRC)/demo/jvmti/$(DEMONAME)
124N/ADEMO_DESTDIR = $(DEMODIR)/jvmti/$(DEMONAME)
3907N/A
2996N/ADEMO_OBJECTS = java_crw_demo.$(OBJECT_SUFFIX)
3996N/A
3996N/Aifeq ($(PLATFORM), windows)
3996N/A EXTRA_LIBS += wsock32.lib winmm.lib
124N/Aendif
2996N/Aifeq ($(PLATFORM), solaris)
2996N/A OTHER_LDLIBS += $(LIBSOCKET) -lnsl -ldl
2996N/Aendif
2996N/Aifeq ($(PLATFORM), linux)
2352N/A OTHER_LDLIBS += $(LIBSOCKET) -lnsl -ldl -lpthread
2352N/Aendif
2352N/A
124N/A#
124N/A# Demo jar building rules.
3094N/A#
3094N/Ainclude $(BUILDDIR)/common/Demo.gmk
3094N/A
124N/A