#!gmake # # The contents of this file are subject to the Netscape Public # License Version 1.1 (the "License"); you may not use this file # except in compliance with the License. You may obtain a copy of # the License at http://www.mozilla.org/NPL/ # # Software distributed under the License is distributed on an "AS # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or # implied. See the License for the specific language governing # rights and limitations under the License. # # The Original Code is mozilla.org code. # # The Initial Developer of the Original Code is Netscape # Communications Corporation. Portions created by Netscape are # Copyright (C) 1998 Netscape Communications Corporation. All # Rights Reserved. # # Contributor(s): # Client QA Team, St. Petersburg, Russia # DEPTH=../../../../../.. topsrcdir = $(DEPTH) srcdir = . VPATH = . JAVA_OR_NSJVM=1 include $(DEPTH)/config/autoconf.mk include $(topsrcdir)/config/rules.mk JAVA_SRC = \ MThreadComponent1.java JAVAI_SRC = \ iMThreadComponent1.java MThreadComponent1.jar.comp: manifest MThreadComponent1.class $(JDKHOME)/bin/jar cvfm MThreadComponent1.jar.comp manifest *.class MThreadComponent1.class: $(JDKHOME)/bin/javac -classpath $(DEPTH)/dist/classes $(JAVA_SRC) export:: $(JDKHOME)/bin/javac -classpath $(DEPTH)/dist/classes -d $(DEPTH)/dist/classes $(JAVAI_SRC) install-component: MThreadComponent1.jar.comp MThreadComponent1.jar.info cp -f MThreadComponent1.jar* $(DIST)/bin/components clobber:: rm -f *.class *.jar.comp rm -f $(DIST)/bin/components/MThreadComponent1.jar.* clobber_all:: clobber install:: install-component