uploaded liboauth for tizen_3.0
[platform/upstream/liboauth.git] / Makefile.am
1 ACLOCAL_AMFLAGS= -I m4
2 SUBDIRS = @subdirs@
3
4 EXTRA_DIST=liboauth.lsm.in oauth.pc.in Doxyfile.in \
5                                          COPYING.GPL COPYING.MIT LICENSE.OpenSSL \
6                                          m4
7
8 pkgconfigdir = $(libdir)/pkgconfig
9 pkgconfig_DATA = oauth.pc
10
11 TESTS=tests/tcwiki@EXESUF@ tests/tceran@EXESUF@ tests/tcother@EXESUF@
12
13 CLEANFILES = stamp-doxygen stamp-doc
14
15 MAINTAINERCLEANFILES = \
16         src/Makefile.in \
17         tests/Makefile.in \
18         tests/atconfig \
19         doc/Makefile.in \
20         Makefile.in \
21         aclocal.m4 \
22         compile \
23         config.guess \
24         config.h.in \
25         config.sub \
26         configure \
27         depcomp \
28         install-sh \
29         missing
30
31 dox: stamp-doxygen
32
33 stamp-doxygen: src/oauth.h doc/mainpage.dox Doxyfile
34         $(DOXYGEN) Doxyfile && touch stamp-doxygen
35         cp doc/man/man3/oauth.h.3 doc/oauth.3
36         sed 's/ -\([qsdU]\)/ \\-\1/g' doc/man/man3/oauth.h.3 \
37         | sed 's/ -1 / \\-1 /' \
38         | sed 's/--/\\-\\-/' \
39         > doc/oauth.3