| 1 | AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src |
| 2 | |
| 3 | noinst_LTLIBRARIES = libconfig.la |
| 4 | |
| 5 | libconfig_la_SOURCES = ini.c ini.h session-config.c session-config.h \ |
| 6 | config-session-abi.h config-internal.h |
| 7 | libconfig_la_CPPFLAGS = $(XML_CPPFLAGS) $(AM_CPPFLAGS) |
| 8 | libconfig_la_LIBADD = $(XML_LIBS) |
| 9 | |
| 10 | xmldir = $(datadir)/xml/lttng |
| 11 | dist_xml_DATA = session.xsd |
| 12 | EXTRA_DIST = session.xsd |
| 13 | |
| 14 | all-local: |
| 15 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ |
| 16 | for script in $(EXTRA_DIST); do \ |
| 17 | cp -f $(srcdir)/$$script $(builddir); \ |
| 18 | done; \ |
| 19 | fi |
| 20 | |
| 21 | clean-local: |
| 22 | @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ |
| 23 | for script in $(EXTRA_DIST); do \ |
| 24 | rm -f $(builddir)/$$script; \ |
| 25 | done; \ |
| 26 | fi |