#//------------------------------------------------------------------------
#//
#// Makefile to build OJI
#//
#//------------------------------------------------------------------------

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

include $(DEPTH)/config/autoconf.mk

include $(topsrcdir)/config/config.mk

MODULE		= ojiimpl

ifdef MOZ_OJI
LIBRARY_NAME	= oji

CPPSRCS         = jvmmgr.cpp \
                  scd.cpp    \
                  ProxyJNI.cpp  \
                  nsCSecurityContext.cpp

REQUIRES	= img java js lay layer plugin plugimpl pref style util xpcom raptor oji caps
CFLAGS += -DJSJDLL=\"$(JSJDLL)\" 
INCLUDES +=		-I$(DIST)/include/private
endif # MOZ_OJI

EXPORTS         = jvmmgr.h

EXPORTS 	:= $(addprefix $(srcdir)/, $(EXPORTS))

include $(topsrcdir)/config/rules.mk

