Makefile revision 893
2247N/A#
2247N/A# Copyright 2008-2009 Sun Microsystems, Inc. All Rights Reserved.
2247N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
2247N/A#
2247N/A# This code is free software; you can redistribute it and/or modify it
2247N/A# under the terms of the GNU General Public License version 2 only, as
2247N/A# published by the Free Software Foundation. Sun designates this
2247N/A# particular file as subject to the "Classpath" exception as provided
2247N/A# by Sun in the LICENSE file that accompanied this code.
2247N/A#
2247N/A# This code is distributed in the hope that it will be useful, but WITHOUT
2247N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
2247N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
2247N/A# version 2 for more details (a copy is included in the LICENSE file that
2247N/A# accompanied this code).
2247N/A#
2247N/A# You should have received a copy of the GNU General Public License version
2247N/A# 2 along with this work; if not, write to the Free Software Foundation,
2247N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
2247N/A#
3817N/A# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
2247N/A# CA 95054 USA or visit www.sun.com if you need additional information or
2247N/A# have any questions.
2247N/A#
2247N/A
2588N/A#
2276N/A# Makefile for the nio/file sample code
2276N/A#
2276N/A
2276N/ABUILDDIR = ../../..
2276N/A
2276N/APRODUCT = java
2588N/A
2276N/Ainclude $(BUILDDIR)/common/Defs.gmk
2276N/A
2247N/ASAMPLE_SRC_DIR = $(SHARE_SRC)/sample/nio/file
2588N/ASAMPLE_DST_DIR = $(SAMPLEDIR)/nio/file
2247N/A
2247N/ASAMPLE_FILES = \
2247N/A $(SAMPLE_DST_DIR)/AclEdit.java \
3574N/A $(SAMPLE_DST_DIR)/Chmod.java \
3574N/A $(SAMPLE_DST_DIR)/Copy.java \
2899N/A $(SAMPLE_DST_DIR)/DiskUsage.java \
3817N/A $(SAMPLE_DST_DIR)/FileType.java \
3817N/A $(SAMPLE_DST_DIR)/WatchDir.java \
3817N/A $(SAMPLE_DST_DIR)/Xdd.java
2247N/A
2247N/Aall build: $(SAMPLE_FILES)
2247N/A
2247N/A$(SAMPLE_DST_DIR)/%: $(SAMPLE_SRC_DIR)/%
3930N/A $(install-file)
3930N/A
3142N/Aclean clobber:
3142N/A $(RM) -r $(SAMPLE_DST_DIR)
3142N/A
3142N/A.PHONY: all build clean clobber
3142N/A