This commit is contained in:
Mark Rivers
2014-02-18 19:00:49 -06:00
parent b6e5fb8bc8
commit ab4ad3893b

View File

@@ -0,0 +1,46 @@
TOP=../..
include $(TOP)/configure/CONFIG
#----------------------------------------
# ADD MACRO DEFINITIONS AFTER THIS LINE
# Note: we must built the application without GraphicsMagick.
# This is because of a conflict with the Andor library (SetImage function)
# It leads to a build error on windows-x64, but to a run-time error on Linux.
USE_GRAPHICSMAGICK=NO
PROD_NAME = andorCCDApp
PROD_IOC_WIN32 += $(PROD_NAME)
PROD_IOC_Linux += $(PROD_NAME)
# <name>.dbd will be created from <name>Include.dbd
DBD += $(PROD_NAME).dbd
$(PROD_NAME)_DBD += andorCCDSupport.dbd
PROD_SRCS += $(PROD_NAME)_registerRecordDeviceDriver.cpp $(PROD_NAME)Main.cpp
# Add locally compiled object code
PROD_LIBS += andorCCD
ifeq (win32-x86, $(findstring win32-x86, $(T_A)))
PROD_LIBS += ATMCD32M
else ifeq (windows-x64, $(findstring windows-x64, $(T_A)))
# Note: we must built the application without GraphicsMagick for windows-x64.
# This is because of a conflict with the Andor library (SetImage function)
# that only occurs on windows-x64.
USE_GRAPHICSMAGICK=NO
PROD_LIBS += atmcd64m
endif
# Note: we use PROD_SYS_LIBS because we are building statically but this library is only provided in dynamic
# format (.so)
PROD_SYS_LIBS_Linux += andor
include $(ADCORE)/ADApp/commonDriverMakefile
#=============================
include $(TOP)/configure/RULES
#----------------------------------------
# ADD RULES AFTER THIS LINE