From 1a4420b5c071fac82bde48dffc9383acd1bf533c Mon Sep 17 00:00:00 2001 From: Ron Sluiter Date: Fri, 3 Mar 2000 22:17:03 +0000 Subject: [PATCH] Moved communication support to from NewportSrc to here. --- motorApp/MotorSrc/Makefile.Vx | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/motorApp/MotorSrc/Makefile.Vx b/motorApp/MotorSrc/Makefile.Vx index 25bd273d..7143cbae 100644 --- a/motorApp/MotorSrc/Makefile.Vx +++ b/motorApp/MotorSrc/Makefile.Vx @@ -4,11 +4,31 @@ include $(TOP)/config/CONFIG_APP #---------------------------------------- # ADD MACRO DEFINITIONS AFTER THIS LINE +# The following is required for device drivers that require serial +# or GPIB communication support via HIDEOS. In addition, the +# HIDEOS directory must be defined in the config/RELEASE file. +USR_CXXFLAGS += -DOS_EQ_VXWORKS +SRCS.c += ../gpibIO.c +SRCS.cc += ../serialIO.cc +HIDEOSLIBOBJS = gpibIO.o serialIO.o + +# The following is required for device drivers that require serial +# or GPIB communication support via MPF. In addition, the +# MPF directory must be defined in the config/RELEASE file. +MPFLIBOBJS = serialIOMPF.o +SRCS.cc += ../serialIOMPF.cc + # The following is required for all motor record configurations. SRCS.c += ../motorRecord.c ../motordevCom.c ../motordrvCom.c -LIBOBJS = motorRecord.o motordevCom.o motordrvCom.o +MOTORLIBOBJS = motorRecord.o motordevCom.o motordrvCom.o -LIBNAME = MotorLib +motorLib_hideos: $(MOTORLIBOBJS) $(HIDEOSLIBOBJS) + $(LINK.c) $@ $(MOTORLIBOBJS) $(HIDEOSLIBOBJS) + +motorLib_mpf: $(MOTORLIBOBJS) $(MPFLIBOBJS) + $(LINK.c) $@ $(MOTORLIBOBJS) $(MPFLIBOBJS) + +INSTALLS += motorLib_hideos motorLib_mpf #Note that the command line that builds the #library $(LIBNAME) may be HUGE (>3kB)