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