Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: joist/java Makefile.config

Project highlights: Architectural Overview

joist
Discussion topic

Back to topic list

CVS update: joist/java Makefile.config

Author commitlogger at hocus dot collab dot net
Full name commitlogger at hocus dot collab dot net
Date 2000-03-14 15:48:44 PST
Message User: root Date: 00/03/14 15:48:44 Modified: java Makefile.config Log: Added additional variables for easier configuration. Revision Changes Path 1.3 +23 -22 joist/java/Makefile.config Index: Makefile.config =================================================================== RCS file: /cvs/joist/java/Makefile.config,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- Makefile.config 2000/02/29 01:23:55 1.2 +++ Makefile.config 2000/03/14 23:48:44 1.3 @@ -1,26 +1,25 @@ - ############################################# -# Tigris Makefile config file developed for +# Tigris -*- Makefile -*- config file developed for # a Unix system. # - # Top level directory for source distribution -SRC_DIR=/home/jrobbins/joist/java +SRC_DIR=$$HOME/joist/java -# Path to JDK 1.1 or JDK 1.2 or equivalent +# Path to JDK 1.1, 1.2, or equivalent. JAVA_DIR=/usr/local/jdk +#JAVA_DIR=/usr/local/pkgs/jdk1.2.2 JAVAC=$(JAVA_DIR)/bin/javac JAVA_AR=$(JAVA_DIR)/bin/jar JAVADOC=$(JAVA_DIR)/bin/javadoc -# if you have jikes (from www.alphaworks.ibm.com) +# If you use jikes (from http://www.alphaworks.ibm.com), use this JAVAC line. JAVAC=/usr/bin/jikes SITE_ROOT=/home/httpd/joist -INSTALL_DIR = java_jar -JAR_FILE = joist.jar +INSTALL_DIR=java_jar +JAR_FILE=joist.jar ############## # The way this works is that each makefile @@ -34,8 +33,6 @@ TOP=$(SRC_DIR)/$(REL_DIR) - - ######################################### # Some platform specific command macros # ######################################### @@ -50,25 +47,29 @@ # Set the CLASSPATH # ##################### +# Place where JAR files are kept. +JAVA_LIB=$(JAVA_DIR)/lib +#JAVA_LIB=/usr/local/java + +# Archives of classes. #A=/home/httpd/classes/servlet-2.0.jar A=/usr/local/jsdk/lib/jsdk.jar +#A=$(JAVA_LIB)/jsdk.jar B=$(JAVA_DIR)/lib/classes.zip -C=$(JAVA_DIR)/lib/cj.jar +C=$(JAVA_LIB)/cj.jar D=/home/httpd/joist/java/conf/webmacro.jar -E=$(JAVA_DIR)/lib/mail.jar -F=$(JAVA_DIR)/lib/mysql.jar +#D=$(JAVA_LIB)/webmacro.jar +E=$(JAVA_LIB)/mail.jar +F=$(JAVA_LIB)/mysql.jar G=/usr/local/gnu.regexp-1.0.8/lib/gnu-regexp-1.0.8.jar -H=$(JAVA_DIR)/lib/village.jar -I=$(JAVA_DIR)/lib/activation.jar +H=$(JAVA_LIB)/village.jar +I=$(JAVA_LIB)/activation.jar +CLASSPATH=$A:$B:$C:$D:$E:$F:$G:$H:$I:.:$(JAR_DIR):$(SRC_DIR) - -CLASSPATH=$A:$B:$C:$D:$E:$F:$G:$H:$I:$(JAR_DIR):$(SRC_DIR) - - JFLAGS= -g -classpath $(CLASSPATH) -d $(JAR_DIR) -# If you use jikes with emacs +# If you use jikes with emacs. JIKESFLAGS= +E .SUFFIXES: .java .class @@ -76,11 +77,11 @@ .java.class: $(JAVAC) $(JIKESFLAGS) $(JFLAGS) $< - classes: $(SOURCES:.java=.class) all: classes quick: cd $(SRC_DIR); \ - $(JAVAC) $(JIKESFLAGS) $(JFLAGS) `find -not -path '*/old/*' -prune -name '*java'`; + $(JAVAC) $(JIKESFLAGS) $(JFLAGS) \ + `find -not -path '*/old/*' -prune -name '*java'`;

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

CVS update: joist/java Makefile.config commitlogger at hocus dot collab dot net commitlogger at hocus dot collab dot net 2000-03-14 15:48:44 PST
Messages per page: