~drizzle-trunk/drizzle/development

2449.1.1 by Brian Aker
This fixes the race condition on pkg, as well as the php client compile failure.
1
# vim:ft=automake
1712.1.1 by Monty Taylor
Merged libdrizzle directly into tree.
2
#
3
# Drizzle Client Library
4
#
5
# Copyright (C) 2008 Eric Day (eday@oddments.org)
6
# All rights reserved.
7
#
1999.6.1 by kalebral at gmail
update Copyright strings to a more common format to help with creating the master debian copyright file
8
# Redistribution and use in source and binary forms, with or without
9
# modification, are permitted provided that the following conditions are
10
# met:
11
#
12
#     * Redistributions of source code must retain the above copyright
13
# notice, this list of conditions and the following disclaimer.
14
#
15
#     * Redistributions in binary form must reproduce the above
16
# copyright notice, this list of conditions and the following disclaimer
17
# in the documentation and/or other materials provided with the
18
# distribution.
19
#
20
#     * The names of its contributors may not be used to endorse or
21
# promote products derived from this software without specific prior
22
# written permission.
23
#
24
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
25
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
26
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
27
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
28
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
29
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
30
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
31
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
32
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
33
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
34
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1712.1.1 by Monty Taylor
Merged libdrizzle directly into tree.
35
#
36
2259.1.1 by Monty Taylor
Finish the transition to libdrizzle-2.0 libs (after discussion with derks
37
lib_LTLIBRARIES+= libdrizzle-1.0/libdrizzle/libdrizzle.la
2244.1.1 by Monty Taylor
Split libdrizzle into 1.0 and 2.0. Applied the C++ changes to 2.0 branch.
38
39
libdrizzle_1_0_libdrizzle_libdrizzle_la_CFLAGS= \
2449.1.1 by Brian Aker
This fixes the race condition on pkg, as well as the php client compile failure.
40
						${AM_CFLAGS} \
41
						${OLDLIBDRIZZLE_CPPFLAGS} \
42
						${CFLAG_VISIBILITY} \
43
						-DBUILDING_LIBDRIZZLE
1712.1.1 by Monty Taylor
Merged libdrizzle directly into tree.
44
2244.1.1 by Monty Taylor
Split libdrizzle into 1.0 and 2.0. Applied the C++ changes to 2.0 branch.
45
libdrizzle_1_0_libdrizzle_libdrizzle_la_LDFLAGS= \
2449.1.1 by Brian Aker
This fixes the race condition on pkg, as well as the php client compile failure.
46
						 $(AM_LDFLAGS) \
47
						 $(GCOV_LIBS) \
48
						 -version-info \
49
						 $(OLDLIBDRIZZLE_LIBRARY_VERSION)
2244.1.1 by Monty Taylor
Split libdrizzle into 1.0 and 2.0. Applied the C++ changes to 2.0 branch.
50
51
libdrizzle_1_0_libdrizzle_libdrizzle_la_SOURCES= \
2449.1.1 by Brian Aker
This fixes the race condition on pkg, as well as the php client compile failure.
52
						 libdrizzle-1.0/libdrizzle/column.c \
53
						 libdrizzle-1.0/libdrizzle/command.c \
54
						 libdrizzle-1.0/libdrizzle/conn.c \
55
						 libdrizzle-1.0/libdrizzle/conn_uds.c \
56
						 libdrizzle-1.0/libdrizzle/drizzle.c \
57
						 libdrizzle-1.0/libdrizzle/field.c \
58
						 libdrizzle-1.0/libdrizzle/handshake.c \
59
						 libdrizzle-1.0/libdrizzle/pack.c \
60
						 libdrizzle-1.0/libdrizzle/query.c \
61
						 libdrizzle-1.0/libdrizzle/result.c \
62
						 libdrizzle-1.0/libdrizzle/row.c \
63
						 libdrizzle-1.0/libdrizzle/sha1.c \
64
						 libdrizzle-1.0/libdrizzle/state.c
2244.1.1 by Monty Taylor
Split libdrizzle into 1.0 and 2.0. Applied the C++ changes to 2.0 branch.
65
66
dist_oldlibdrizzleinstall_HEADERS= \
2449.1.1 by Brian Aker
This fixes the race condition on pkg, as well as the php client compile failure.
67
				   libdrizzle-1.0/libdrizzle/column.h \
68
				   libdrizzle-1.0/libdrizzle/column_client.h \
69
				   libdrizzle-1.0/libdrizzle/column_server.h \
70
				   libdrizzle-1.0/libdrizzle/command_client.h \
71
				   libdrizzle-1.0/libdrizzle/command_server.h \
72
				   libdrizzle-1.0/libdrizzle/conn.h \
73
				   libdrizzle-1.0/libdrizzle/conn_client.h \
74
				   libdrizzle-1.0/libdrizzle/conn_server.h \
75
				   libdrizzle-1.0/libdrizzle/constants.h \
76
				   libdrizzle-1.0/libdrizzle/drizzle.h \
77
				   libdrizzle-1.0/libdrizzle/drizzle_client.h \
78
				   libdrizzle-1.0/libdrizzle/drizzle_server.h \
79
				   libdrizzle-1.0/libdrizzle/field_client.h \
80
				   libdrizzle-1.0/libdrizzle/field_server.h \
81
				   libdrizzle-1.0/libdrizzle/handshake_client.h \
82
				   libdrizzle-1.0/libdrizzle/handshake_server.h \
83
				   libdrizzle-1.0/libdrizzle/libdrizzle.h \
84
				   libdrizzle-1.0/libdrizzle/query.h \
85
				   libdrizzle-1.0/libdrizzle/result.h \
86
				   libdrizzle-1.0/libdrizzle/result_client.h \
87
				   libdrizzle-1.0/libdrizzle/result_server.h \
88
				   libdrizzle-1.0/libdrizzle/row_client.h \
89
				   libdrizzle-1.0/libdrizzle/row_server.h \
90
				   libdrizzle-1.0/libdrizzle/structs.h \
91
				   libdrizzle-1.0/libdrizzle/visibility.h
1712.1.1 by Monty Taylor
Merged libdrizzle directly into tree.
92
93
noinst_HEADERS+= \
2449.1.1 by Brian Aker
This fixes the race condition on pkg, as well as the php client compile failure.
94
		 libdrizzle-1.0/libdrizzle/common.h \
95
		 libdrizzle-1.0/libdrizzle/drizzle_local.h \
96
		 libdrizzle-1.0/libdrizzle/conn_local.h \
97
		 libdrizzle-1.0/libdrizzle/pack.h \
98
		 libdrizzle-1.0/libdrizzle/state.h \
99
		 libdrizzle-1.0/libdrizzle/sha1.h
2244.1.1 by Monty Taylor
Split libdrizzle into 1.0 and 2.0. Applied the C++ changes to 2.0 branch.
100
101
libdrizzle-1.0: libdrizzle-1.0/libdrizzle/libdrizzle.la
2449.1.1 by Brian Aker
This fixes the race condition on pkg, as well as the php client compile failure.
102
install-libdrizzle-1.0: libdrizzle-1.0 install-dist_oldlibdrizzleinstallHEADERS
2259.1.1 by Monty Taylor
Finish the transition to libdrizzle-2.0 libs (after discussion with derks
103
	test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
104
	echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) libdrizzle-1.0/libdrizzle/libdrizzle.la '$(DESTDIR)$(libdir)'";
105
	$(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) libdrizzle-1.0/libdrizzle/libdrizzle.la "$(DESTDIR)$(libdir)";
106