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