#-----------------------------------------------------------------------------
#
# make libs	- build a library for the CtreeMatcher in ../lib
#
#-----------------------------------------------------------------------------

CFLAGS = $(RCC_CFLAGS)
OBJS = parse.o match.o fsmsubs.o variables.o
ALLOBJS = $(OBJS) parse.fsm.o real.fsm.o int.fsm.o print_err.o

basicProgram(test,test.o $(ALLOBJS),../lib/libC.a)

#ifndef VxWorksConfig
libs:	../lib/libCtree.a
buildLibrary(../lib/libCtree.a,$(ALLOBJS))
#else
VXWLO = $(ALLOBJS) threaded-malloc.o
maintainVxwLibs(vxwCtree,vxlibs)
#endif

# parse.fsm.c:	parse.fsm /u1/mouse/fsm/fsm
#	/u1/mouse/fsm/fsm < parse.fsm > parse.fsm.c
#
# real.fsm.c:	real.fsm /u1/mouse/fsm/fsm
#	/u1/mouse/fsm/fsm < real.fsm > real.fsm.c
#
# int.fsm.c:	int.fsm /u1/mouse/fsm/fsm
#	/u1/mouse/fsm/fsm < int.fsm > int.fsm.c

makeClean(lib.a test)
makeDepend()
maintainVxwSubdir()
