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