2010-03-22 16:30:19 +00:00
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
2010-02-20 20:09:24 +00:00
|
|
|
|
2012-01-17 17:25:50 +00:00
|
|
|
AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include
|
2018-09-28 23:41:58 +00:00
|
|
|
SUBDIRS = include src src/vty src/codec src/gsm src/coding src/gb src/ctrl src/sim src/pseudotalloc utils tests
|
2010-02-20 20:09:24 +00:00
|
|
|
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
2012-06-17 15:05:26 +00:00
|
|
|
pkgconfig_DATA = libosmocore.pc libosmocodec.pc libosmovty.pc libosmogsm.pc \
|
2018-02-10 16:48:09 +00:00
|
|
|
libosmogb.pc libosmoctrl.pc libosmocoding.pc libosmosim.pc
|
2010-03-22 16:30:19 +00:00
|
|
|
|
2017-07-04 16:19:38 +00:00
|
|
|
@RELMAKE@
|
|
|
|
|
|
|
|
relengdir = $(includedir)
|
|
|
|
releng_DATA = osmo-release.mk
|
|
|
|
|
2017-10-03 08:54:41 +00:00
|
|
|
dist_bin_SCRIPTS = osmo-release.sh
|
|
|
|
|
2017-07-04 16:19:38 +00:00
|
|
|
osmo-release.mk: git-version-gen
|
|
|
|
|
2010-03-22 16:30:19 +00:00
|
|
|
BUILT_SOURCES = $(top_srcdir)/.version
|
|
|
|
$(top_srcdir)/.version:
|
|
|
|
echo $(VERSION) > $@-t && mv $@-t $@
|
|
|
|
dist-hook:
|
|
|
|
echo $(VERSION) > $(distdir)/.tarball-version
|
2011-07-17 10:13:31 +00:00
|
|
|
|
2017-10-03 08:54:41 +00:00
|
|
|
EXTRA_DIST = git-version-gen .version README.md osmo-release.mk osmo-release.sh
|
2011-08-17 17:33:06 +00:00
|
|
|
|
|
|
|
if HAVE_DOXYGEN
|
|
|
|
|
2012-06-29 20:01:26 +00:00
|
|
|
html_DATA = $(top_builddir)/doc/html.tar
|
2011-08-17 17:33:06 +00:00
|
|
|
|
2017-06-20 00:52:38 +00:00
|
|
|
doc: $(html_DATA)
|
|
|
|
|
2012-06-29 20:01:26 +00:00
|
|
|
$(html_DATA): $(top_builddir)/doc/core/html/index.html \
|
2011-08-17 17:33:06 +00:00
|
|
|
$(top_builddir)/doc/gsm/html/index.html \
|
|
|
|
$(top_builddir)/doc/vty/html/index.html \
|
2016-09-22 18:48:59 +00:00
|
|
|
$(top_builddir)/doc/codec/html/index.html \
|
2017-06-20 00:52:38 +00:00
|
|
|
$(top_builddir)/doc/coding/html/index.html \
|
2018-05-26 15:25:11 +00:00
|
|
|
$(top_builddir)/doc/ctrl/html/index.html \
|
2017-06-20 00:52:38 +00:00
|
|
|
$(top_builddir)/doc/gb/html/index.html
|
2011-08-17 17:37:26 +00:00
|
|
|
cd $(top_builddir)/doc && tar cf html.tar */html
|
2011-08-17 17:33:06 +00:00
|
|
|
|
2011-08-20 10:54:17 +00:00
|
|
|
$(top_builddir)/doc/core/html/index.html: $(SOURCES) Doxyfile.core
|
2011-08-20 10:17:02 +00:00
|
|
|
@rm -rf doc/core
|
2011-08-17 17:41:49 +00:00
|
|
|
mkdir -p doc/core
|
2011-08-20 10:54:17 +00:00
|
|
|
$(DOXYGEN) Doxyfile.core
|
2011-08-17 17:33:06 +00:00
|
|
|
|
|
|
|
$(top_builddir)/doc/gsm/html/index.html: $(SOURCES) Doxyfile.gsm
|
2011-08-20 10:17:02 +00:00
|
|
|
@rm -rf doc/gsm
|
2011-08-17 17:41:49 +00:00
|
|
|
mkdir -p doc/gsm
|
2011-08-17 17:33:06 +00:00
|
|
|
$(DOXYGEN) Doxyfile.gsm
|
|
|
|
|
|
|
|
$(top_builddir)/doc/vty/html/index.html: $(SOURCES) Doxyfile.vty
|
2011-11-18 22:14:24 +00:00
|
|
|
@rm -rf doc/vty/{html,latex}
|
2011-08-17 17:33:06 +00:00
|
|
|
$(DOXYGEN) Doxyfile.vty
|
|
|
|
|
|
|
|
$(top_builddir)/doc/codec/html/index.html: $(SOURCES) Doxyfile.codec
|
2011-08-20 10:17:02 +00:00
|
|
|
@rm -rf doc/codec
|
2011-08-17 17:41:49 +00:00
|
|
|
mkdir -p doc/codec
|
2011-08-17 17:33:06 +00:00
|
|
|
$(DOXYGEN) Doxyfile.codec
|
|
|
|
|
2016-09-22 18:48:59 +00:00
|
|
|
$(top_builddir)/doc/coding/html/index.html: Doxyfile.coding
|
|
|
|
@rm -rf doc/coding
|
|
|
|
mkdir -p doc/coding
|
|
|
|
$(DOXYGEN) Doxyfile.coding
|
|
|
|
|
2018-05-26 15:25:11 +00:00
|
|
|
$(top_builddir)/doc/ctrl/html/index.html: $(SOURCES) Doxyfile.ctrl
|
|
|
|
@rm -rf doc/ctrl
|
|
|
|
mkdir -p doc/ctrl
|
|
|
|
$(DOXYGEN) Doxyfile.ctrl
|
|
|
|
|
2017-06-20 00:52:38 +00:00
|
|
|
$(top_builddir)/doc/gb/html/index.html: $(SOURCES) Doxyfile.gb
|
|
|
|
@rm -rf doc/gb
|
|
|
|
mkdir -p doc/gb
|
|
|
|
$(DOXYGEN) Doxyfile.gb
|
|
|
|
|
2011-08-17 17:33:06 +00:00
|
|
|
install-data-hook:
|
2012-06-29 20:01:26 +00:00
|
|
|
cd $(DESTDIR)$(htmldir) && tar xf html.tar && rm -f html.tar
|
2011-08-17 17:33:06 +00:00
|
|
|
|
|
|
|
uninstall-hook:
|
2018-05-26 15:25:11 +00:00
|
|
|
cd $(DESTDIR)$(htmldir) && rm -rf {core,gsm,vty,codec,coding,ctrl,gb}
|
2011-08-17 17:33:06 +00:00
|
|
|
|
2018-05-26 15:25:11 +00:00
|
|
|
DX_CLEAN = doc/{core,gsm,vty,codec,coding,ctrl,gb}/html/search/* doc/{core,gsm,vty,codec,coding,ctrl,gb}/{html,latex}/* doc/html.tar doc/{core,gsm,vty,codec,coding,ctrl,gb}/doxygen_sqlite3.db doc/*.tag
|
2011-08-17 17:33:06 +00:00
|
|
|
endif
|
2011-08-20 11:00:37 +00:00
|
|
|
|
|
|
|
MOSTLYCLEANFILES = $(DX_CLEAN)
|