view components/src/Makefile.in @ 3:ac0c8fe4aec1

Fixed a bug that Linux's gcc didn't like re: too many semicolons.
author Atul Varma <varmaa@toolness.com>
date Wed, 22 Apr 2009 08:48:38 -0700
parents 7180966f48bf
children
line wrap: on
line source

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

include $(DEPTH)/config/autoconf.mk

IS_COMPONENT = 1
MODULE = JSWeakRef
LIBRARY_NAME = JSWeakRef
USE_STATIC_LIBS = 1
#FORCE_SHARED_LIB = 1
#FORCE_USE_PIC = 1

XPI_NAME = JSWeakRef-components

REQUIRES	= \
		  xpcom \
		  string \
		  js \
		  xpconnect \
		  caps \
		  dom \
		  $(NULL)

CPPSRCS = nsJSWeakRef.cpp \
          JSWeakRefModule.cpp \
          $(NULL)

include $(topsrcdir)/config/rules.mk

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

clobber::
	rm -f $(DIST)/lib/$(LIBRARY_NAME).lib