- Replaced custom link commands with standard macros; LIBOBJS and LIBNAME.

- Updated comments.
This commit is contained in:
Ron Sluiter
2002-01-24 19:19:24 +00:00
parent c9179213c5
commit b6b2bb09e6
+13 -7
View File
@@ -4,25 +4,31 @@ include $(TOP)/config/CONFIG_APP
#----------------------------------------
# ADD MACRO DEFINITIONS AFTER THIS LINE
# The following are used for debugging messages.
USR_CFLAGS += -DDEBUG
USR_CXXFLAGS += -DDEBUG
# If the EPICS GPIB Module from Benjamin Franksen is used,
# then remove the '#' from the following and add GPIB to
# the config/RELEASE file . If GPIB driver support is from
# EPICS base, then leave this line commented out.
# Marty Kraimer's mpfSerial, then leave this line commented out.
#USR_CFLAGS += -DGPIB
ifdef MPF_GPIB
SRCS.c += ../gpibIO.c
endif
# The following is for device drivers that need serial
# or GPIB communication support via MPF. Define
# MPF_SERIAL in <ioctop>/config/RELEASE.
# communication support via MPF. Define MPF_SERIAL in
# <ioctop>/config/RELEASE.
ifdef MPF_SERIAL
SRCS.cc += ../serialIOMPF.cc
MPFLIBOBJS = $(SRCS.cc:../%.cc=%.o) $(SRCS.c:../%.c=%.o)
motorCOM_mpf: $(MPFLIBOBJS)
$(LINK.c) $@ $(MPFLIBOBJS)
INSTALLS += motorCOM_mpf
endif
LIBOBJS = $(SRCS.cc:../%.cc=%.o) $(SRCS.c:../%.c=%.o)
LIBNAME = motorCOM_mpf
#Note that the command line that builds the
#library $(LIBNAME) may be HUGE (>3kB)
#