icinga2/components/db_ido_mysql/Makefile.am

48 lines
1020 B
Makefile
Raw Normal View History

## Process this file with automake to produce Makefile.in
if MYSQL_USE
pkglib_LTLIBRARIES = \
2013-09-25 10:41:59 +02:00
libdb_ido_mysql.la
2013-08-29 08:37:31 +02:00
CLEANFILES = \
2013-09-25 10:41:59 +02:00
db_ido_mysql-type.cpp
2013-08-29 08:21:07 +02:00
.conf.cpp: $(top_builddir)/tools/mkembedconfig/mkembedconfig
$(top_builddir)/tools/mkembedconfig/mkembedconfig $< $@
2013-09-25 10:41:59 +02:00
libdb_ido_mysql_la_SOURCES = \
db_ido_mysql-type.conf \
idomysqlconnection.cpp \
idomysqlconnection.h
2013-09-25 10:41:59 +02:00
libdb_ido_mysql_la_CPPFLAGS = \
$(LTDLINCL) \
$(BOOST_CPPFLAGS) \
2013-07-17 11:29:51 +02:00
$(MYSQL_CFLAGS) \
-I${top_srcdir}/lib \
-I${top_srcdir}/components
2013-09-25 10:41:59 +02:00
libdb_ido_mysql_la_LDFLAGS = \
$(BOOST_LDFLAGS) \
$(MYSQLR_LDFLAGS) \
-module \
-no-undefined \
@RELEASE_INFO@ \
@VERSION_INFO@
2013-09-25 10:41:59 +02:00
libdb_ido_mysql_la_LIBADD = \
$(BOOST_SIGNALS_LIB) \
$(BOOST_THREAD_LIB) \
$(BOOST_SYSTEM_LIB) \
${top_builddir}/lib/base/libbase.la \
${top_builddir}/lib/config/libconfig.la \
${top_builddir}/lib/icinga/libicinga.la \
2013-09-25 10:41:59 +02:00
${top_builddir}/lib/db_ido/libdb_ido.la
else
all-local:
@echo 'MySQL not enabled. Install libs/headers and rerun configure/make.'
endif