icinga2/components/db_ido_mysql/Makefile.am

48 lines
997 B
Makefile
Raw Normal View History

## Process this file with automake to produce Makefile.in
if MYSQL_USE
pkglib_LTLIBRARIES = \
libido_mysql.la
2013-08-29 08:37:31 +02:00
CLEANFILES = \
2013-08-29 08:21:07 +02:00
ido_mysql-type.cpp
.conf.cpp: $(top_builddir)/tools/mkembedconfig/mkembedconfig
$(top_builddir)/tools/mkembedconfig/mkembedconfig $< $@
libido_mysql_la_SOURCES = \
2013-08-29 08:37:31 +02:00
ido_mysql-type.conf \
idomysqldbconnection.cpp \
idomysqldbconnection.h
libido_mysql_la_CPPFLAGS = \
$(LTDLINCL) \
$(BOOST_CPPFLAGS) \
2013-07-17 11:29:51 +02:00
$(MYSQL_CFLAGS) \
-I${top_srcdir}/lib \
-I${top_srcdir}/components
libido_mysql_la_LDFLAGS = \
$(BOOST_LDFLAGS) \
$(MYSQLR_LDFLAGS) \
-module \
-no-undefined \
@RELEASE_INFO@ \
@VERSION_INFO@
libido_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 \
${top_builddir}/lib/ido/libido.la
else
all-local:
@echo 'MySQL not enabled. Install libs/headers and rerun configure/make.'
endif