Makefile.am | Makefile.am | |||
---|---|---|---|---|
skipping to change at line 20 | skipping to change at line 20 | |||
# (at your option) any later version. | # (at your option) any later version. | |||
# | # | |||
# 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 = Makefiles.in | ||||
EXTRA_DIST = | ||||
CLEANFILES = | ||||
noinst_PROGRAMS = bmc bmcpt bms rbwriter rbreader loop | noinst_PROGRAMS = bmc bmcpt bms rbwriter rbreader loop bench-log | |||
bmc_SOURCES = bmc.c $(top_builddir)/include/qb/qbipcc.h | bmc_SOURCES = bmc.c $(top_builddir)/include/qb/qbipcc.h | |||
bmc_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include | bmc_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include | |||
bmc_LDADD = -lrt $(top_builddir)/lib/libqb.la | bmc_LDADD = $(LIB_RT) $(top_builddir)/lib/libqb.la | |||
bmcpt_SOURCES = bmcpt.c $(top_builddir)/include/qb/qbipcc.h | bmcpt_SOURCES = bmcpt.c $(top_builddir)/include/qb/qbipcc.h | |||
bmcpt_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include | bmcpt_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include | |||
bmcpt_LDADD = -lrt $(top_builddir)/lib/libqb.la | bmcpt_LDADD = $(LIB_RT) $(top_builddir)/lib/libqb.la | |||
bms_SOURCES = bms.c $(top_builddir)/include/qb/qbipcs.h | bms_SOURCES = bms.c $(top_builddir)/include/qb/qbipcs.h | |||
bms_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include $(GLIB_CFL AGS) | bms_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include $(GLIB_CFL AGS) | |||
bms_LDADD = -lrt $(top_builddir)/lib/libqb.la $(GLIB_LIBS) | bms_LDADD = $(LIB_RT) $(top_builddir)/lib/libqb.la $(GLIB_LIBS) | |||
rbwriter_SOURCES = rbwriter.c $(top_builddir)/include/qb/qbrb.h | rbwriter_SOURCES = rbwriter.c $(top_builddir)/include/qb/qbrb.h | |||
rbwriter_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include | rbwriter_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include | |||
rbwriter_LDADD = -lrt $(top_builddir)/lib/libqb.la | rbwriter_LDADD = $(LIB_RT) $(top_builddir)/lib/libqb.la | |||
rbreader_SOURCES = rbreader.c $(top_builddir)/include/qb/qbrb.h | rbreader_SOURCES = rbreader.c $(top_builddir)/include/qb/qbrb.h | |||
rbreader_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include | rbreader_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include | |||
rbreader_LDADD = -lrt $(top_builddir)/lib/libqb.la | rbreader_LDADD = $(LIB_RT) $(top_builddir)/lib/libqb.la | |||
loop_SOURCES = loop.c $(top_builddir)/include/qb/qbloop.h | loop_SOURCES = loop.c $(top_builddir)/include/qb/qbloop.h | |||
loop_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include | loop_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include | |||
loop_LDADD = -lrt $(top_builddir)/lib/libqb.la | loop_LDADD = $(LIB_RT) $(top_builddir)/lib/libqb.la | |||
if HAVE_DICT_WORDS | ||||
if HAVE_SLOW_TESTS | ||||
EXTRA_DIST += make-log-test | ||||
CLEANFILES += write_logs.c | ||||
MAINTAINERCLEANFILES += write_logs.c | ||||
nodist_bench_log_SOURCES = write_logs.c | ||||
bench_log: write_logs.c | ||||
$(builddir)/write_logs.c: make-log-test | ||||
$(srcdir)/make-log-test > $(builddir)/write_logs-tmp.c | ||||
$(AM_V_GEN)mv $(builddir)/write_logs-tmp.c $(builddir)/write_logs.c | ||||
distclean-compile: | ||||
rm -rf write_logs.c | ||||
endif | ||||
endif | ||||
bench_log_SOURCES = bench-log.c $(top_builddir)/include/qb/qblog.h | ||||
bench_log_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include | ||||
bench_log_LDADD = $(LIB_RT) $(top_builddir)/lib/libqb.la | ||||
if HAVE_CHECK | if HAVE_CHECK | |||
EXTRA_DIST = check_resources.sh | EXTRA_DIST += resources.test | |||
TESTS = array.test map.test rb.test log.test loop.test ipc.test resources.t | ||||
est | ||||
resources.log: rb.log log.log ipc.log | ||||
TESTS = check_array check_rb check_loop check_ipc check_resources.sh | check_PROGRAMS = array.test map.test rb.test log.test loop.test ipc.test | |||
check_SCRIPTS = resources.test | ||||
check_PROGRAMS = check_array check_rb check_loop check_ipc | array_test_SOURCES = check_array.c $(top_builddir)/include/qb/qbarray.h | |||
check_SCRIPTS = check_resources.sh | array_test_CFLAGS = @CHECK_CFLAGS@ -I$(top_srcdir)/include | |||
array_test_LDADD = $(top_builddir)/lib/libqb.la $(LIB_RT) @CHECK_LIBS@ | ||||
check_array_SOURCES = check_array.c $(top_builddir)/include/qb/qbarray.h | map_test_SOURCES = check_map.c $(top_builddir)/include/qb/qbmap.h | |||
check_array_CFLAGS = @CHECK_CFLAGS@ -I$(top_srcdir)/include | map_test_CFLAGS = @CHECK_CFLAGS@ -I$(top_srcdir)/include | |||
check_array_LDADD = $(top_builddir)/lib/libqb.la -lrt @CHECK_LIBS@ | map_test_LDADD = $(top_builddir)/lib/libqb.la $(LIB_RT) @CHECK_LIBS@ | |||
check_rb_SOURCES = check_rb.c $(top_builddir)/include/qb/qbrb.h | rb_test_SOURCES = check_rb.c $(top_builddir)/include/qb/qbrb.h | |||
check_rb_CFLAGS = @CHECK_CFLAGS@ -I$(top_srcdir)/include | rb_test_CFLAGS = @CHECK_CFLAGS@ -I$(top_srcdir)/include | |||
check_rb_LDADD = $(top_builddir)/lib/libqb.la -lrt @CHECK_LIBS@ | rb_test_LDADD = $(top_builddir)/lib/libqb.la $(LIB_RT) @CHECK_LIBS@ | |||
check_loop_SOURCES = check_loop.c $(top_builddir)/include/qb/qbloop.h | loop_test_SOURCES = check_loop.c $(top_builddir)/include/qb/qbloop.h | |||
check_loop_CFLAGS = @CHECK_CFLAGS@ -I$(top_srcdir)/include | loop_test_CFLAGS = @CHECK_CFLAGS@ -I$(top_srcdir)/include | |||
check_loop_LDADD = $(top_builddir)/lib/libqb.la -lrt @CHECK_LIBS@ | loop_test_LDADD = $(top_builddir)/lib/libqb.la $(LIB_RT) @CHECK_LIBS@ | |||
check_ipc_SOURCES = check_ipc.c $(top_builddir)/include/qb/qbipcc.h $(top_b | ipc_test_SOURCES = check_ipc.c $(top_builddir)/include/qb/qbipcc.h $(top_bu | |||
uilddir)/include/qb/qbipcs.h | ilddir)/include/qb/qbipcs.h | |||
check_ipc_CFLAGS = @CHECK_CFLAGS@ -I$(top_srcdir)/include | ipc_test_CFLAGS = @CHECK_CFLAGS@ -I$(top_srcdir)/include | |||
check_ipc_LDADD = $(top_builddir)/lib/libqb.la -lrt @CHECK_LIBS@ | ipc_test_LDADD = $(top_builddir)/lib/libqb.la $(LIB_RT) @CHECK_LIBS@ | |||
log_test_SOURCES = check_log.c $(top_builddir)/include/qb/qblog.h | ||||
log_test_CFLAGS = @CHECK_CFLAGS@ -I$(top_srcdir)/include | ||||
log_test_LDADD = $(top_builddir)/lib/libqb.la $(LIB_RT) @CHECK_LIBS@ | ||||
endif | endif | |||
clean-generic: | ||||
$(AM_V_GEN)rm -f *.log | ||||
End of changes. 16 change blocks. | ||||
24 lines changed or deleted | 61 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/ |