GAN/UMA: use correct IE Identifier foer T3920
[osmocom-bb.git] / Makefile.am
blob9fdb4abb7260786c7dbd75b66439d7539c67c66e
1 AUTOMAKE_OPTIONS = foreign dist-bzip2 1.6
2 ACLOCAL_AMFLAGS = -I m4
4 INCLUDES = $(all_includes) -I$(top_srcdir)/include
5 SUBDIRS = include src tests utils
7 pkgconfigdir = $(libdir)/pkgconfig
8 pkgconfig_DATA = libosmocore.pc libosmocodec.pc libosmovty.pc libosmogsm.pc \
9                  libosmogb.pc
11 BUILT_SOURCES = $(top_srcdir)/.version
12 $(top_srcdir)/.version:
13         echo $(VERSION) > $@-t && mv $@-t $@
14 dist-hook:
15         echo $(VERSION) > $(distdir)/.tarball-version
17 EXTRA_DIST = git-version-gen
19 if HAVE_DOXYGEN
21 pkgdocdir=$(docdir)/$(PACKAGE)-$(VERSION)
22 doc_htmldir=$(pkgdocdir)/html
24 doc_html_DATA = $(top_builddir)/doc/html.tar
26 $(doc_html_DATA): $(top_builddir)/doc/core/html/index.html \
27                   $(top_builddir)/doc/gsm/html/index.html \
28                   $(top_builddir)/doc/vty/html/index.html \
29                   $(top_builddir)/doc/codec/html/index.html
30         cd $(top_builddir)/doc && tar cf html.tar */html
32 $(top_builddir)/doc/core/html/index.html: $(SOURCES) Doxyfile.core
33         @rm -rf doc/core
34         mkdir -p doc/core
35         $(DOXYGEN) Doxyfile.core
37 $(top_builddir)/doc/gsm/html/index.html: $(SOURCES) Doxyfile.gsm
38         @rm -rf doc/gsm
39         mkdir -p doc/gsm
40         $(DOXYGEN) Doxyfile.gsm
42 $(top_builddir)/doc/vty/html/index.html: $(SOURCES) Doxyfile.vty
43         @rm -rf doc/vty
44         mkdir -p doc/vty
45         $(DOXYGEN) Doxyfile.vty
47 $(top_builddir)/doc/codec/html/index.html: $(SOURCES) Doxyfile.codec
48         @rm -rf doc/codec
49         mkdir -p doc/codec
50         $(DOXYGEN) Doxyfile.codec
52 install-data-hook:
53         cd $(DESTDIR)$(doc_htmldir) && tar xf html.tar && rm -f html.tar
55 uninstall-hook:
56         cd $(DESTDIR)$(doc_htmldir) && rm -rf {core,gsm,vty,codec}
58 DX_CLEAN = doc/{core,gsm,vty,codec}/{html,latex}/* doc/html.tar
59 endif
61 MOSTLYCLEANFILES = $(DX_CLEAN)