-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathMakefile.am
56 lines (37 loc) · 1.75 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
## Copyright 2012-2013 Mo McRoberts.
##
## Licensed under the Apache License, Version 2.0 (the "License");
## you may not use this file except in compliance with the License.
## You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
##
## Unless required by applicable law or agreed to in writing, software
## distributed under the License is distributed on an "AS IS" BASIS,
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
## See the License for the specific language governing permissions and
## limitations under the License.
ACLOCAL_AMFLAGS = -I m4
DIST_SUBDIRS = m4 libedit mysql
SUBDIRS = @subdirs@ @ENGINE_SUBDIRS@ .
DISTCLEANFILES = libsql.pc libsql-uninstalled.pc
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libsql.pc
lib_LTLIBRARIES = libsql.la
bin_PROGRAMS = isql
noinst_DATA = mysql-darwin-fixups-stamp
include_HEADERS = libsql.h
noinst_HEADERS = libsql-engine.h
libsql_la_SOURCES = p_libsql.h \
engine.c connect.c error.c statement.c field.c defaults.c vasprintf.c schema.c
libsql_la_LIBADD = @ENGINE_LIBS@ @LOCAL_LIBS@
EXTRA_libsql_la_DEPENDENCIES = @ENGINE_LIBS@ @LOCAL_LIBS@
libsql_la_LDFLAGS = -avoid-version
isql_SOURCES = isql.c
isql_LDADD = libsql.la @LIBEDIT_LIBS@ @LIBEDIT_LOCAL_LIBS@
mysql-darwin-fixups-stamp: isql libsql.la
if test x"${mysql_darwin_fixups}" = x"yes" ; then \
install_name_tool -change libmysqlclient_r.18.dylib ${MYSQL_LIBDIR}/libmysqlclient_r.18.dylib -change libmysqlclient.18.dylib ${MYSQL_LIBDIR}/libmysqlclient.18.dylib .libs/libsql.dylib ; \
install_name_tool -change libmysqlclient_r.18.dylib ${MYSQL_LIBDIR}/libmysqlclient_r.18.dylib -change libmysqlclient.18.dylib ${MYSQL_LIBDIR}/libmysqlclient.18.dylib .libs/isql ; \
fi
touch $@