# # Top Level makefile for the j3d.org SWT OpenGL codebase # # (C) 2005 - 2007 Yumetech, Inc # http://www.j3d.org/ # http://www.yumetech.com # # 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=$(PWD) endif include $(PROJECT_ROOT)/make/Makefile.inc # 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 for all platforms. Don't make JAR files." $(PRINT) "jar: Make the java JAR file" $(PRINT) "javadoc: Generate the javadoc information" $(PRINT) $(PRINT) "osx-class: Compile just the Mac OSX classes. Don't make JAR files." $(PRINT) "osx-jar: Make the java JAR file for Mac OSX" $(PRINT) "osx-javadoc: Generate the javadoc information for Mac OSX" $(PRINT) $(PRINT) "x11-class: Compile just the X11 classes. Don't make JAR files." $(PRINT) "x11-jar: Make the java JAR file for X11" $(PRINT) "x11-javadoc: Generate the javadoc information for X11" $(PRINT) $(PRINT) "win32-class: Compile just the MS Windows classes. Don't make JAR files." $(PRINT) "win32-jar: Make the java JAR file for MS Windows" $(PRINT) "win32-javadoc: Generate the javadoc information for MS Windows" $(PRINT) $(PRINT) "examples: Build the examples. Doesn't build the core libraries (Doesn't work yet)" $(PRINT) "all: Build everything (including docs)" $(PRINT) "clean: Blow all the library classes away" $(PRINT) all: examples jar javadoc class: make -f $(JAVA_DIR)/Makefile buildall javadoc: make -f $(JAVA_DIR)/Makefile javadoc jar: make -f $(JAVA_DIR)/Makefile jar osx-class: make -f $(JAVA_DIR)/Makefile.osx buildall osx-javadoc: make -f $(JAVA_DIR)/Makefile.osx javadoc osx-jar: make -f $(JAVA_DIR)/Makefile.osx jar x11-class: make -f $(JAVA_DIR)/Makefile.x11 buildall x11-javadoc: make -f $(JAVA_DIR)/Makefile.x11 javadoc x11-jar: make -f $(JAVA_DIR)/Makefile.x11 jar win32-class: make -f $(JAVA_DIR)/Makefile.win32 buildall win32-javadoc: make -f $(JAVA_DIR)/Makefile.win32 javadoc win32-jar: make -f $(JAVA_DIR)/Makefile.win32 jar examples: make -f $(EXAMPLES_DIR)/Makefile buildall clean: make -f $(JAVA_DIR)/Makefile clean