Makefile revision 23
98N/A#
98N/A# Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
606N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
753N/A#
98N/A# This code is free software; you can redistribute it and/or modify it
98N/A# under the terms of the GNU General Public License version 2 only, as
98N/A# published by the Free Software Foundation. Sun designates this
98N/A# particular file as subject to the "Classpath" exception as provided
98N/A# by Sun in the LICENSE file that accompanied this code.
98N/A#
98N/A# This code is distributed in the hope that it will be useful, but WITHOUT
98N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
98N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
98N/A# version 2 for more details (a copy is included in the LICENSE file that
98N/A# accompanied this code).
98N/A#
98N/A# You should have received a copy of the GNU General Public License version
98N/A# 2 along with this work; if not, write to the Free Software Foundation,
98N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
98N/A#
98N/A# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
98N/A# CA 95054 USA or visit www.sun.com if you need additional information or
98N/A# have any questions.
98N/A#
98N/A
98N/A
98N/ABUILDDIR = ../../../..
98N/APACKAGE = com.sun.tools.attach
98N/ALIBRARY = attach
98N/APRODUCT = sun
98N/Ainclude $(BUILDDIR)/common/Defs.gmk
493N/A
493N/Aifeq ($(PLATFORM), solaris)
98N/AFILES_m = mapfile-solaris
98N/Aendif
753N/Aifeq ($(PLATFORM), linux)
493N/AFILES_m = mapfile-linux
493N/Aendif
493N/Ainclude $(BUILDDIR)/common/Mapfile-vers.gmk
493N/A
493N/A#
98N/A# Files to compile
98N/A#
493N/Ainclude FILES_c.gmk
493N/Ainclude FILES_java.gmk
98N/Ainclude Exportedfiles.gmk
98N/A
156N/Aifeq ($(PLATFORM), solaris)
156N/AOTHER_LDLIBS += -ldoor
98N/Aendif
98N/A
98N/Avpath %.c $(PLATFORM_SRC)/native/sun/tools/attach
606N/A
606N/Aall: classes copy-files
98N/A
98N/A#
98N/A# Copy the service provider configuration files into the resource
98N/A# directory. Copy the configuration file also uncomments any
98N/A# providers that need to be enabled for this platform.
606N/A#
851N/A
493N/Acopy-files: $(FILES_copy)
98N/A
98N/A$(SERVICEDIR)/%: $(SHARE_SRC)/classes/sun/tools/attach/META-INF/services/%
851N/A @$(MKDIR) -p $(@D)
493N/A @$(RM) $@
231N/A @$(CAT) $< | $(SED) -e "s/^#\[$(PLATFORM)\]//" > $@
231N/A
851N/A.PHONY: copy-files
493N/A
98N/A
98N/Aclean::
493N/A $(RM) -r $(CLASSDESTDIR)/com/sun/tools/attach
98N/A $(RM) -r $(CLASSDESTDIR)/sun/tools/attach
98N/A $(RM) $(FILES_copy)
98N/A
98N/A#
98N/A# Library to compile.
98N/A#
851N/Ainclude $(BUILDDIR)/common/Library.gmk
851N/A
659N/A
378N/A
659N/A
378N/A
606N/A
493N/A