Files
osmo-hnodeb/Makefile.am
Pau Espin Pedrol 243ccbafd6 Add project skeleton
This commit contains all the relevant project structure to build the
osmo-hnodeb binary, its doc, tests, packaging, etc.

The osmo-hnodeb binary itself is still just an empty main().

Related: SYS#5516
Change-Id: I6ae3215ae4b956689d2adc88db7c3ead5df14f37
2021-10-21 13:48:46 +02:00

37 lines
814 B
Makefile

AUTOMAKE_OPTIONS = foreign dist-bzip2 1.6
## FIXME: automake >= 1.13 or autoconf >= 2.70 provide better suited AC_CONFIG_MACRO_DIRS for configure.ac
## remove line below when OE toolchain is updated to version which include those
ACLOCAL_AMFLAGS = -I m4
AM_CPPFLAGS = \
$(all_includes) \
-I$(top_srcdir)/include \
$(NULL)
SUBDIRS = \
include \
src \
tests \
doc \
contrib \
$(NULL)
BUILT_SOURCES = $(top_srcdir)/.version
EXTRA_DIST = \
.version \
contrib/osmo-hnodeb.spec.in \
debian \
git-version-gen \
osmoappdesc.py \
$(NULL)
AM_DISTCHECK_CONFIGURE_FLAGS = \
--with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir)
@RELMAKE@
$(top_srcdir)/.version:
echo $(VERSION) > $@-t && mv $@-t $@
dist-hook:
echo $(VERSION) > $(distdir)/.tarball-version