#-----------------------------------------------------------------------------
#
# make install - build RCI robot control utility programs and install them
#		 into ../bin
#
#-----------------------------------------------------------------------------

CFLAGS = $(RCC_CFLAGS) -g

UTILP =	free primecal move power teachdemo potcal zerograv pumacal

all:		$(UTILP)

rccProgram(free,free.o support.o,,)
rccProgram(primecal,primecal.o support.o,,)
rccProgram(move,move.o support.o,,)
rccProgram(power,power.o support.o,,)
rccProgram(teachdemo,teachdemo.o support.o,,)
rccProgram(potcal,potcal.o support.o,potcalCtrl.o,)
rccProgram(zerograv,zerograv.o support.o,zerogravCtrl.o,)
rccProgram(pumacal,pumacal.o support.o,potcalCtrl.o,)

rccUtilityProgram(free,free.o support.o,,)
rccUtilityProgram(primecal,primecal.o support.o,,)
rccUtilityProgram(move,move.o support.o,,)
rccUtilityProgram(power,power.o support.o,,)
rccUtilityProgram(teachdemo,teachdemo.o support.o,,)
rccUtilityProgram(potcal,potcal.o support.o,potcalCtrl.o,)
rccUtilityProgram(zerograv,zerograv.o support.o,zerogravCtrl.o,)
rccUtilityProgram(pumacal,pumacal.o support.o,potcalCtrl.o,)

ctrlModule(zerogravCtrl)
ctrlModule(potcalCtrl)

vxwBinModule(free)
vxwBinModule(primecal)
vxwBinModule(move)
vxwBinModule(power)
vxwBinModule(teachdemo)
vxwBinModule(potcal)
vxwBinModule(zerograv)
vxwBinModule(pumacal)
vxwBinModule(support)
vxwBinModule(potcalCtrl)
vxwBinModule(zerogravCtrl)

maintainUtils(install)
maintainVxwBins(vxwPrograms,vxbins)

makeClean($(UTILP))
makeDepend()
maintainVxwSubdir()
