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