Merge "Set SHELL in Makefiles that use bash constructs"

This commit is contained in:
Zuul 2018-12-12 14:27:53 +00:00 committed by Gerrit Code Review
commit 373f21e5cd
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