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

ifeq (win32-x86, $(findstring $(T_A), win32-x86))
LIBRARY_IOC = roper
LIB_SRCS += roper.cpp
PROD_IOC += roperApp
#PROD_IOC += comTest1
#comTest1_SYS_LIBS += ole32 oleaut32
#PROD_IOC += comTest2
#comTest2_SYS_LIBS += ole32 oleaut32
#PROD_IOC += comTest3
#comTest3_SYS_LIBS += ole32 oleaut32
endif


# <name>.dbd will be created from <name>Include.dbd
DBD += roperApp.dbd
DBD += roperSupport.dbd

# <name>_registerRecordDeviceDriver.cpp will be created from <name>.dbd
PROD_SRCS += roperApp_registerRecordDeviceDriver.cpp roperAppMain.cpp

# Add locally compiled object code
PROD_LIBS          += roper
PROD_SYS_LIBS      += ole32 oleaut32

# If we don't include nafxcw in the link command then VS links the C runtime before
# MFC and we get errors that operator new and delete are multiply defined.
ifeq ($(T_A), win32-x86)
PROD_SYS_LIBS      += nafxcw
endif
ifeq ($(T_A), win32-x86-debug)
PROD_SYS_LIBS      += nafxcwd
endif

include $(TOP)/ADApp/commonDriverMakefile

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

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

