summaryrefslogtreecommitdiffstats
path: root/lib/fencing/Makefile.am
blob: 116b2f4a401837e8206d8cf3e539026d20c4568d (plain)
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
#
# Original Author: Sun Jiang Dong <sunjd@cn.ibm.com>
# Copyright 2004 International Business Machines
#
# with later changes copyright 2004-2022 the Pacemaker project contributors.
# The version control history for this file may have further details.
#
# This source code is licensed under the GNU General Public License version 2
# or later (GPLv2+) WITHOUT ANY WARRANTY.
#
include $(top_srcdir)/mk/common.mk

noinst_HEADERS		= fencing_private.h

lib_LTLIBRARIES		= libstonithd.la

libstonithd_la_LDFLAGS	= -version-info 34:5:8

libstonithd_la_CFLAGS	= $(CFLAGS_HARDENED_LIB)
libstonithd_la_LDFLAGS	+= $(LDFLAGS_HARDENED_LIB)

libstonithd_la_LIBADD = $(top_builddir)/lib/services/libcrmservice.la
libstonithd_la_LIBADD += $(top_builddir)/lib/common/libcrmcommon.la

## Library sources (*must* use += format for bumplibs)
libstonithd_la_SOURCES	= st_actions.c
libstonithd_la_SOURCES	+= st_client.c
if BUILD_LHA_SUPPORT
libstonithd_la_SOURCES	+= st_lha.c
endif
libstonithd_la_SOURCES	+= st_output.c
libstonithd_la_SOURCES	+= st_rhcs.c