#!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 = . include $(DEPTH)/config/autoconf.mk MODULE = BCTestLoader LIBRARY_NAME = $(MODULE) XPIDL_MODULE = $(MODULE) IS_COMPONENT = 1 JAVA_OR_NSJVM=1 NO_CAFE=1 EXPORTS = \ BCTest.h \ ProceedResults.h \ Values.h \ VarContainer.h \ PseudoHash.h \ $(NULL) CPPSRCS = \ BCTestLoader.cpp \ BCTestLoaderFactory.cpp \ $(NULL) XPIDLSRCS = \ BCITestLoader.idl \ iClientTestComponent.idl \ iJClientTestComponent.idl\ iExclusionSupport.idl\ $(NULL) DSO_LDOPTS += \ $(XPCOM_LIBS) \ $(NSPR_LIBS) \ $(NULL) COMMON_JAVA = VarContainer.java JDIRS = . JAVAC_PROG=$(JDKHOME)/bin/javac JAVAC_FLAGS=-classpath $(CLASSPATH):$(JAVA_DESTPATH) -d $(JAVA_DESTPATH) include $(topsrcdir)/config/config.mk include $(topsrcdir)/config/rules.mk export:: $(JDKHOME)/bin/javac -classpath .:$(DEPTH)/dist/classes -d $(DEPTH)/dist/classes $(COMMON_JAVA) clobber:: rm -f *.class *.jar rm -f $(DIST)/include/BCTest.h rm -f $(DIST)/include/ProceedResults.h rm -f $(DIST)/include/Values.h rm -f $(DIST)/include/VarContainer.h rm -f $(DIST)/include/PseudoHash.h rm -f $(DIST)/classes/VarContainer.class rm -f $(DIST)/classes/org/mozilla/xpcom/iClientTestComponent.class rm -f $(DIST)/classes/org/mozilla/xpcom/iJClientTestComponent.class rm -f $(DIST)/classes/org/mozilla/xpcom/iExclusionSupport.class clobber-java:: clobber clobber_all:: clobber-java