-
Notifications
You must be signed in to change notification settings - Fork 1
/
make.cfg
55 lines (40 loc) · 1.46 KB
/
make.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# -*- makefile -*-
# Included by all ChannelArchiver Makefiles
# Compare: manual/changes.tex, ArchiveDaemon.pl $version
VERSION=3
RELEASE=0
PATCH=0
# Only build this one for the host architecture,
# not for any cross-platforms that might be defined
# for EPICS base
CROSS_COMPILER_TARGET_ARCHS=
# Profiling:
#USR_CXXFLAGS += -pg
#USR_LDFLAGS += -pg
# glibc debugging
#USR_CXXFLAGS += -D_GLIBCXX_DEBUG -D_GLIBCXX_FORCE_NEW
# Version Numbers
USR_CXXFLAGS += -D ARCH_VERSION=$(VERSION) -D ARCH_RELEASE=$(RELEASE) -D ARCH_PATCH=$(PATCH) -D ARCH_VERSION_TXT=\"$(VERSION).$(RELEASE).$(PATCH)\"
# On Solaris, some people had to change
# the compiler settings to avoid "-ansi" and "-predantic".
#CXXCMPLR=TRAD
# These are overrides for CONFIG_SITE.
# You can try to build shared libs, but don't come running!
SHARED_LIBRARIES = NO
# no optimzation, include debug info
HOST_OPT=NO
# to increase the max number of export channels to 1000 use
#USR_CXXFLAGS += -DEXTEND_EXPORT
LOCAL=/usr/local
# SNS web2
# LOCAL=/epics/local
# EPICS base includes
USR_CXXFLAGS += -I$(EPICS_BASE)/include -I$(EPICS_BASE)/include/os/$(OS_CLASS)
USR_CXXFLAGS += -I$(LOCAL)/include
# Base directory of the XML-RPC C library installation
XMLRPCBASE=$(LOCAL)
# Location of Xerces or Expat library, however Tools/FUX.h is configured
USR_CXXFLAGS += -DFUX_XERCES
USR_LDFLAGS += -L$(LOCAL)/lib -lxerces-c
#USR_LDFLAGS += -lexpat
VALGRIND_FLAGS = --tool=memcheck --leak-check=yes --show-reachable=yes --num-callers=10