diff --git a/mozilla/java/util/Makefile.unix b/mozilla/java/util/Makefile.unix new file mode 100644 index 00000000000..849cc8cf6ee --- /dev/null +++ b/mozilla/java/util/Makefile.unix @@ -0,0 +1,18 @@ +# PENDING(mark): We should be using the mozilla build system, but right now this +# will do the trick +# PENDING(mark): I need to make this makefile a little smarter. Right now +# it javac's all the java files each time you do a 'make' +# +# If you're using JDK 1.2 +JDK_LOCATION = ${JDKHOME} +JAVAC = ${JDK_LOCATION}/bin/javac +JAVAH = ${JDK_LOCATION}/bin/javah +OUTPUT_DIR = ../../dist/classes +# If you're using JDK 1.2 +CLASSES = ${OUTPUT_DIR}:${JDK_LOCATION}/lib/tools.jar:${JDK_LOCATION}/lib/rt.jar +JAVA_FILES = ./classes/org/mozilla/util/*.java +MKDIR = mkdir -p + +all: + ${MKDIR} ${OUTPUT_DIR} + ${JAVAC} -g -classpath ${CLASSES} -d ${OUTPUT_DIR} ${JAVA_FILES} diff --git a/mozilla/java/util/README b/mozilla/java/util/README index 4e3a3dabc72..468d0a89b57 100644 --- a/mozilla/java/util/README +++ b/mozilla/java/util/README @@ -2,8 +2,12 @@ Here lies the java classes that comprise the org.mozilla.util pagkage, sometimes called MJUTIL for Mozilla Java Utils. This is not a complete program, just a library. -Authors: Rob Davis, Paul Kim, Alan Chung, Ray Ryan, Ed Burns, Keith Bernstein, David-John Burrowes +Authors: Rob Davis, Paul Kim, Alan Chung, Ray Ryan, Ed Burns, Keith Bernstein, +David-John Burrowes +======================================================================== +Win32 Build Directions: +======================================================================== Requirements: * JDK1.1.7 or greater (may work with lower versions, haven't checked). @@ -20,6 +24,25 @@ How To Build: * this should compile the clasess into %MOZ_SRC%\dist\classes +======================================================================== +Unix Build Directions +======================================================================== +Requirements: + +* built M8 mozilla tree for some variant of Unix + +* JDK1.1.7 or above + +How To Build: + +* set JDKHOME to where your JDK install directory resides + -> setenv JDKHOME /usr/local/jdk1.2 + +* type "make -f Makefile.unix" and hope for the best + -> make -f Makefile.unix + +* this should compile the clasess into \dist\classes + Problems: * clobber_all doesn't remove the .class files from dist\classes. You