Skip to content

Commit

Permalink
Tidy up src/Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Bradnick committed Sep 29, 2021
1 parent d707335 commit d23b52c
Showing 1 changed file with 1 addition and 61 deletions.
62 changes: 1 addition & 61 deletions ADPandABlocksApp/src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ include $(TOP)/configure/CONFIG
#USR_CXXFLAGS += -Werror
USR_CXXFLAGS += -Wall -Wextra
USR_CXXFLAGS += -Wno-unused-parameter
USR_CXXFLAGS += -std=c++11


# -------------------------------
Expand Down Expand Up @@ -37,66 +38,5 @@ INC += ADPandABlocks.h

USR_INCLUDES += $(XML2_INCLUDE)

# ------------------------
# Build an IOC Application
# ------------------------

#PROD_IOC = ADPandABlocks
#
## ADPandABlocks.dbd will be installed into <top>/dbd
#DBD += ADPandABlocks.dbd
#
## ADPandABlocks.dbd will be created from these files
#ADPandABlocks_DBD += base.dbd
##ADPandABlocks_DBD += xxx.dbd
#
## ADPandABlocks_registerRecordDeviceDriver.cpp will be created
## ADPandABlocks.dbd
#ADPandABlocks_SRCS += ADPandABlocks_registerRecordDeviceDriver.cpp
#
## These two lines are needed for non-vxWorks builds, such as Linux
#ADPandABlocks_SRCS_DEFAULT += ADPandABlocksMain.cpp
#ADPandABlocks_SRCS_vxWorks += -nil-
#
## Add locally compiled object code
##ADPandABlocks_SRCS +=
#
## The following adds object code from base/src/vxWorks
#ADPandABlocks_OBJS_vxWorks += $(EPICS_BASE_BIN)/vxComLibrary
#
## This line says that this IOC Application depends on the
## xxx Support Module
##ADPandABlocks_LIBS += xxx
#
## We need to link this IOC Application against the EPICS Base libraries
#ADPandABlocks_LIBS += $(EPICS_BASE_IOC_LIBS)

# ---------------------------------------------------

# NOTE: To build SNL programs, SNCSEQ must be defined
# in the <top>/configure/RELEASE file
#
# The difference between a file with an "st" extension
# and one with an "stt" extension is:
# The "st" extension files get passed through the C preprocessor
# whereas the "stt" files do not.

#ifneq ($(SNCSEQ),)
# This builds sncExample as a component of ADPandABlocks
# ADPandABlocks_SNCFLAGS += +r
# ADPandABlocks_DBD += sncExample.dbd
# ADPandABlocks_SRCS += sncExample.stt
# ADPandABlocks_LIBS += seq pv

# The following builds sncExample as a standalone application
# PROD_HOST += sncExample
# sncExample_SNCFLAGS += +m
# sncExample_SRCS += sncExample.stt
# sncExample_LIBS += seq pv
# Here, we need to specify the dependency on EPICS Base libraries
# again because this is a standalone application and
# not part of ADPandABlocks
# sncExample_LIBS += $(EPICS_BASE_HOST_LIBS)
#endif

include $(TOP)/configure/RULES

0 comments on commit d23b52c

Please sign in to comment.