compile C++ only if CPLUSPLUS isnt empty

This commit is contained in:
Jeff Hill
1997-04-10 21:32:42 +00:00
parent 6adb68d7d6
commit 1891940018
2 changed files with 31 additions and 25 deletions
+28 -23
View File
@@ -8,29 +8,34 @@
# for c++ build add the dirs gdd and cas after ca
# (and uncomment the c++ files in src/lbCom/Makefile.Unix)
#
DIRS = \
tools \
include \
cxxTemplates \
toolsComm\
libCom \
libvxWorks\
cvtDctsdr \
dbStatic \
db \
bpt \
ca \
util \
misc \
sequencer \
dbtools \
rsrv\
rec\
as \
drv\
dev\
devOpt\
iocCore
DIRS = tools
DIRS += include
DIRS += cxxTemplates
DIRS += toolsComm
DIRS += libCom
DIRS += libvxWorks
DIRS += cvtDctsdr
DIRS += dbStatic
DIRS += db
DIRS += bpt
DIRS += ca
DIRS += util
DIRS += misc
DIRS += sequencer
DIRS += dbtools
DIRS += rsrv
DIRS += rec
DIRS += as
DIRS += drv
DIRS += dev
DIRS += devOpt
DIRS += iocCore
#
# if CPLUSPLUS isnt empty then include C++ src codes
#
DIRS += $(patsubst %,gdd,$(strip $(CPLUSPLUS)))
DIRS += $(patsubst %,cas,$(strip $(CPLUSPLUS)))
EPICS_BASE = $(TOP)
+3 -2
View File
@@ -76,10 +76,11 @@ ANSI=ACC
#STANDARD=HPCC
STANDARD=ACC
# Client C++ Compiler (Not supported yet)
# C++ Compiler
# G++ (g++) GNU C++
# CCC (CC) SUN C++
# CCC (CC) OS VENDOR C++
#CPLUSPLUS=G++
#CPLUSPLUS= # use this if site does not have C++ compiler
CPLUSPLUS=CCC
# Build client objects statically ?