#
# Makefile for JavaScript interpreter
#
# Yasuo Tanaka, Dec. 27, 2001
#
# Default
VPATH = ../..
ARCH = ../../..

VX_SYS_LCL = linux

TARGET = libjsregexp.a

all: $(TARGET)

include $(ARCH)/inc/$(VX_SYS_LCL)/Makefile.common

LOCAL_STRICT += $(CCOPTIM) 
LOCAL_INCLUDES += -I$(ARCH)/../inc -I$(VPATH)/regexp/inc
LOCAL_DEFINES += -DREUSE_LOCAL
LOCAL_DEFINES += -DPERSIST

CSRCS = 

CPPSRCS =  \
	js-nativeregexpctor.cpp		js-regexpnew.cpp	\
	js-nativeregexp.cpp		js-regexpimpl.cpp	\
	js-substring.cpp

MAKE_DEPEND_SRC = $(CSRCS:%=$(VPATH)/%) $(CPPSRCS:%=$(VPATH)/%)

OBJS = $(CSRCS:.c=.o) $(CPPSRCS:.cpp=.o)

$(TARGET): $(OBJS)
	$(AR) rv $@ $(OBJS) 

# DO NOT DELETE THIS LINE -- make depend depends on it.
