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