mirror of
https://salsa.debian.org/ha-team/libqb
synced 2026-01-04 16:33:48 +00:00
http://old.nabble.com/relinking-error-td27796838.html Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
101 lines
3.8 KiB
Makefile
101 lines
3.8 KiB
Makefile
#
|
||
# Copyright (C) 2010 Red Hat, Inc.
|
||
#
|
||
# Author: Angus Salkeld <asaslkeld@redhat.com>
|
||
#
|
||
# This file is part of libqb.
|
||
#
|
||
# libqb is free software: you can redistribute it and/or modify
|
||
# it under the terms of the GNU Lesser General Public License as published by
|
||
# the Free Software Foundation, either version 2.1 of the License, or
|
||
# (at your option) any later version.
|
||
#
|
||
# libqb 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 Lesser General Public License for more details.
|
||
#
|
||
# You should have received a copy of the GNU Lesser General Public License
|
||
# along with libqb. If not, see <http://www.gnu.org/licenses/>.
|
||
|
||
|
||
MAINTAINERCLEANFILES = Makefile.in
|
||
|
||
noinst_HEADERS = ipc_int.h util_int.h
|
||
|
||
lib_LIBRARIES = libqbplugin.a
|
||
|
||
libqbplugin_a_SOURCES = plugin_loader.c
|
||
|
||
#
|
||
# Here are a set of rules to help you update your library version information:
|
||
# Start with version information of ‘0:0:0’ for each libtool library.
|
||
# Update the version information only immediately before a public release of your software.
|
||
# More frequent updates are unnecessary, and only guarantee that the current interface number gets larger faster.
|
||
# If the library source code has changed at all since the last update, then increment revision (‘c:r:a’ becomes ‘c:r+1:a’).
|
||
# If any interfaces have been added, removed, or changed since the last update, increment current, and set revision to 0.
|
||
# If any interfaces have been added since the last public release, then increment age.
|
||
# If any interfaces have been removed since the last public release, then set age to 0.
|
||
#
|
||
|
||
lib_LTLIBRARIES = libqbutil.la libqbtsafe.la
|
||
# make sure libraries that use libqbutil are listed below.
|
||
lib_LTLIBRARIES += libqbhash.la libqbpoll.la libqbtimer.la libqblogsys.la
|
||
lib_LTLIBRARIES += libqbwthread.la libqbipcc.la libqbipcs.la
|
||
|
||
libqbutil_la_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include
|
||
libqbutil_la_LDFLAGS = -version-info 0:0:0
|
||
libqbutil_la_SOURCES = util.c
|
||
|
||
libqbtsafe_la_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include
|
||
libqbtsafe_la_LDFLAGS = -version-info 0:0:0
|
||
libqbtsafe_la_SOURCES = tsafe.c
|
||
|
||
|
||
#
|
||
# libs dependant on qbutil
|
||
#
|
||
|
||
libqbhash_la_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include
|
||
libqbhash_la_LDFLAGS = -version-info 0:0:0
|
||
libqbhash_la_SOURCES = hash.c
|
||
libqbhash_la_LIBADD = libqbutil.la
|
||
libqbhash_la_DEPENDENCIES = libqbutil.la
|
||
|
||
libqbpoll_la_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include
|
||
libqbpoll_la_LDFLAGS = -version-info 0:0:0
|
||
libqbpoll_la_SOURCES = poll.c
|
||
libqbpoll_la_LIBADD = libqbutil.la
|
||
libqbpoll_la_DEPENDENCIES = libqbutil.la
|
||
|
||
libqbtimer_la_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include
|
||
libqbtimer_la_LDFLAGS = -version-info 0:0:0
|
||
libqbtimer_la_SOURCES = timer.c
|
||
libqbtimer_la_LIBADD = libqbutil.la
|
||
libqbtimer_la_DEPENDENCIES = libqbutil.la
|
||
|
||
libqbwthread_la_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include
|
||
libqbwthread_la_LDFLAGS = -version-info 0:0:0
|
||
libqbwthread_la_SOURCES = wthread.c
|
||
libqbwthread_la_LIBADD = libqbutil.la
|
||
libqbwthread_la_DEPENDENCIES = libqbutil.la
|
||
|
||
libqbipcc_la_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include
|
||
libqbipcc_la_LDFLAGS = -version-info 0:0:0
|
||
libqbipcc_la_SOURCES = ipcc.c
|
||
libqbipcc_la_LIBADD = libqbutil.la
|
||
libqbipcc_la_DEPENDENCIES = libqbutil.la
|
||
|
||
libqbipcs_la_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include
|
||
libqbipcs_la_LDFLAGS = -version-info 0:0:0
|
||
libqbipcs_la_SOURCES = ipcs.c
|
||
libqbipcs_la_LIBADD = libqbutil.la
|
||
libqbipcs_la_DEPENDENCIES = libqbutil.la
|
||
|
||
libqblogsys_la_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include
|
||
libqblogsys_la_LDFLAGS = -version-info 0:0:0
|
||
libqblogsys_la_SOURCES = logsys.c
|
||
libqblogsys_la_LIBADD = libqbutil.la
|
||
libqblogsys_la_DEPENDENCIES = libqbutil.la
|
||
|