#-----------------------------------------------------------------------------
#
# make libs	- build library routines and install them in the appropriate
#		  modules in ../lib
#
# make <testprog> - build a particular test program
#
#-----------------------------------------------------------------------------

CFLAGS = $(RCC_CFLAGS)

TESTO =	testAngles.o scaraSingular.o

#ifndef VxWorksConfig

# program to test singularity code
rccTestProgram(pstest,scaraSingular.to $(LUSER) $(LCTRL),,)

# program to test Jacobian routines
rccTestProgram(testJacobian,testJacobian.o scaraJacobian.o $(TESTO),,)

#endif

# program to test kinematic routines
rccTestProgram(testKinematics,testKinematics.o scaraKinemat.o $(TESTO),,)

rciCtrlModule(scara_convert)
rciCtrlModule(scara_jls)
rciCtrlModule(scara_kynvar)
rciCtrlModule(scaraGravload)
rciCtrlModule(scaraKinemat)
rciCtrlModule(scaraJacobian)

maintainRciCtrl(libs)
maintainVxwLibs(vxwScara,vxlibs)

makeClean(testKinematics testJacobian pstest)
makeDepend()
maintainVxwSubdir()


