File: Makefile.am

package info (click to toggle)
resource-agents 1%3A4.0.0~rc1-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,644 kB
  • ctags: 2,191
  • sloc: sh: 47,713; ansic: 4,074; perl: 3,457; makefile: 663; xml: 89
file content (75 lines) | stat: -rw-r--r-- 2,043 bytes parent folder | download | duplicates (5)
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#
# heartbeat: Linux-HA heartbeat code
#
# Copyright (C) 2001 Michael Moerz
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
# 
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
#
MAINTAINERCLEANFILES    = Makefile.in

SUBDIRS			= ocft

AM_CPPFLAGS		= -I$(top_builddir)/include -I$(top_srcdir)/include

halibdir		= $(libexecdir)/heartbeat

EXTRA_DIST		= ocf-tester.8 sfex_init.8

sbin_PROGRAMS		= 
sbin_SCRIPTS		= ocf-tester
halib_PROGRAMS		= findif

man8_MANS		= ocf-tester.8

if BUILD_SFEX
halib_PROGRAMS		+= sfex_daemon
sbin_PROGRAMS		+= sfex_init sfex_stat
man8_MANS		+= sfex_init.8
endif

if USE_LIBNET
halib_PROGRAMS		+= send_arp
send_arp_SOURCES	= send_arp.libnet.c
send_arp_CFLAGS		= @LIBNETDEFINES@
send_arp_LDADD		= $(GLIBLIB) -lplumb @LIBNETLIBS@
else

if SENDARP_LINUX
halib_PROGRAMS		+= send_arp
send_arp_SOURCES	= send_arp.linux.c
endif

endif

sfex_daemon_SOURCES	= sfex_daemon.c sfex.h sfex_lib.c sfex_lib.h
sfex_daemon_CFLAGS	= -D_GNU_SOURCE
sfex_daemon_LDADD	= $(GLIBLIB) -lplumb -lplumbgpl

sfex_init_SOURCES	= sfex_init.c sfex.h sfex_lib.c sfex_lib.h
sfex_init_CFLAGS	= -D_GNU_SOURCE
sfex_init_LDADD		= $(GLIBLIB) -lplumb -lplumbgpl

sfex_stat_SOURCES	= sfex_stat.c sfex.h sfex_lib.c sfex_lib.h
sfex_stat_CFLAGS	= -D_GNU_SOURCE
sfex_stat_LDADD		= $(GLIBLIB) -lplumb -lplumbgpl

findif_SOURCES		= findif.c

if BUILD_TICKLE
halib_PROGRAMS		+= tickle_tcp
tickle_tcp_SOURCES	= tickle_tcp.c
endif

.PHONY: install-exec-hook