annotate make/mksample/nio/multicast/Makefile @ 524:343253d05123

4640544: New I/O: Complete socket-channel functionality Reviewed-by: iris, sherman, chegar
author alanb
date Sun, 31 Aug 2008 18:39:01 +0100
parents
children 14f50aee4989
rev   line source
alanb@524 1 #
alanb@524 2 # Copyright 2007 Sun Microsystems, Inc. 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
alanb@524 7 # published by the Free Software Foundation. Sun designates this
alanb@524 8 # particular file as subject to the "Classpath" exception as provided
alanb@524 9 # by Sun 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 #
alanb@524 21 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
alanb@524 22 # CA 95054 USA or visit www.sun.com if you need additional information or
alanb@524 23 # have any 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