Makefile revision 0
124N/A#
124N/A# Copyright 1998-2005 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#
1418N/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
1776N/A#
618N/A# Makefile for building the JDI interface and
124N/A# front-end implementation
124N/A#
844N/A
1776N/ABUILDDIR = ../..
618N/APACKAGE = com.sun.tools.jdi
1258N/APRODUCT = jpda
124N/Ainclude $(BUILDDIR)/common/Defs.gmk
124N/A
124N/A#
124N/A# Java Files to compile are found automatically.
124N/A#
1776N/AAUTO_FILES_JAVA_DIRS = com/sun/jdi com/sun/tools/jdi
1776N/A
1776N/A#
124N/A# Files that need to be copied
124N/A#
124N/ASERVICEDIR = $(CLASSBINDIR)/META-INF/services
124N/A
124N/AFILES_copy = \
124N/A $(SERVICEDIR)/com.sun.jdi.connect.spi.TransportService \
124N/A $(SERVICEDIR)/com.sun.jdi.connect.Connector
124N/A
124N/A#
124N/A# Resources
1792N/A#
1792N/ALOCALE_SET_DEFINITION = jdk
1792N/ARESOURCE_BUNDLES_COMPILED_PROPERTIES = \
1776N/A com/sun/tools/jdi/resources/jdi.properties
1776N/A
1776N/A#
765N/A# Rules
765N/A#
765N/Ainclude $(BUILDDIR)/common/Classes.gmk
765N/A
765N/A#
1792N/A# Copy the service provider configuration files into the resource
1792N/A# directory. Copy the configuration file also uncomments any
1792N/A# providers that need to be enabled for this platform.
765N/A#
765N/A
765N/Abuild: copy-files
765N/A
765N/Acopy-files: $(FILES_copy)
1776N/A
124N/A$(SERVICEDIR)/%: $(SHARE_SRC)/classes/com/sun/tools/jdi/META-INF/services/%
1776N/A $(prep-target)
124N/A $(RM) $@.temp
181N/A @$(CAT) $< | $(SED) -e "s/^#\[$(PLATFORM)\]//" > $@.temp
124N/A $(MV) $@.temp $@
124N/A
124N/Aclean clobber::
124N/A $(RM) $(FILES_copy)
.PHONY: copy-files