summaryrefslogtreecommitdiff
path: root/plugin/audit_null/Makefile.am
blob: 4408c3f7c470bacc05f4ca83561185ef97201df9 (plain)
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
# Copyright (C) 2007 MySQL AB
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

#Makefile.am example for a plugin

pkgplugindir=		$(pkglibdir)/plugin

AM_CPPFLAGS =		-I$(top_srcdir)/include

EXTRA_LTLIBRARIES=	adt_null.la
pkgplugin_LTLIBRARIES=	@plugin_audit_null_shared_target@
adt_null_la_LDFLAGS=	-module -rpath $(pkgplugindir)
adt_null_la_CPPFLAGS=	$(AM_CPPFLAGS) -DMYSQL_DYNAMIC_PLUGIN
adt_null_la_SOURCES=	audit_null.c

EXTRA_LIBRARIES=	libadtnull.a
noinst_LIBRARIES=	@plugin_audit_null_static_target@
libadtnull_a_SOURCES=	audit_null.c

EXTRA_DIST=		plug.in CMakeLists.txt