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