#-----------------------------------------------------------------------------
#
# 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 elbowSingular.o

#ifndef VxWorksConfig

# program to test singularity code
rccTestProgram(pstest,elbowSingular.to $(LUSER) $(PUMA),,)

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

#endif

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

rciCtrlModule(elbow_convert)
rciCtrlModule(elbow_jls)
rciCtrlModule(elbow_kynvar)
rciCtrlModule(elbowGravload)
rciCtrlModule(elbowKinemat)
rciCtrlModule(elbowJacobian)

maintainRciCtrl(libs)
maintainVxwLibs(vxwElbow,vxlibs)

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


