annotate make/mksample/Makefile @ 9045:b90047350153

8023301: Enhance generic classes Reviewed-by: mchung, hawtin
author jfranck
date Fri, 11 Oct 2013 13:14:15 +0200
parents d45bc4307996
children
rev   line source
duke@0 1 #
alanb@6073 2 # Copyright (c) 2004, 2012, Oracle and/or its affiliates. All rights reserved.
duke@0 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
duke@0 4 #
duke@0 5 # This code is free software; you can redistribute it and/or modify it
duke@0 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
duke@0 8 # particular file as subject to the "Classpath" exception as provided
ohair@2362 9 # by Oracle in the LICENSE file that accompanied this code.
duke@0 10 #
duke@0 11 # This code is distributed in the hope that it will be useful, but WITHOUT
duke@0 12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
duke@0 13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
duke@0 14 # version 2 for more details (a copy is included in the LICENSE file that
duke@0 15 # accompanied this code).
duke@0 16 #
duke@0 17 # You should have received a copy of the GNU General Public License version
duke@0 18 # 2 along with this work; if not, write to the Free Software Foundation,
duke@0 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
duke@0 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.
duke@0 24 #
duke@0 25
duke@0 26 #
duke@0 27 # Makefile for building all the samples
duke@0 28 #
duke@0 29
duke@0 30 BUILDDIR = ..
duke@0 31 PRODUCT = java
duke@0 32 include $(BUILDDIR)/common/Defs.gmk
duke@0 33
duke@0 34 ifdef OPENJDK
duke@0 35 WEBSERVICES_SUBDIR =
duke@0 36 else
duke@0 37 WEBSERVICES_SUBDIR = webservices
duke@0 38 endif
duke@0 39
mchung@2157 40 SUBDIRS =
rbackman@3997 41 SUBDIRS_misc = nio scripting nbproject forkjoin
mchung@2157 42 SUBDIRS_enterprise = $(WEBSERVICES_SUBDIR)
mchung@2157 43 SUBDIRS_management = jmx
duke@0 44
duke@0 45 # include dtrace samples in Solaris builds
duke@0 46 ifeq ($(PLATFORM), solaris)
duke@0 47 SUBDIRS += dtrace
duke@0 48 endif
duke@0 49
michaelm@5116 50 # and Mac OS X too
michaelm@5116 51 ifeq ($(PLATFORM), macosx)
michaelm@5116 52 SUBDIRS += dtrace
michaelm@5116 53 endif
michaelm@5116 54
mchung@2157 55 include $(BUILDDIR)/common/Subdirs.gmk
mchung@2157 56
nloodin@4457 57 TOPLEVEL_FILES = \
nloodin@4457 58 $(SAMPLEDIR)/README
nloodin@4457 59
duke@0 60 all build clean clobber::
duke@0 61 $(SUBDIRS-loop)
duke@0 62
nloodin@4457 63 all build:: $(TOPLEVEL_FILES)
nloodin@4457 64
nloodin@4457 65 $(SAMPLEDIR)/%: $(SAMPLESRCDIR)/%
nloodin@4457 66 $(install-file)
nloodin@4457 67
duke@0 68 clobber clean ::
duke@0 69 $(RM) -r $(SAMPLEDIR)