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