#!make
#
# 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):
# Igor Kushnirskiy <idk@eng.sun.com>
# Brad GNUberg <bkn3@columbia.edu>
#


DEPTH		    = ../../../..
topsrcdir       = ../../../..
VPATH           = .
srcdir          = .

REQUIRES	= \
	xpcom

include $(DEPTH)/config/autoconf.mk

# Our C++ XPCOM component
#MODULE         = javaSample
#LIBRARY_NAME   = javaSample
#IS_COMPONENT   = 1
#XPIDL_MODULE   = javaSample
#XPIDLSRCS      = bcIJavaSample.idl
#CPPSRCS        = bcJavaSample.cpp

# Our Java XPCOM component

# The name that will be given to the JAR file holding this XPCOM component (i.e. bcJavaSample.jar)
JAVAMODULE      = bcJavaSample

# Any new IDL files that are defined for this Java XPCOM component
# These will be copied to dist/idl
JAVAXPIDLS      = bcIJavaSample.idl

# Any IDL files that your Java source-code depends on that live in dist/idl.
# You don't have to include IDL files that are referenced from your new Java IDL defined in 
# JAVAXPIDLS because xpidl will automatically import and copy these over.
# However, if your Java sources need to use other XPCOM components then they must be included
# in this variable.
JAVAIDLREQUIRES = nsIConsoleService.idl nsIConsoleMessage.idl nsIConsoleListener.idl

# Your Java sources to implement your XPCOM component.
# You shouldn't put any .java files here that are generated from IDL files
# (such as bcIJavaSample.java generated from bcIJavaSample.idl)
JAVASRCS        = bcJavaSample.java

include $(DEPTH)/config/rules.mk

DSO_LDOPTS	+= \
				$(XPCOM_LIBS) \
				$(NSPR_LIBS) \
				$(NULL)