Makefile.am | Makefile.am | |||
---|---|---|---|---|
skipping to change at line 23 | skipping to change at line 23 | |||
# libqb is distributed in the hope that it will be useful, | # libqb is distributed in the hope that it will be useful, | |||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
# GNU Lesser General Public License for more details. | # GNU Lesser General Public License for more details. | |||
# | # | |||
# You should have received a copy of the GNU Lesser General Public License | # You should have received a copy of the GNU Lesser General Public License | |||
# along with libqb. If not, see <http://www.gnu.org/licenses/>. | # along with libqb. If not, see <http://www.gnu.org/licenses/>. | |||
MAINTAINERCLEANFILES = Makefile.in | MAINTAINERCLEANFILES = Makefile.in | |||
noinst_HEADERS = ipc_int.h util_int.h ringbuffer_int.h loop_int.h | noinst_HEADERS = ipc_int.h util_int.h ringbuffer_int.h loop_int.h log_int.h map_int.h | |||
# | # | |||
# Here are a set of rules to help you update your library version informati on: | # Here are a set of rules to help you update your library version informati on: | |||
# Start with version information of ‘0:0:0’ for each libtool library. | # Start with version information of ‘0:0:0’ for each libtool library. | |||
# Update the version information only immediately before a public release o f your software. | # Update the version information only immediately before a public release o f your software. | |||
# More frequent updates are unnecessary, and only guarantee that the curren t interface number gets larger faster. | # More frequent updates are unnecessary, and only guarantee that the curren t 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 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 upd ate, increment current, and set revision to 0. | # If any interfaces have been added, removed, or changed since the last upd ate, increment current, and set revision to 0. | |||
# If any interfaces have been added since the last public release, then inc rement age. | # If any interfaces have been added since the last public release, then inc rement age. | |||
# If any interfaces have been removed since the last public release, then s et age to 0. | # If any interfaces have been removed since the last public release, then s et age to 0. | |||
# | # | |||
lib_LTLIBRARIES = libqb.la | lib_LTLIBRARIES = libqb.la | |||
libqb_la_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include | libqb_la_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include | |||
libqb_la_LDFLAGS = -version-info 4:1:4 | libqb_la_LDFLAGS = -version-info 8:1:8 | |||
source_to_lint = util.c hdb.c ringbuffer.c ringbuffer_helper.c arra y.c \ | source_to_lint = util.c hdb.c ringbuffer.c ringbuffer_helper.c arra y.c \ | |||
loop.c loop_poll.c loop_job.c \ | loop.c loop_poll.c loop_job.c \ | |||
ipcc.c ipcs.c ipc_posix_mq.c ipc_sysv_mq.c ipc_shm | ipcc.c ipcs.c ipc_shm.c ipc_us.c \ | |||
.c ipc_us.c | log.c log_thread.c log_blackbox.c log_file.c \ | |||
libqb_la_SOURCES = $(source_to_lint) | log_syslog.c log_dcs.c log_format.c \ | |||
map.c skiplist.c hashtable.c trie.c | ||||
libqb_la_SOURCES = $(source_to_lint) unix.c | ||||
if HAVE_SYSV_MQ | ||||
libqb_la_SOURCES+=ipc_sysv_mq.c | ||||
endif | ||||
if HAVE_POSIX_MQ | ||||
libqb_la_SOURCES+=ipc_posix_mq.c | ||||
endif | ||||
if USE_TIMERFD | if USE_TIMERFD | |||
else | else | |||
libqb_la_SOURCES+=loop_timerlist.c | libqb_la_SOURCES+=loop_timerlist.c | |||
endif | endif | |||
if HAVE_GCC_BUILTINS_FOR_ATOMIC_OPERATIONS | ||||
libqb_la_SOURCES+=atomic_gcc.c | ||||
else | ||||
libqb_la_SOURCES+=atomic_lock.c | ||||
endif | ||||
pkgconfigdir = $(libdir)/pkgconfig | pkgconfigdir = $(libdir)/pkgconfig | |||
pkgconfig_DATA = libqb.pc | pkgconfig_DATA = libqb.pc | |||
if HAVE_SPLINT | if HAVE_SPLINT | |||
check_SCRIPTS = run_splint.sh | check_SCRIPTS = run_splint.sh | |||
TESTS = $(check_SCRIPTS) | TESTS = $(check_SCRIPTS) | |||
ALL_LINT_FLAGS = $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ | ALL_LINT_FLAGS = $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ | |||
$(libqb_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) \ | $(libqb_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) \ | |||
$(LINT_FLAGS) | $(LINT_FLAGS) | |||
run_splint.sh: $(top_srcdir)/configure.ac | run_splint.sh: $(top_srcdir)/configure.ac | |||
echo "$(SPLINT) $(ALL_LINT_FLAGS) $(addprefix $(top_srcdir)/lib/, $( source_to_lint))" > $@ | echo "$(SPLINT) $(ALL_LINT_FLAGS) $(addprefix $(top_srcdir)/lib/, $( source_to_lint))" > $@ | |||
chmod +x $@ | $(AM_V_GEN)chmod +x $@ | |||
dist-clean-local: | dist-clean-local: | |||
rm -f run_splint.sh | $(AM_V_GEN)rm -f run_splint.sh | |||
clean-generic: | clean-generic: | |||
rm -f run_splint.sh | $(AM_V_GEN)rm -f run_splint.sh | |||
endif | endif | |||
End of changes. 7 change blocks. | ||||
13 lines changed or deleted | 20 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |