#*************************************************************************
# 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
CROSS_COMPILER_TARGET_ARCHS=linux-x86

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

# 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

# This is for vxWorks specific drivers.
# Don't forget to substitute your driver name.
# create library for linking will install in <lib>
#LIBRARY_IOC_vxWorks += waveAnlRecord

# create munch file for dynamic loading will install in <bin>
#PROD_IOC_vxWorks += waveAnlRecordLib

# Now for RTEMS
#PROD_IOC_RTEMS += waveAnlRecordLib

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


