~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/archive/plugin.am

  • Committer: Monty Taylor
  • Date: 2009-04-25 20:29:54 UTC
  • mto: (997.2.5 mordred)
  • mto: This revision was merged to the branch mainline in revision 1003.
  • Revision ID: mordred@inaugust.com-20090425202954-slopmkjj7vxal5lk
Migrated archive.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
# along with this program; if not, write to the Free Software
14
14
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
15
15
 
16
 
LDADD = $(LIBINTL) $(LTLIBZ)
17
 
 
18
 
noinst_HEADERS =        ha_archive.h azio.h
19
 
noinst_PROGRAMS =       archive_test archive_reader archive_performance concurrency_test
20
 
 
21
 
EXTRA_LTLIBRARIES =     ha_archive.la
22
 
pkglib_LTLIBRARIES =    @plugin_archive_shared_target@
23
 
ha_archive_la_LDFLAGS = -module -avoid-version -rpath $(pkgplugindir) $(LDADD)
24
 
ha_archive_la_CXXFLAGS= $(AM_CXXFLAGS) -DDRIZZLE_DYNAMIC_PLUGIN
25
 
ha_archive_la_CFLAGS =  $(AM_CFLAGS) -DDRIZZLE_DYNAMIC_PLUGIN 
26
 
ha_archive_la_SOURCES = ha_archive.cc azio.cc
27
 
 
28
 
 
29
 
EXTRA_LIBRARIES =       libarchive.a
30
 
noinst_LIBRARIES =      @plugin_archive_static_target@
31
 
libarchive_a_CXXFLAGS = $(AM_CXXFLAGS) 
32
 
libarchive_a_CFLAGS =   $(AM_CFLAGS) 
33
 
libarchive_a_SOURCES =  ha_archive.cc azio.cc
34
 
 
35
 
archive_performance_SOURCES =   archive_performance.cc azio.cc
36
 
archive_performance_CFLAGS =    $(AM_CFLAGS) 
37
 
archive_performance_LDADD =     $(top_builddir)/mysys/libmysys.la \
38
 
                        $(top_builddir)/mystrings/libmystrings.la \
39
 
                        $(LDADD)
40
 
archive_performance_LDFLAGS =
41
 
 
42
 
archive_test_SOURCES =  archive_test.cc azio.cc
43
 
archive_test_CFLAGS =   $(AM_CFLAGS) 
44
 
archive_test_LDADD =    $(top_builddir)/mysys/libmysys.la \
45
 
                        $(top_builddir)/mystrings/libmystrings.la \
46
 
                        $(LDADD)
47
 
archive_test_LDFLAGS =
48
 
 
49
 
archive_reader_SOURCES = archive_reader.cc azio.cc
50
 
archive_reader_CFLAGS = $(AM_CFLAGS) 
51
 
archive_reader_LDADD =  $(top_builddir)/mysys/libmysys.la \
52
 
                        $(top_builddir)/mystrings/libmystrings.la \
53
 
                        $(LDADD)
54
 
archive_reader_LDFLAGS =
55
 
 
56
 
concurrency_test_SOURCES = concurrency_test.cc azio.cc
57
 
concurrency_test_CFLAGS =       $(AM_CFLAGS) 
58
 
concurrency_test_LDADD =        $(top_builddir)/mysys/libmysys.la \
59
 
                        $(top_builddir)/mystrings/libmystrings.la \
60
 
                        $(LDADD)
61
 
concurrency_test_LDFLAGS =
62
 
 
63
 
valgrind-test: archive_test archive_performance
64
 
        libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes  ./concurrency_test
65
 
        libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes  ./archive_test
 
16
test_archive_LDADD = $(LIBINTL) $(LTLIBZ) \
 
17
                $(top_builddir)/plugin/libarchive_plugin.la \
 
18
                $(top_builddir)/mysys/libmysys.la \
 
19
                $(top_builddir)/mystrings/libmystrings.la \
 
20
                $(LDADD)
 
21
 
 
22
noinst_HEADERS+=        plugin/archive/ha_archive.h plugin/archive/azio.h
 
23
noinst_PROGRAMS+= \
 
24
                plugin/archive/archive_test \
 
25
                plugin/archive/archive_reader \
 
26
                plugin/archive/archive_performance \
 
27
                plugin/archive/concurrency_test
 
28
 
 
29
plugin_archive_archive_performance_SOURCES= plugin/archive/archive_performance.cc
 
30
plugin_archive_archive_performance_LDADD= $(test_archive_LDADD)
 
31
 
 
32
plugin_archive_archive_test_SOURCES= plugin/archive/archive_test.cc 
 
33
plugin_archive_archive_test_LDADD= $(test_archive_LDADD)
 
34
 
 
35
plugin_archive_archive_reader_SOURCES= plugin/archive/archive_reader.cc
 
36
plugin_archive_archive_reader_LDADD= $(test_archive_LDADD)
 
37
 
 
38
plugin_archive_concurrency_test_SOURCES= plugin/archive/concurrency_test.cc
 
39
plugin_archive_concurrency_test_LDADD= $(test_archive_LDADD)
 
40
 
 
41
valgrind-test: plugin/archive/archive_test plugin/archive/archive_performance plugin/archive/concurrency_test
 
42
        libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes  ./plugin/archive/concurrency_test
 
43
        libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes  ./plugin/archive/archive_test
66
44
        libtool --mode=execute valgrind --leak-check=yes --show-reachable=yes  ./archive_performance
67
 
 
68
 
EXTRA_DIST =            plug.in