extensions/jssh/Makefile.in
author ffxbld
Tue, 17 Aug 2010 10:27:58 -0700
branchGECKO20b3_20100804_RELBRANCH
changeset 50734 3e8946d7bddaf80382163d101e0bb6a1fefd15fc
parent 31811 a0b2a2ffa12445d54487d836332ee5ca1fab43da
permissions -rw-r--r--
Added tag FIREFOX_4_0b3_RELEASE for changeset 900fdd7fb8b2. CLOSED TREE

DEPTH		= ../..
topsrcdir	= @top_srcdir@
srcdir		= @srcdir@
VPATH		= @srcdir@

include $(DEPTH)/config/autoconf.mk

MODULE		= jssh
XPIDL_MODULE    = jssh
LIBRARY_NAME	= jssh
EXPORT_LIBRARY	= 1
IS_COMPONENT	= 1
MODULE_NAME	= nsJSShModule


CPPSRCS		= \
		nsJSShServer.cpp \
		nsJSShModule.cpp \
		nsJSSh.cpp \
		$(NULL)

XPIDLSRCS	= nsIJSShServer.idl \
	          nsIJSSh.idl \
		  $(NULL)

EXTRA_DSO_LDOPTS = \
		$(XPCOM_GLUE_LDOPTS) \
		$(NSPR_LIBS) \
		$(MOZ_JS_LIBS) \
		$(NULL)

EXTRA_COMPONENTS = nsJSShStarter.js

include $(topsrcdir)/config/rules.mk

DEFINES		+= -DJS_THREADSAFE 

XPI_FILE = jssh-$(shell date +%Y%m%d)-$(OS_ARCH).xpi

xpi::
	zip -j $(DIST)/$(XPI_FILE) $(srcdir)/install.js
	cd $(DIST); zip -r $(XPI_FILE) \
	bin/components/jssh.xpt \
	bin/components/$(LIB_PREFIX)jssh$(DLL_SUFFIX) \
	bin/components/nsJSShStarter.js \
	bin/chrome/jssh.jar