Harald Welte | de729a1 | 2008-12-23 21:01:25 +0000 | [diff] [blame] | 1 | AUTOMAKE_OPTIONS = foreign dist-bzip2 1.6 |
| 2 | |
Max | d09b26d | 2017-02-06 14:14:28 +0100 | [diff] [blame] | 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 |
| 5 | ACLOCAL_AMFLAGS = -I m4 |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 6 | AM_CPPFLAGS = \ |
| 7 | $(all_includes) \ |
| 8 | -I$(top_srcdir)/include \ |
| 9 | $(NULL) |
| 10 | |
| 11 | SUBDIRS = \ |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 12 | include \ |
| 13 | src \ |
Neels Hofmeyr | 458fe3d | 2020-06-19 22:57:39 +0200 | [diff] [blame] | 14 | doc \ |
Pau Espin Pedrol | f282f33 | 2018-09-10 12:55:00 +0200 | [diff] [blame] | 15 | contrib \ |
Alexander Huemer | 7b6673f | 2016-09-09 00:43:15 +0200 | [diff] [blame] | 16 | tests \ |
| 17 | $(NULL) |
Harald Welte | de729a1 | 2008-12-23 21:01:25 +0000 | [diff] [blame] | 18 | |
Harald Welte | 5a29c7f | 2010-03-23 00:09:32 +0800 | [diff] [blame] | 19 | BUILT_SOURCES = $(top_srcdir)/.version |
Oliver Smith | 2013726 | 2020-05-22 13:42:12 +0200 | [diff] [blame] | 20 | EXTRA_DIST = \ |
| 21 | .version \ |
Vadim Yanitskiy | 9d3635f | 2024-01-26 23:36:01 +0700 | [diff] [blame] | 22 | README.md \ |
Oliver Smith | 2013726 | 2020-05-22 13:42:12 +0200 | [diff] [blame] | 23 | debian \ |
| 24 | git-version-gen \ |
| 25 | osmoappdesc.py \ |
| 26 | $(NULL) |
Max | 09e2c9f | 2017-08-28 12:04:18 +0200 | [diff] [blame] | 27 | |
Oliver Smith | 9d4b5ca | 2018-12-04 15:37:37 +0100 | [diff] [blame] | 28 | AM_DISTCHECK_CONFIGURE_FLAGS = \ |
Pau Espin Pedrol | f282f33 | 2018-09-10 12:55:00 +0200 | [diff] [blame] | 29 | --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir) |
| 30 | |
Max | 09e2c9f | 2017-08-28 12:04:18 +0200 | [diff] [blame] | 31 | @RELMAKE@ |
| 32 | |
Harald Welte | 5a29c7f | 2010-03-23 00:09:32 +0800 | [diff] [blame] | 33 | $(top_srcdir)/.version: |
| 34 | echo $(VERSION) > $@-t && mv $@-t $@ |
| 35 | dist-hook: |
| 36 | echo $(VERSION) > $(distdir)/.tarball-version |