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