#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
#     National Laboratory.
# Copyright (c) 2002 The Regents of the University of California, as
#     Operator of Los Alamos National Laboratory.
# EPICS BASE Versions 3.13.7
# and higher are distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************

TOP=../..

include $(TOP)/configure/CONFIG

#========================================
#  ADD MACRO DEFINITIONS AFTER THIS LINE
#========================================
#USR_CFLAGS += -DDEBUG
CROSS_COMPILER_TARGET_ARCHS +=rhel6-x86_64

# build an ioc application

# Install Documentation:
# Rules for installing PDF files:
DOCS += recRef.pdf recRef.sxw

# This is what we will be building from here:
# create library for OSI type driver
#LIBRARY_IOC_Linux += waveAnlRecord
LIBRARY_IOC += waveAnlRecord

DBEXPAND = msi

# The following line makes the waveAnlRecord.h file
# This is needed for Record support. So uncomment
# the following line if you are making record support.
DBDINC += waveAnlRecord

# Install DBD
DBD += waveAnlRecord.dbd

# Install headers
INC += waveAnlRecord.h

# Add locally compiled object code
waveAnlRecord_SRCS += waveAnlRecord.cpp

# The PROD_IOC_vxWorks is built from the same srcs and must include
# the registry routines.
waveAnlRecordLib_SRCS += $(waveAnlRecord_SRCS)
waveAnlRecordLib_SRCS += waveAnlRecord_registerRecordDeviceDriver.cpp


include $(TOP)/configure/RULES


