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