-
Notifications
You must be signed in to change notification settings - Fork 1
/
make.cfg
41 lines (29 loc) · 1.07 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
# -*- makefile -*-
# Included by all ChannelArchiver Makefiles
# Compare: manual/changes.tex, ArchiveDaemon.pl $version
VERSION=2
RELEASE=9
PATCH=2
# Only build this one for the host architecture,
# not for any cross-platforms that might be defined
# for EPICS base
CROSS_COMPILER_TARGET_ARCHS=
COMMANDLINE_LIBRARY := NONE
# 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
VALGRIND_FLAGS = --tool=memcheck --leak-check=yes --show-reachable=yes --num-callers=10