-
Notifications
You must be signed in to change notification settings - Fork 17
/
Makefile.am
17 lines (12 loc) · 662 Bytes
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = README.md CONTRIBUTING.md installdb.sql uninstalldb.sql
lib_LTLIBRARIES = lib_mysqludf_amqp.la
lib_mysqludf_amqp_la_SOURCES = lib_mysqludf_amqp.h lib_mysqludf_amqp_info.c send.h send.c lib_mysqludf_amqp_sendjson.c lib_mysqludf_amqp_sendstring.c uuid.h uuid.c
lib_mysqludf_amqp_la_CFLAGS = -DMYSQL_SERVER @MYSQL_CFLAGS@ @RABBITMQ_CFLAGS@
lib_mysqludf_amqp_la_LDFLAGS = -module -avoid-version -no-undefined @MYSQL_LDFLAGS@ @RABBITMQ_LIBS@
installdb: uninstalldb
mysql -u root -p < ./installdb.sql;
uninstalldb:
mysql -u root -p < ./uninstalldb.sql
version:
mysql -u root -p --execute="SELECT lib_mysqludf_amqp_info();"