blob: 9fffd21b97aa26a9875cfae7a7b1fcd16493228e [file] [log] [blame]
Harald Welte2b944cf2008-12-23 21:01:25 +00001AUTOMAKE_OPTIONS = foreign dist-bzip2 1.6
2
Max880a2962017-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 Huemer7477d712016-09-09 00:43:15 +02006AM_CPPFLAGS = \
7 $(all_includes) \
8 -I$(top_srcdir)/include \
9 $(NULL)
10
11SUBDIRS = \
Alexander Huemer7477d712016-09-09 00:43:15 +020012 include \
13 src \
Harald Welte936dfd72021-01-31 19:36:06 +010014 doc \
Pau Espin Pedrol6a127332018-09-10 12:40:56 +020015 contrib \
Alexander Huemer7477d712016-09-09 00:43:15 +020016 tests \
17 $(NULL)
Harald Welte2b944cf2008-12-23 21:01:25 +000018
Harald Weltefa13cad2010-03-23 00:09:32 +080019BUILT_SOURCES = $(top_srcdir)/.version
Oliver Smithaea9d6f2020-05-22 13:45:48 +020020EXTRA_DIST = \
21 .version \
Oliver Smithaea9d6f2020-05-22 13:45:48 +020022 debian \
23 git-version-gen \
24 osmoappdesc.py \
25 $(NULL)
Max938cf562017-08-28 12:04:18 +020026
Oliver Smith0abeea22018-12-04 15:34:16 +010027AM_DISTCHECK_CONFIGURE_FLAGS = \
Pau Espin Pedrol6a127332018-09-10 12:40:56 +020028 --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir)
29
Max938cf562017-08-28 12:04:18 +020030@RELMAKE@
31
Harald Weltefa13cad2010-03-23 00:09:32 +080032$(top_srcdir)/.version:
33 echo $(VERSION) > $@-t && mv $@-t $@
34dist-hook:
35 echo $(VERSION) > $(distdir)/.tarball-version