File: Makefile.am

package info (click to toggle)
heartbeat 1:3.0.5-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 3,340 kB
  • sloc: ansic: 41,862; sh: 3,508; makefile: 972; python: 885; tcl: 523
file content (60 lines) | stat: -rw-r--r-- 1,839 bytes parent folder | download | duplicates (2)
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
#
# hbclient library: Linux-HA heartbeat code
#
# Copyright (C) 2001 Michael Moerz
# Copyright (C) 2004 International Business Machines
#
# 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

INCLUDES                = -I$(top_builddir)/include -I$(top_srcdir)/include \
			-I$(top_builddir)/linux-ha -I$(top_srcdir)/linux-ha \
			-I$(top_builddir)/libltdl -I$(top_srcdir)/libltdl

hadir			= $(sysconfdir)/ha.d
halibdir		= $(libdir)/@HB_PKG@
commmoddir		= $(halibdir)/modules/comm
havarlibdir		= $(localstatedir)/lib/@HB_PKG@
havarrundir		= $(localstatedir)/run/
apidir		       	= $(havarlibdir)/api
apicasualdir		= $(havarlibdir)/casual
# fifos with path
hafifo			= $(havarlibdir)/fifo
apigid			= @HA_APIGID@
gliblib			= @GLIBLIB@

LIBRT 			= @LIBRT@
AM_CFLAGS		= @CFLAGS@

## libraries

lib_LTLIBRARIES		= libhbclient.la 

libhbclient_la_SOURCES	= client_lib.c
libhbclient_la_LDFLAGS	= -version-info 1:0:0
libhbclient_la_LIBADD	= $(top_builddir)/replace/libreplace.la \
			  $(gliblib) \
			  -lplumb

## binary progs
halib_PROGRAMS		= api_test

api_test_SOURCES	= api_test.c
api_test_LDADD		= -lplumb	\
			libhbclient.la $(gliblib) \
			-lpils