blob: 4452f0428bf350100762474897762780e28326cf [file] [log] [blame]
Neels Hofmeyr103b69d2021-11-23 14:18:44 +01001AUTOMAKE_OPTIONS = foreign dist-bzip2 1.6
2
3## 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
6AM_CPPFLAGS = \
7 $(all_includes) \
8 -I$(top_srcdir)/include \
9 $(NULL)
10
11SUBDIRS = \
12 include \
13 src \
14 tests \
15 doc \
16 contrib \
17 $(NULL)
18
19BUILT_SOURCES = $(top_srcdir)/.version
20EXTRA_DIST = \
21 .version \
22 contrib/osmo-upf.spec.in \
23 debian \
24 git-version-gen \
25 osmoappdesc.py \
26 $(NULL)
27
28AM_DISTCHECK_CONFIGURE_FLAGS = \
29 --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir)
30
31@RELMAKE@
32
33$(top_srcdir)/.version:
34 echo $(VERSION) > $@-t && mv $@-t $@
35dist-hook:
36 echo $(VERSION) > $(distdir)/.tarball-version