forked from optics/eib700
54 lines
1.3 KiB
Makefile
54 lines
1.3 KiB
Makefile
TOP=../..
|
|
|
|
include $(TOP)/configure/CONFIG
|
|
#----------------------------------------
|
|
# ADD MACRO DEFINITIONS AFTER THIS LINE
|
|
#=============================
|
|
|
|
#=============================
|
|
# Build the IOC application
|
|
|
|
PROD_IOC = eib
|
|
# eib.dbd will be created and installed
|
|
DBD += eib.dbd
|
|
|
|
# eib.dbd will be made up from these files:
|
|
eib_DBD += base.dbd
|
|
eib_DBD += myEIB.dbd
|
|
|
|
# Include dbd files from all support applications:
|
|
#eib_DBD += xxx.dbd
|
|
|
|
# Add all the support libraries needed by this IOC
|
|
|
|
# eib_registerRecordDeviceDriver.cpp derives from eib.dbd
|
|
eib_SRCS += eib_registerRecordDeviceDriver.cpp
|
|
|
|
# Build the main IOC entry point on workstation OSs.
|
|
# eib_SRCS_DEFAULT += EIB_standalone.c
|
|
|
|
eib_SRCS_DEFAULT += EIB.c
|
|
eib_SRCS_DEFAULT += myEIB.c
|
|
eib_SRCS_DEFAULT += Error.c
|
|
eib_SRCS_DEFAULT += AuxFuncs.c
|
|
eib_SRCS_DEFAULT += CfgLib.c
|
|
eib_SRCS_vxWorks += -nil-
|
|
|
|
# Add support from base/src/vxWorks if needed
|
|
#eib_OBJS_vxWorks += $(EPICS_BASE_BIN)/vxComLibrary
|
|
|
|
# Finally link to the EPICS Base libraries
|
|
eib_LIBS += $(EPICS_BASE_IOC_LIBS)
|
|
|
|
|
|
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/afs/psi.ch/user/f/follath_r/progs/EIB700/lib64
|
|
|
|
USR_LDFLAGS += -lpthread -leib7_64 -L/afs/psi.ch/user/f/follath_r/progs/EIB700/lib64
|
|
|
|
#===========================
|
|
|
|
include $(TOP)/configure/RULES
|
|
#----------------------------------------
|
|
# ADD RULES AFTER THIS LINE
|
|
|