start a test thread in vgsuppression
[nobug.git] / Makefile.am
blobec513a491caebfbd43a24c54a4b22ce921a281bb
1 # This file is part of the NoBug debugging library.
3 # Copyright (C)
4 #   2007, 2008, 2009,   Christian Thaeter <ct@pipapo.org>
6 # This program is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 2 of the License, or
9 # (at your option) any later version.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, contact Christian Thaeter <ct@pipapo.org>.
19 include_HEADERS                         = src/nobug.h
20 pcdir                                   = $(libdir)/pkgconfig
21 pc_DATA                                 = nobug.pc nobugmt.pc
23 ##### single-threading variant
25 lib_LTLIBRARIES                         = libnobug.la
26 libnobug_la_SOURCES                     = src/nobug.c src/nobug_env.c src/nobug_ringbuffer.c src/nobug_resources.c
27 libnobug_la_CFLAGS                      = $(AM_CFLAGS) @VALGRIND_CFLAGS@
28 libnobug_la_CPPFLAGS                    = -DNOBUG_USE_PTHREAD=0
30 bin_PROGRAMS                            = nobug_rbdump
31 nobug_rbdump_SOURCES                    = src/nobug_rbdump.c
32 nobug_rbdump_LDADD                      = libnobug.la
33 nobug_rbdump_CFLAGS                     = $(AM_CFLAGS) @VALGRIND_CFLAGS@
36 ##### multi-threading variant
38 if HAVE_THREADING
40 lib_LTLIBRARIES                         += libnobugmt.la
41 libnobugmt_la_SOURCES                   = src/nobug.c src/nobug_env.c src/nobug_ringbuffer.c src/nobug_resources.c src/nobug_thread.c
42 libnobugmt_la_CFLAGS                    = $(AM_CFLAGS) @PTHREAD_CFLAGS@ @VALGRIND_CFLAGS@
44 endif   # HAVE_THREADING
46 ##### Testsuite
48 include tests/Makefile.am
51 ##### maintainer targets
53 meta:
54         w3m -no-cookie -dump 'http://www.pipapo.org/pipawiki/NoBug/Documentation?action=print' |\
55         (read; read; cat) > $(top_srcdir)/README
56         w3m -no-cookie -dump 'http://www.pipapo.org/pipawiki/NoBug/Authors?action=print' |\
57         (read; read; cat) > $(top_srcdir)/AUTHORS
58         w3m -no-cookie -dump 'http://www.pipapo.org/pipawiki/NoBug/News?action=print' |\
59         (read; read; cat) > $(top_srcdir)/NEWS
61 #ChangeLog:
62 #       git whatchanged --max-count=100 | sed -e 's/:.*\.\.\.//' > $(top_srcdir)/ChangeLog
64 release: dist
65         list='$(DIST_ARCHIVES)'; for i in $$list; do \
66                 gpg -s $$i;\
67                 rm $$i;\
68         done