# # Top Level makefile for the j3d.org SWT OpenGL codebase # # (C) 2005 Yumetech, Inc # http://www.j3d.org/ # http://www.yumetech.com # # To use this, make sure that you have the PROJECT_ROOT environment variable # set # # This makefile is designed to build the entire library from scratch. It is # not desigend as a hacking system. It is recommended that you use the normal # javac/CLASSPATH setup for that. # # Author: Justin Couch # Version: $Revision: 1.1 $ ifndef PROJECT_ROOT export PROJECT_ROOT=/usr/local/src/projects/j3d.org/swt_opengl endif include $(PROJECT_ROOT)/make/Makefile.inc VERSION=1.1 # Default instruction is to print out the help list help: $(PRINT) $(PRINT) " The j3d.org SWT OpenGL Project" $(PRINT) $(PRINT) "More information on this project can be found at http://www.xj3d.org" $(PRINT) $(PRINT) "The following options are offered and will build the entire codebase:" $(PRINT) "class: Compile just the classes. Don't make JAR files." $(PRINT) "examples: Build the examples. Doesn't build the core libraries (Doesn't work yet)" $(PRINT) "jar: Make the java JAR file" $(PRINT) "javadoc: Generate the javadoc information" $(PRINT) "all: Build everything (including docs)" $(PRINT) "clean: Blow all the library classes away" $(PRINT) all: examples jar javadoc class: cd $(JAVA_DIR) && make buildall javadoc: cd $(JAVA_DIR) && make javadoc jar: cd $(JAVA_DIR) && make jar examples: cd $(EXAMPLES_DIR) && make buildall clean: cd $(JAVA_DIR) && make clean