blob: 3a9471136a70ab23ba14880cb92f244e611ad3c3 [file] [log] [blame]
Harald Weltede729a12008-12-23 21:01:25 +00001AUTOMAKE_OPTIONS = foreign dist-bzip2 1.6
2
Maxd09b26d2017-02-06 14:14:28 +01003## FIXME: automake >= 1.13 or autoconf >= 2.70 provide better suited AC_CONFIG_MACRO_DIRS for configure.ac
4## remove line below when OE toolchain is updated to version which include those
5ACLOCAL_AMFLAGS = -I m4
Alexander Huemer7b6673f2016-09-09 00:43:15 +02006AM_CPPFLAGS = \
7 $(all_includes) \
8 -I$(top_srcdir)/include \
9 $(NULL)
10
11SUBDIRS = \
12 doc \
13 include \
14 src \
15 tests \
Neels Hofmeyrffebe6e2017-07-20 17:57:37 +020016 contrib \
Alexander Huemer7b6673f2016-09-09 00:43:15 +020017 $(NULL)
Harald Weltede729a12008-12-23 21:01:25 +000018
Holger Freytherc7aa3c42009-06-08 10:32:39 +000019pkgconfigdir = $(libdir)/pkgconfig
Neels Hofmeyr97df6912017-09-03 23:52:51 +020020pkgconfig_DATA = \
Neels Hofmeyr97df6912017-09-03 23:52:51 +020021 libosmo-mgcp-client.pc \
22 $(NULL)
Holger Freytherc7aa3c42009-06-08 10:32:39 +000023
Harald Welte5a29c7f2010-03-23 00:09:32 +080024BUILT_SOURCES = $(top_srcdir)/.version
Andreas Rottmann4bb3fcc2015-06-16 23:23:30 +020025EXTRA_DIST = git-version-gen osmoappdesc.py .version
Max58cfd252017-08-28 12:04:18 +020026
Oliver Smith82c1d1e2018-12-04 15:36:37 +010027AM_DISTCHECK_CONFIGURE_FLAGS = \
Pau Espin Pedrole6866752018-09-10 12:46:47 +020028 --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir)
29
Max58cfd252017-08-28 12:04:18 +020030@RELMAKE@
31
Harald Welte5a29c7f2010-03-23 00:09:32 +080032$(top_srcdir)/.version:
33 echo $(VERSION) > $@-t && mv $@-t $@
34dist-hook:
35 echo $(VERSION) > $(distdir)/.tarball-version