MAKEFLAGS += --no-print-directory CLASSDIR= classes CLASSPATH= $(CLASSDIR) LIBDIR= lib LIBFROMCLASSDIR= ../lib # To support platforms with 32 character filename limits. # Replaced MakeAppletDialog with MakeAppDlg # Replaced ObjectInputStreamWithLoader with ObjectInputStreamLoader CLASSFILES= \ $(CLASSDIR)/sun/beanbox/JarAccess.class \ $(CLASSDIR)/sun/beanbox/JarEntrySource.class \ $(CLASSDIR)/sun/beanbox/MakeAppDlg.class \ $(CLASSDIR)/sun/beanbox/ClassCompiler.class \ $(CLASSDIR)/sun/beanbox/AppletClassGenerator.class \ $(CLASSDIR)/sun/beanbox/AppletGenerator.class \ $(CLASSDIR)/sun/beanbox/IndentedStream.class \ $(CLASSDIR)/sun/beanbox/BeanBox.class \ $(CLASSDIR)/sun/beanbox/BeanBoxFrame.class \ $(CLASSDIR)/sun/beanbox/Report.class \ $(CLASSDIR)/sun/beanbox/StartFrame.class \ $(CLASSDIR)/sun/beanbox/AboutDialog.class \ $(CLASSDIR)/sun/beanbox/ErrorDialog.class \ $(CLASSDIR)/sun/beanbox/MessageDialog.class \ $(CLASSDIR)/sun/beanbox/WindowCloser.class \ $(CLASSDIR)/sun/beanbox/CustomizerDialog.class \ $(CLASSDIR)/sun/beanbox/HookupManager.class \ $(CLASSDIR)/sun/beanbox/PropertyHookupManager.class \ $(CLASSDIR)/sun/beanbox/PropertyNameDialog.class \ $(CLASSDIR)/sun/beanbox/PropertyCanvas.class \ $(CLASSDIR)/sun/beanbox/PropertyDialog.class \ $(CLASSDIR)/sun/beanbox/PropertyText.class \ $(CLASSDIR)/sun/beanbox/PropertySelector.class \ $(CLASSDIR)/sun/beanbox/PropertySheet.class \ $(CLASSDIR)/sun/beanbox/ToolBox.class \ $(CLASSDIR)/sun/beanbox/FileExtension.class \ $(CLASSDIR)/sun/beanbox/Timer.class \ $(CLASSDIR)/sun/beanbox/OurLabel.class \ $(CLASSDIR)/sun/beanbox/EventTargetDialog.class \ $(CLASSDIR)/sun/beanbox/EditedAdaptor.class \ $(CLASSDIR)/sun/beanbox/Wrapper.class \ $(CLASSDIR)/sun/beanbox/WrapperPropertyEventInfo.class \ $(CLASSDIR)/sun/beanbox/WrapperEventInfo.class \ $(CLASSDIR)/sun/beanbox/SimpleClassLoader.class \ $(CLASSDIR)/sun/beanbox/InputStreamProducer.class \ $(CLASSDIR)/sun/beanbox/JarLoader.class \ $(CLASSDIR)/sun/beanbox/ObjectInputStreamLoader.class \ $(CLASSDIR)/sun/beanbox/JarInfo.class \ $(CLASSDIR)/sun/beanbox/DoOnBean.class \ $(CLASSDIR)/sun/beanbox/Manifest.class \ $(CLASSDIR)/sun/beanbox/MessageHeader.class \ $(CLASSDIR)/sun/beanbox/simpleresource/Handler.class \ $(CLASSDIR)/sun/beanbox/simpleresource/SimpleResourceConnection.class SUPPORTFILES= \ $(CLASSDIR)/sunw/beanbox/AppletSupport.class \ $(CLASSDIR)/sunw/beanbox/PropertyHookup.class all: $(CLASSDIR) $(CLASSFILES) supportjar $(CLASSDIR)/sunw/demo/classfile @chmod ugo+x run.sh $(CLASSDIR): mkdir -p $(CLASSDIR) $(CLASSDIR)/sunw/demo/classfile: ../demo/sunw/demo/classfile cd ../demo ; $(MAKE) -f classfile.gmk (cd ../demo; tar cf - sunw/demo/classfile/*.class) | ( cd classes ; tar xf - ) $(CLASSDIR)/%.class: %.java export CLASSPATH; CLASSPATH=$(CLASSPATH):. ; \ javac -d $(CLASSDIR) $< supportjar: $(LIBDIR) $(SUPPORTFILES) $(LIBDIR)/support.jar $(LIBDIR): mkdir -p $(LIBDIR) $(LIBDIR)/support.jar: $(SUPPORTFILES) cd $(CLASSDIR); \ jar cvf $(LIBFROMCLASSDIR)/support.jar sunw/beanbox/*.class run: @./run.sh jdb: export CLASSPATH; CLASSPATH=$(CLASSPATH) ; \ jdb sun.beanbox.BeanBoxFrame adb: export JAVA_HOME; JAVA_HOME=$(JAVA) ; \ export CLASSPATH; CLASSPATH=$(CLASSPATH):$$JAVA_HOME/lib/classes.zip ; \ export LD_LIBRARY_PATH; LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:$$JAVA_HOME/lib/sparc/green_threads ; \ echo JAVA_HOME=$$JAVA_HOME ; \ adb $$JAVA_HOME/bin/sparc/green_threads/java_g dbx: export JAVA_HOME; JAVA_HOME=$(JAVA) ; \ export CLASSPATH; CLASSPATH=$(CLASSPATH):$$JAVA_HOME/lib/classes.zip ; \ export LD_LIBRARY_PATH; LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:$$JAVA_HOME/lib/sparc/green_threads ; \ echo JAVA_HOME=$$JAVA_HOME ; \ dbx $$JAVA_HOME/bin/sparc/green_threads/java_g report: export CLASSPATH; CLASSPATH=$(CLASSPATH); \ java sun.beanbox.Report sun.beanbox.BeanBox clean: /bin/rm -f -r $(CLASSDIR) /bin/rm -f -r $(LIBDIR) /bin/rm -f -r tmp FORCE: