Makefile revision 0
155N/A#
155N/A# Copyright 2003-2005 Sun Microsystems, Inc. All Rights Reserved.
155N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
155N/A#
155N/A# This code is free software; you can redistribute it and/or modify it
155N/A# under the terms of the GNU General Public License version 2 only, as
155N/A# published by the Free Software Foundation. Sun designates this
155N/A# particular file as subject to the "Classpath" exception as provided
155N/A# by Sun in the LICENSE file that accompanied this code.
155N/A#
155N/A# This code is distributed in the hope that it will be useful, but WITHOUT
155N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
155N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
155N/A# version 2 for more details (a copy is included in the LICENSE file that
155N/A# accompanied this code).
155N/A#
155N/A# You should have received a copy of the GNU General Public License version
155N/A# 2 along with this work; if not, write to the Free Software Foundation,
155N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
155N/A#
741N/A# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
155N/A# CA 95054 USA or visit www.sun.com if you need additional information or
155N/A# have any questions.
155N/A#
485N/A
485N/ABUILDDIR = ../..
277N/APACKAGE = java.lang.management
277N/ALIBRARY = management
277N/APRODUCT = java
277N/Ainclude $(BUILDDIR)/common/Defs.gmk
155N/A
741N/AMGMT_SRC = $(SHARE_SRC)/classes/java/lang/management
155N/ASMGMT_SRC = $(SHARE_SRC)/classes/sun/management
618N/A
155N/AAGENTJAR = $(LIBDIR)/management-agent.jar
155N/AMANIFEST = $(SMGMT_SRC)/manifest
844N/A
844N/A#
155N/A# Use mapfile
155N/A#
155N/AFILES_m = mapfile-vers
155N/Ainclude $(BUILDDIR)/common/Mapfile-vers.gmk
155N/A
155N/A#
155N/A# Files to compile
215N/A#
215N/Ainclude FILES_c.gmk
215N/A
215N/AAUTO_FILES_JAVA_DIRS = java/lang/management com/sun/management sun/management
215N/A
215N/Ainclude Exportedfiles.gmk
215N/A
215N/Aifeq ($(PLATFORM),windows)
215N/A
215N/AFILES_c += OperatingSystem_md.c
215N/A
215N/AFILES_export += com/sun/management/OperatingSystem.java
215N/A
215N/Aelse # PLATFORM (i.e. solaris & linux)
215N/A
155N/AFILES_c += UnixOperatingSystem_md.c
155N/A
155N/AFILES_export += com/sun/management/UnixOperatingSystem.java
155N/Aendif # PLATFORM
155N/A
155N/A#
155N/A# Resources
155N/A#
741N/ALOCALE_SET_DEFINITION = jre
741N/ARESOURCE_BUNDLES_COMPILED_PROPERTIES = sun/management/resources/agent.properties
155N/A
155N/A#
155N/A# Find C source files
155N/A#
156N/Avpath %.c $(SHARE_SRC)/native/sun/management
156N/Avpath %.c $(PLATFORM_SRC)/native/sun/management
155N/Avpath %.c $(PLATFORM_SRC)/native/com/sun/management
155N/A
155N/A#
155N/A# Access to management.h
155N/A#
155N/A
155N/AOTHER_INCLUDES += \
155N/A -I$(SHARE_SRC)/native/sun/management
155N/A
155N/Aifeq ($(PLATFORM),windows)
566N/A OTHER_LDLIBS += $(JVMLIB)
155N/Aendif
155N/A
155N/A#
155N/A# Library to compile.
155N/A#
155N/Ainclude $(BUILDDIR)/common/Library.gmk
155N/A
155N/A$(AGENTJAR): $(LIBDIR) $(TEMPDIR)/manifest
155N/A $(BOOT_JAR_CMD) -cfm $(AGENTJAR) $(TEMPDIR)/manifest
155N/A
741N/A$(TEMPDIR)/manifest: $(MANIFEST)
741N/A $(install-file)
741N/A
155N/Abuild: $(AGENTJAR)
155N/A
155N/Aclean clobber::
155N/A $(RM) -r $(CLASSDESTDIR)/java/management
155N/A $(RM) -r $(CLASSDESTDIR)/sun/management
155N/A $(RM) $(TEMPDIR)/manifest $(AGENTJAR)
155N/A
155N/A