annotate make/mksample/nio/multicast/Makefile @ 3909:272483f6650b

7033660: Update copyright year to 2011 on any files changed in 2011 Reviewed-by: dholmes
author ohair
date Wed, 06 Apr 2011 22:06:11 -0700
parents 6aeed99af874
children
rev   line source
alanb@524 1 #
ohair@3909 2 # Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
alanb@524 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
alanb@524 4 #
alanb@524 5 # This code is free software; you can redistribute it and/or modify it
alanb@524 6 # under the terms of the GNU General Public License version 2 only, as
ohair@2362 7 # published by the Free Software Foundation. Oracle designates this
alanb@524 8 # particular file as subject to the "Classpath" exception as provided
ohair@2362 9 # by Oracle in the LICENSE file that accompanied this code.
alanb@524 10 #
alanb@524 11 # This code is distributed in the hope that it will be useful, but WITHOUT
alanb@524 12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
alanb@524 13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
alanb@524 14 # version 2 for more details (a copy is included in the LICENSE file that
alanb@524 15 # accompanied this code).
alanb@524 16 #
alanb@524 17 # You should have received a copy of the GNU General Public License version
alanb@524 18 # 2 along with this work; if not, write to the Free Software Foundation,
alanb@524 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
alanb@524 20 #
ohair@2362 21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
ohair@2362 22 # or visit www.oracle.com if you need additional information or have any
ohair@2362 23 # questions.
alanb@524 24 #
alanb@524 25
alanb@524 26 #
alanb@524 27 # Makefile for the nio/multicast sample code
alanb@524 28 #
alanb@524 29
alanb@524 30 BUILDDIR = ../../..
alanb@524 31
alanb@524 32 PRODUCT = java
alanb@524 33
alanb@524 34 include $(BUILDDIR)/common/Defs.gmk
alanb@524 35
alanb@524 36 SAMPLE_SRC_DIR = $(SHARE_SRC)/sample/nio/multicast
alanb@524 37 SAMPLE_DST_DIR = $(SAMPLEDIR)/nio/multicast
alanb@524 38
alanb@524 39 SAMPLE_FILES = \
alanb@524 40 $(SAMPLE_DST_DIR)/Reader.java \
alanb@524 41 $(SAMPLE_DST_DIR)/Sender.java \
alanb@524 42 $(SAMPLE_DST_DIR)/MulticastAddress.java
alanb@524 43
alanb@524 44 all build: $(SAMPLE_FILES)
alanb@524 45
alanb@524 46 $(SAMPLE_DST_DIR)/%: $(SAMPLE_SRC_DIR)/%
alanb@524 47 $(install-file)
alanb@524 48
alanb@524 49 clean clobber:
alanb@524 50 $(RM) -r $(SAMPLE_DST_DIR)
alanb@524 51
alanb@524 52 .PHONY: all build clean clobber