# # BEGIN COPYRIGHT BLOCK # This Program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free Software # Foundation; version 2 of the License. # # This Program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along with # this Program; if not, write to the Free Software Foundation, Inc., 59 Temple # Place, Suite 330, Boston, MA 02111-1307 USA. # # In addition, as a special exception, Red Hat, Inc. gives You the additional # right to link the code of this Program with code not covered under the GNU # General Public License ("Non-GPL Code") and to distribute linked combinations # including the two, subject to the limitations in this paragraph. Non-GPL Code # permitted under this exception must only link to the code of this Program # through those well defined interfaces identified in the file named EXCEPTION # found in the source code files (the "Approved Interfaces"). The files of # Non-GPL Code may instantiate templates or use macros or inline functions from # the Approved Interfaces without causing the resulting work to be covered by # the GNU General Public License. Only Red Hat, Inc. may make changes or # additions to the list of Approved Interfaces. You must obey the GNU General # Public License in all respects for all of the Program code and other code used # in conjunction with the Program except the Non-GPL Code covered by this # exception. If you modify this file, you may extend this exception to your # version of the file, but you are not obligated to do so. If you do not wish to # provide this exception without modification, you must delete this exception # statement from your version and license this file solely under the GPL without # exception. # # # Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. # Copyright (C) 2005 Red Hat, Inc. # All rights reserved. # END COPYRIGHT BLOCK # ###################################################################### ### Comon Manifest File ### Cross-platform defines used on all platforms (in theory) ###################################################################### # The VERSION_NUMBER is suffixed onto the end of the DLLs we ship. # Since the longest of these is 5 characters without the suffix, # be sure to not set VERSION_NUMBER to anything longer than 3 # characters for Win16's sake. # # Also... If you change this value, there are several other places # you'll need to change (because they're not reached by this # variable): # sun-java/nsjava/nsjava32.def # sun-java/nsjava/nsjava16.def # sun-java/classsrc/sun/audio/AudioDevice.java # sun-java/classsrc/sun/awt/windows/WToolkit.java VERSION_NUMBER = 40 ZIP_NAME = java_$(VERSION_NUMBER) JAR_NAME = java_$(VERSION_NUMBER).jar ###################################################################### ### Cross-Platform Java Stuff ###################################################################### ## java interpreter # get class files from the directory they are compiled to JAVA_CLASSPATH = $(JAVA_DESTPATH) JAVA_FLAGS = -classpath $(JAVA_CLASSPATH) -ms8m JAVA = $(JAVA_PROG) $(JAVA_FLAGS) JAVA_DEFINES = \ -DZIP_NAME=\"$(ZIP_NAME)\" \ -DJAR_NAME=\"$(JAR_NAME)\" \ -DJRTDLL=\"$(JRTDLL)\" \ -DMMDLL=\"$(MMDLL)\" \ -DAWTDLL=\"$(AWTDLL)\" \ -DJITDLL=\"$(JITDLL)\" ###################################################################### ## javac # to run the compiler in the interpreter JAVAC_PROG = -ms8m -classpath $(JAVAC_ZIP) sun.tools.javac.Main JAVAC = $(JAVA_PROG) $(JAVAC_PROG) $(JAVAC_FLAGS) # std set of options passed to the compiler JAVAC_FLAGS = -classpath $(JAVAC_CLASSPATH) $(JAVA_OPTIMIZER) -d $(JAVA_DESTPATH) ## ## The canonical Java classpath is: ## JAVA_DESTPATH, JAVA_SOURCEPATH, JAVA_LIBS ## ## appropriately delimited, in that order ## JAVAC_CLASSPATH = $(JAVA_DESTPATH)$(PATH_SEPARATOR)$(JAVA_SOURCEPATH) ###################################################################### ## javadoc # Rules to build java .html files from java source files JAVADOC_PROG = $(JAVA) sun.tools.javadoc.Main JAVADOC_FLAGS = -classpath $(JAVAC_CLASSPATH) JAVADOC = $(JAVADOC_PROG) $(JAVADOC_FLAGS) ###################################################################### ## javah JAVAH_FLAGS = -classpath $(JAVA_CLASSPATH) JAVAH = $(JAVAH_PROG) $(JAVAH_FLAGS) ###################################################################### ## jmc JMCSRCDIR = $(XPDIST)/_jmc JMC_PROG = $(JAVA) netscape.tools.jmc.Main JMC_CLASSPATH = $(JMCSRCDIR)$(PATH_SEPARATOR)$(JAVAC_CLASSPATH) JMC_FLAGS = -classpath $(JMC_CLASSPATH) -verbose JMC = $(JMC_PROG) $(JMC_FLAGS) ###################################################################### ## zip ZIP = $(ZIP_PROG) $(ZIP_FLAGS) ###################################################################### ## idl2java ORBTOOLS = $(DEPTH)/modules/iiop/tools/orbtools.zip ORB_CLASSPATH = $(ORBTOOLS)$(PATH_SEPARATOR)$(JAVA_CLASSPATH) IDL2JAVA_PROG = $(JAVA_PROG) IDL2JAVA_FLAGS = -classpath $(ORB_CLASSPATH) pomoco.tools.idl2java IDL2JAVA = $(IDL2JAVA_PROG) $(IDL2JAVA_FLAGS) ###################################################################### ## lex and yacc JAVALEX_PROG = $(JAVA_PROG) -classpath $(ORB_CLASSPATH) sbktech.tools.jax.driver JAVALEX_FLAGS = JAVALEX = $(JAVALEX_PROG) $(JAVALEX_FLAGS) JAVACUP_PROG = $(JAVA_PROG) -classpath $(ORB_CLASSPATH) java_cup.Main JAVACUP_FLAGS = JAVACUP = $(JAVACUP_PROG) $(JAVACUP_FLAGS) ######################################################################