~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle/Makefile.am

  • Committer: Stewart Smith
  • Date: 2008-09-19 19:09:47 UTC
  • mfrom: (395 codestyle)
  • mto: This revision was merged to the branch mainline in revision 408.
  • Revision ID: stewart@flamingspork.com-20080919190947-k2zj7tlljvr39yiq
mreg

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2000-2004 MySQL AB
 
1
# Copyright (C) 2008 Sun Microsystems, Inc.
2
2
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of version 2 GNU General Public License as
13
13
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14
14
# Library General Public License for more details.
15
15
16
 
# You should have received a copy of the GNU Library General Public
17
 
# License along with this library; if not, write to the Free
18
 
# Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
19
 
# MA 02111-1307, USA
20
 
#
21
 
# This file is public domain and comes with NO WARRANTY of any kind
 
16
# You should have received a copy of the GNU General Public License
 
17
# along with this program; if not, write to the Free Software
 
18
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
19
 
 
20
 
22
21
 
23
22
MYSQLDATAdir =                  $(localstatedir)
24
23
MYSQLSHAREdir =                 $(pkgdatadir)
25
24
MYSQLBASEdir=                   $(prefix)
26
25
 
27
26
libdrizzleincludedir = ${includedir}/libdrizzle
28
 
dist_libdrizzleinclude_HEADERS =        drizzle.h \
 
27
dist_libdrizzleinclude_HEADERS =        libdrizzle.h \
29
28
                                        drizzle_com.h \
30
29
                                        errmsg.h \
31
 
                                        sql_common.h
 
30
                                        net_serv.h \
 
31
                                        sql_common.h \
 
32
                                        drizzle.h \
 
33
                                        drizzle_res.h \
 
34
                                        drizzle_field.h \
 
35
                                        drizzle_rows.h \
 
36
                                        drizzle_methods.h \
 
37
                                        drizzle_data.h \
 
38
                                        drizzle_options.h \
 
39
                                        drizzle_parameters.h
32
40
 
33
41
lib_LTLIBRARIES = libdrizzle.la
34
 
libdrizzle_la_SOURCES = libdrizzle.c client.c local_infile.c net_serv.c get_password.c
35
 
libdrizzle_la_LIBADD =  ${sql_cmn_objects} ${sqlobjects} \
36
 
                        ${top_builddir}/mysys/libmysys.la \
37
 
                        ${top_builddir}/mystrings/libmystrings.la \
38
 
                        libsqlcommon.la \
39
 
                        ${top_builddir}/vio/libviolt.la 
 
42
libdrizzle_la_SOURCES = client.c \
 
43
                        drizzle.c \
 
44
                        drizzle_data.c \
 
45
                        errmsg.c \
 
46
                        get_password.c \
 
47
                        libdrizzle.c \
 
48
                        libdrizzle_priv.c \
 
49
                        local_infile.c \
 
50
                        net_serv.c \
 
51
                        pack.c \
 
52
                        password.c
 
53
 
 
54
libdrizzle_la_LIBADD =  ${top_builddir}/vio/libviolt.la 
40
55
libdrizzle_la_LDFLAGS = -version-info @SHARED_LIB_VERSION@ @LD_VERSION_SCRIPT@ 
41
56
 
42
 
noinst_LTLIBRARIES = libsqlcommon.la
43
 
libsqlcommon_la_SOURCES = pack.c errmsg.c password.c
44
 
 
45
57
DEFS =                  -DDEFAULT_CHARSET_HOME="\"$(MYSQLBASEdir)\"" \
46
58
                        -DDATADIR="\"$(MYSQLDATAdir)\"" \
47
59
                        -DDEFAULT_HOME_ENV=DRIZZLE_HOME \
50
62
                        -DSHAREDIR="\"$(MYSQLSHAREdir)\"" \
51
63
                        -DUNDEF_THREADS_HACK
52
64
 
53
 
noinst_HEADERS =        client_settings.h \
54
 
                        gettext.h
 
65
noinst_HEADERS =        gettext.h \
 
66
                        libdrizzle_priv.h \
 
67
                        local_infile.h
55
68
 
56
69
EXTRA_DIST =            libdrizzle.ver
57
70
CLEANFILES =            $(target_libadd) $(SHLIBOBJS) \