2011-10-03 20:09:45 +00:00
|
|
|
AUTOMAKE_OPTIONS = foreign dist-bzip2 1.6
|
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
|
2013-05-23 17:58:28 +00:00
|
|
|
SUBDIRS = include src examples tests
|
2011-10-03 20:09:45 +00:00
|
|
|
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
2012-02-23 18:43:33 +00:00
|
|
|
pkgconfig_DATA = libosmo-netif.pc
|
2011-10-03 20:09:45 +00:00
|
|
|
|
2020-05-22 11:29:50 +00:00
|
|
|
EXTRA_DIST = \
|
|
|
|
.version \
|
|
|
|
README.md \
|
|
|
|
contrib/libosmo-netif.spec.in \
|
|
|
|
debian \
|
|
|
|
$(NULL)
|
2015-05-17 18:06:44 +00:00
|
|
|
|
2017-08-28 09:45:37 +00:00
|
|
|
@RELMAKE@
|
|
|
|
|
2011-10-03 20:09:45 +00:00
|
|
|
BUILT_SOURCES = $(top_srcdir)/.version
|
|
|
|
$(top_srcdir)/.version:
|
|
|
|
echo $(VERSION) > $@-t && mv $@-t $@
|
|
|
|
dist-hook:
|
|
|
|
echo $(VERSION) > $(distdir)/.tarball-version
|
2017-04-08 17:48:05 +00:00
|
|
|
|
|
|
|
|
|
|
|
if HAVE_DOXYGEN
|
|
|
|
|
|
|
|
html_DATA = $(top_builddir)/doc/html.tar
|
|
|
|
|
|
|
|
$(html_DATA): $(top_builddir)/doc/html/index.html
|
|
|
|
cd $(top_builddir)/doc && tar cf html.tar html
|
|
|
|
|
|
|
|
$(top_builddir)/doc/html/index.html: $(SOURCES) Doxyfile
|
|
|
|
@rm -rf doc
|
|
|
|
mkdir -p doc
|
|
|
|
$(DOXYGEN) Doxyfile
|
|
|
|
|
|
|
|
install-data-hook:
|
|
|
|
cd $(DESTDIR)$(htmldir) && tar xf html.tar && rm -f html.tar
|
|
|
|
|
|
|
|
uninstall-hook:
|
|
|
|
rm -rf $(DESTDIR)$(htmldir)
|
|
|
|
|
|
|
|
DX_CLEAN = doc/html/search/* doc/{html,latex}/* doc/html.tar doc/doxygen_sqlite3.db doc/*.tag
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
MOSTLYCLEANFILES = $(DX_CLEAN)
|