~ampelbein/ubuntu/oneiric/heartbeat/lp-770743

« back to all changes in this revision

Viewing changes to tools/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Ante Karamatic
  • Date: 2009-08-10 19:29:25 UTC
  • mfrom: (5.2.3 experimental)
  • Revision ID: james.westby@ubuntu.com-20090810192925-9zy2llcbgavbskf7
Tags: 2.99.2+sles11r9-5ubuntu1
* New upstream snapshot
* Adjusted heartbeat.install and rules for documentation path

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
# along with this program; if not, write to the Free Software
18
18
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
19
19
#
20
 
MAINTAINERCLEANFILES    = Makefile.in ccdv
 
20
MAINTAINERCLEANFILES    = Makefile.in
21
21
 
22
22
INCLUDES                = -I$(top_builddir)/include -I$(top_srcdir)/include \
23
23
                          -I$(top_builddir)/linux-ha -I$(top_srcdir)/linux-ha \
24
24
                          -I$(top_builddir)/libltdl -I$(top_srcdir)/libltdl
25
25
 
26
 
EXTRA_DIST              = ccdv.c attrd.h $(hanoarch_DATA) $(sbin_SCRIPTS)
 
26
EXTRA_DIST              = $(hanoarch_DATA) $(sbin_SCRIPTS)
27
27
 
28
28
apigid                  = @HA_APIGID@
29
29
habindir                = @bindir@
31
31
hanoarchdir             = @HA_NOARCHDATAHBDIR@
32
32
gliblib                 = @GLIBLIB@
33
33
 
34
 
habin_PROGRAMS          = cl_status cl_respawn 
35
 
halib_SCRIPTS           = haresources2cib.py
36
 
hanoarch_DATA           = utillib.sh
37
 
sbin_SCRIPTS            = ciblint hb_report ocf-tester
38
 
 
39
 
if CRM_BUILD
40
 
halib_PROGRAMS          = attrd pingd
41
 
sbin_PROGRAMS           = attrd_updater
42
 
endif
43
 
 
44
 
## SOURCES
45
 
ccdv:   $(top_srcdir)/tools/ccdv.c
46
 
        gcc $(AM_CFLAGS) $(CFLAGS) -o ccdv $(top_srcdir)/tools/ccdv.c
 
34
habin_PROGRAMS          = cl_status cl_respawn
 
35
 
 
36
hanoarch_DATA           = utillib.sh ha_cf_support.sh openais_conf_support.sh
 
37
sbin_SCRIPTS            = hb_report ocf-tester
47
38
 
48
39
cl_status_SOURCES       = cl_status.c
49
 
# A little trick. Now ccdv can be auto-built but not auto-cleaned.
50
 
cl_status_DEPENDENCIES  = ccdv
51
40
cl_status_LDADD         = $(top_builddir)/lib/hbclient/libhbclient.la   \
52
41
                          $(top_builddir)/lib/clplumbing/libplumb.la    \
53
42
                          $(gliblib)                                    \
59
48
                          $(gliblib)                                    \
60
49
                          $(top_builddir)/replace/libreplace.la
61
50
 
62
 
 
63
 
attrd_SOURCES           = attrd.c
64
 
attrd_LDADD             =                               \
65
 
                  $(top_builddir)/lib/clplumbing/libplumb.la            \
66
 
                  $(top_builddir)/lib/crm/common/libcrmcommon.la        \
67
 
                  $(top_builddir)/lib/hbclient/libhbclient.la           \
68
 
                  $(top_builddir)/lib/crm/cib/libcib.la                 \
69
 
                  $(GLIBLIB)                                            \
70
 
                  $(LIBRT)
71
 
 
72
 
pingd_SOURCES           = pingd.c
73
 
pingd_LDADD             =                               \
74
 
                  $(top_builddir)/lib/clplumbing/libplumb.la            \
75
 
                  $(top_builddir)/lib/crm/common/libcrmcommon.la        \
76
 
                  $(top_builddir)/lib/hbclient/libhbclient.la           \
77
 
                  $(GLIBLIB)                                            \
78
 
                  $(LIBRT)
79
 
 
80
 
attrd_updater_SOURCES   = attrd_updater.c
81
 
attrd_updater_LDADD     =                               \
82
 
                  $(top_builddir)/lib/clplumbing/libplumb.la            \
83
 
                  $(top_builddir)/lib/crm/common/libcrmcommon.la        \
84
 
                  $(GLIBLIB)                                            \
85
 
                  $(LIBRT)
 
51
halib_PROGRAMS          = sfex_daemon                                   
 
52
sbin_PROGRAMS           = sfex_init
 
53
 
 
54
if USE_LIBNET
 
55
halib_PROGRAMS          += send_arp
 
56
send_arp_SOURCES        = send_arp.libnet.c
 
57
send_arp_CFLAGS         = @LIBNETDEFINES@
 
58
send_arp_LDADD          = $(top_builddir)/lib/clplumbing/libplumb.la    \
 
59
                          $(gliblib) @LIBNETLIBS@
 
60
else
 
61
 
 
62
if SENDARP_LINUX
 
63
halib_PROGRAMS          += send_arp
 
64
send_arp_SOURCES        = send_arp.linux.c
 
65
endif
 
66
 
 
67
endif
 
68
 
 
69
sfex_daemon_SOURCES     = sfex_daemon.c sfex.h sfex_lib.c sfex_lib.h
 
70
sfex_daemon_CFLAGS      = -D_GNU_SOURCE
 
71
sfex_daemon_LDADD       = $(GLIBLIB)                                            \
 
72
                                          $(top_builddir)/lib/clplumbing/libplumb.la  \
 
73
                                          $(top_builddir)/lib/clplumbing/libplumbgpl.la
 
74
 
 
75
sfex_init_SOURCES       = sfex_init.c sfex.h sfex_lib.c sfex_lib.h
 
76
sfex_init_CFLAGS        = -D_GNU_SOURCE
 
77
sfex_init_LDADD         = $(GLIBLIB)                    \
 
78
                                          $(top_builddir)/lib/clplumbing/libplumb.la  \
 
79
                                          $(top_builddir)/lib/clplumbing/libplumbgpl.la
86
80
 
87
81
install-data-hook:    # install-exec-hook doesn't work (!)
88
82
        -chgrp $(apigid) $(DESTDIR)/$(habindir)/cl_status