TOP=../..

include $(TOP)/configure/CONFIG
#----------------------------------------
#  ADD MACRO DEFINITIONS AFTER THIS LINE
#========================================

#========================================
# build ALH PV soft IOC
#========================================

# moved the dbds into Makefile as recommended by Steph
PROD_IOC_Linux = alhPV
DBD += alhPV.dbd
alhPV_DBD += base.dbd
alhPV_DBD += iocAdmin.dbd
ifdef AUTOSAVE_ASSUPPORT
alhPV_DBD += asSupport.dbd
else
alhPV_DBD += autosaveSupport.dbd
endif
alhPV_DBD += caPutLog.dbd
ifdef RESTORE
alhPV_DBD += dbRestore.dbd
endif

alhPV_SRCS += alhPV_registerRecordDeviceDriver.cpp
alhPV_SRCS_DEFAULT += alhPVMain.cpp
alhPV_SRCS_vxWorks += -nil-

alhPV_LIBS += autosave devIocStats caPutLog
ifdef RESTORE
alhPV_LIBS += restore
endif

alhPV_LIBS += $(EPICS_BASE_IOC_LIBS)

include $(TOP)/configure/RULES
#----------------------------------------
#  ADD RULES AFTER THIS LINE

