239N/A# Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved. 0N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A# This code is free software; you can redistribute it and/or modify it 0N/A# under the terms of the GNU General Public License version 2 only, as 157N/A# published by the Free Software Foundation. Oracle designates this 0N/A# particular file as subject to the "Classpath" exception as provided 157N/A# by Oracle in the LICENSE file that accompanied this code. 0N/A# This code is distributed in the hope that it will be useful, but WITHOUT 0N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A# version 2 for more details (a copy is included in the LICENSE file that 0N/A# accompanied this code). 0N/A# You should have received a copy of the GNU General Public License version 0N/A# 2 along with this work; if not, write to the Free Software Foundation, 0N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 157N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 0N/A# Rules shared by all Java makefiles. 0N/A# Make sure the default rule is all 0N/A# Directory set up. (Needed by deploy workspace) 0N/A# If AUTO_FILES_PROPERTIES_DIRS used, automatically find properties files 0N/A# Add any automatically found properties files to the properties file list 0N/A# Compiling .java files. 0N/A# Automatically add to FILES_java if AUTO_FILES_JAVA_DIRS is defined 0N/A# There are two basic types of sources, normal source files and the 0N/A# generated ones. The Normal sources will be located in: 0N/A# The generated sources, which might show up late to dinner, are at: 0N/A# and since they could be generated late, we need to be careful that 0N/A# we look for these sources late and not use the ':=' assignment which 0N/A# might miss their generation. 117N/A # Filter out these files or directories 117N/A # First list is the normal sources that should always be there, 117N/A # by using the ':=', which means we do this processing once. 0N/A # Second list is the generated sources that should be rare, but will likely 0N/A # show up late and we need to look for them at the last minute, so we 0N/A # cannot use the ':=' assigment here. But if this gets expanded multiple 0N/A # times, the if tests should make them relatively cheap. 0N/A# Add all found java sources to FILES_java macro (if AUTO_FILES_JAVA_DIRS used) 0N/A# File that will hold java source names that need compiling 0N/A# Add a java source to the list 0N/A# List of class files needed 0N/A# Construct list of java sources we need to compile 0N/A# Note that we slip resources in so that compiled properties files get created: 0N/A# Make sure all newer sources are compiled (in a batch) 55N/A# Use this javac option to force it to favor the sourcepath file classes 55N/A# rather than any bootclasspath classes. 0N/A# Default dependencies