| 1 |
# |
| 2 |
# Author: Huang Zhen <[email protected]> |
| 3 |
# Copyright (c) 2006 International Business Machines |
| 4 |
# |
| 5 |
# This program is free software; you can redistribute it and/or |
| 6 |
# modify it under the terms of the GNU General Public License |
| 7 |
# as published by the Free Software Foundation; either version 2 |
| 8 |
# of the License, or (at your option) any later version. |
| 9 |
# |
| 10 |
# This program is distributed in the hope that it will be useful, |
| 11 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 |
# GNU General Public License for more details. |
| 14 |
# |
| 15 |
# You should have received a copy of the GNU General Public License |
| 16 |
# along with this program; if not, write to the Free Software |
| 17 |
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 18 |
# |
| 19 |
MAINTAINERCLEANFILES = Makefile.in |
| 20 |
|
| 21 |
AM_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include \ |
| 22 |
-I$(top_builddir)/libltdl -I$(top_srcdir)/libltdl \ |
| 23 |
-I$(top_builddir)/linux-ha -I$(top_srcdir)/linux-ha \ |
| 24 |
-I$(top_builddir) -I$(top_srcdir) |
| 25 |
|
| 26 |
|
| 27 |
COMMONLIBS = -lplumb \ |
| 28 |
$(GLIBLIB) |
| 29 |
|
| 30 |
halibexecdir = $(libexecdir)/@HB_PKG@ |
| 31 |
|
| 32 |
halibexec_PROGRAMS = quorumd quorumdtest |
| 33 |
quorumd_SOURCES = quorumd.c |
| 34 |
quorumd_LDADD = $(COMMONLIBS) |
| 35 |
quorumd_LDFLAGS = $(GNUTLSLIBS) |
| 36 |
quorumd_CFLAGS = $(AM_CPPFLAGS) $(GNUTLSHEAD) |
| 37 |
|
| 38 |
quorumdtest_SOURCES = quorumdtest.c |
| 39 |
quorumdtest_LDADD = $(COMMONLIBS) |
| 40 |
quorumdtest_LDFLAGS = $(GNUTLSLIBS) |
| 41 |
quorumdtest_CFLAGS = $(AM_CPPFLAGS) $(GNUTLSHEAD) |