TOP=../..

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

GPIB = $(TOP)
GPIB_LIB = $(TOP)/lib/$(T_A)
GPIB_BIN = $(TOP)/bin/$(T_A)
gpib_DIR = $(GPIB_LIB)

DBD += test.dbd
DBD += testvx.dbd

#=============================

PROD_IOC_DEFAULT += test
PROD_IOC_vxWorks += testvx


# <name>_registerRecordDeviceDriver.cpp will be created from <name>.dbd
test_SRCS += test_registerRecordDeviceDriver.cpp
test_SRCS += testMain.c
test_SRCS += devTestGpib.c

test_LIBS += gpib
test_LIBS += $(EPICS_BASE_IOC_LIBS)

testvx_SRCS += testvx_registerRecordDeviceDriver.cpp
testvx_OBJS_vxWorks += $(EPICS_BASE_BIN)/vxComLibrary
testvx_SRCS += devTestGpib.c

testvx_LIBS += gpib
testvx_LIBS += $(EPICS_BASE_IOC_LIBS)

#===========================

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

