Set SHELL in Makefiles that use bash constructs

A number of Makefiles use '[[' in their test to set
STATIC_ANALYSIS_TOOL_EXISTS.  Set SHELL=/bin/bash

Change-Id: Ie9536d7cafd518f3e65acf38ac5b30aa7536ea79
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
This commit is contained in:
Dean Troyer 2018-12-07 14:09:45 -06:00
parent 286577940f
commit 58b987239f
13 changed files with 26 additions and 0 deletions

View File

@ -4,6 +4,8 @@
# SPDX-License-Identifier: Apache-2.0
#
SHELL = /bin/bash
SRCS = regexUtil.cpp \
timeUtil.cpp \
ipmiUtil.cpp \

View File

@ -4,6 +4,8 @@
# SPDX-License-Identifier: Apache-2.0
#
SHELL = /bin/bash
SRCS = daemon_main.cpp daemon_ini.cpp daemon_debug.cpp daemon_signal.cpp daemon_config.cpp daemon_files.cpp
OBJS = daemon_main.o daemon_ini.o daemon_debug.o daemon_signal.o daemon_config.o daemon_files.o

View File

@ -4,6 +4,8 @@
# SPDX-License-Identifier: Apache-2.0
#
SHELL = /bin/bash
SRCS = alarmInit.cpp alarmData.cpp alarmHdlr.cpp alarmMgr.cpp alarmUtil.cpp alarm.cpp
OBJS = $(SRCS:.cpp=.o)
LDLIBS = -lstdc++ -ldaemon -lcommon -lfmcommon -ljson-c -lrt -lcrypto -luuid

View File

@ -4,6 +4,8 @@
# SPDX-License-Identifier: Apache-2.0
#
SHELL = /bin/bash
SRCS = nodeClass.cpp
OBJS = $(SRCS:.cpp=.o)

View File

@ -4,6 +4,8 @@
# SPDX-License-Identifier: Apache-2.0
#
SHELL = /bin/bash
SRCS = fsmonInit.cpp fsmonHdlr.cpp
OBJS = $(SRCS:.cpp=.o)
LDLIBS = -lstdc++ -ldaemon -lcommon -lrt -lcrypto

View File

@ -4,6 +4,8 @@
# SPDX-License-Identifier: Apache-2.0
#
SHELL = /bin/bash
SRCS = hbsAlarm.cpp hbsClient.cpp hbsAgent.cpp hbsPmon.cpp hbsUtil.cpp hbsCluster.cpp hbsStubs.cpp
OBJS = $(SRCS:.cpp=.o)

View File

@ -4,6 +4,8 @@
# SPDX-License-Identifier: Apache-2.0
#
SHELL = /bin/bash
SRCS = hostwInit.cpp hostwHdlr.cpp hostwMsg.cpp
OBJS = $(SRCS:.cpp=.o)
LDLIBS = -lstdc++ -ldaemon -lcommon -lrt -lcrypto

View File

@ -4,6 +4,8 @@
# SPDX-License-Identifier: Apache-2.0
#
SHELL = /bin/bash
SRCS += hwmonUtil.cpp
SRCS += hwmonIpmi.cpp
SRCS += hwmonModel.cpp

View File

@ -4,6 +4,8 @@
# SPDX-License-Identifier: Apache-2.0
#
SHELL = /bin/bash
SRCS = mtcAlarm.cpp
SRCS += mtcThreads.cpp
SRCS += mtcIpmiUtil.cpp

View File

@ -4,6 +4,8 @@
# SPDX-License-Identifier: Apache-2.0
#
SHELL = /bin/bash
SRCS = mtclog.cpp
OBJS = $(SRCS:.cpp=.o)
LDLIBS = -lstdc++ -ldaemon -lcommon -lrt -lcrypto

View File

@ -4,6 +4,8 @@
# SPDX-License-Identifier: Apache-2.0
#
SHELL = /bin/bash
SRCS = pmonAlarm.cpp pmonInit.cpp pmonMsg.cpp pmonHdlr.cpp pmonFsm.cpp
OBJS = $(SRCS:.cpp=.o)
LDLIBS = -lstdc++ -ldaemon -lcommon -lrt -lcrypto -lfmcommon -ljson-c

View File

@ -4,6 +4,8 @@
# SPDX-License-Identifier: Apache-2.0
#
SHELL = /bin/bash
SRCS = amon.c
OBJS = $(SRCS:.c=.o)
INCLUDES = -I.

View File

@ -4,6 +4,8 @@
# SPDX-License-Identifier: Apache-2.0
#
SHELL = /bin/bash
SRCS = rmonInit.cpp rmonMsg.cpp rmonHdlr.cpp rmonHttp.cpp interfaceHdlr.cpp rmonFM.cpp remoteloggingHdlr.cpp thinmetaHdlr.cpp
OBJS = $(SRCS:.cpp=.o)
LDLIBS = -lstdc++ -ldaemon -lcommon -lfmcommon -lrmonapi -lrt -levent -lcrypto -luuid -lpthread -ljson-c