summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorjk7744.park <jk7744.park@samsung.com>2015-01-31 16:15:26 +0900
committerjk7744.park <jk7744.park@samsung.com>2015-01-31 16:15:26 +0900
commit38b35d807dd817aa4aede2fa94dd21e5d05d0036 (patch)
tree1de949a24c959a37d4207a2119d6b6dac77cd171 /Makefile.am
parente3c3b2b8eb7042f3fda8ab96fc5c98003284449b (diff)
downloadgmime-38b35d807dd817aa4aede2fa94dd21e5d05d0036.tar.gz
gmime-38b35d807dd817aa4aede2fa94dd21e5d05d0036.tar.bz2
gmime-38b35d807dd817aa4aede2fa94dd21e5d05d0036.zip
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am43
1 files changed, 43 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..34c56d6
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,43 @@
+## Process this file with automake to produce Makefile.in
+
+ACLOCAL_AMFLAGS = -I m4
+
+SUBDIRS = m4 build util gmime
+
+if ENABLE_MONO
+SUBDIRS += mono
+endif
+
+SUBDIRS += docs
+
+SUBDIRS += tools .
+
+# build documentation when doing distcheck
+DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
+
+DISTCLEANFILES = iconv-detect.h gmime-$(GMIME_API_VERSION).pc config.lt doltcompile doltlibtool
+
+EXTRA_DIST = \
+ PORTING \
+ gmime.pc.in \
+ gmime.spec.in \
+ iconv-detect.c \
+ zentimer.h \
+ gtk-doc.make
+
+BUILD_EXTRA_DIST = \
+ gmime.spec
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = gmime-$(GMIME_API_VERSION).pc
+
+$(pkgconfig_DATA): config.status
+
+dist-hook: $(BUILD_EXTRA_DIST)
+ files='$(BUILD_EXTRA_DIST)'; \
+ for f in $$files; do \
+ if test -f $$f; then d=.; else d=$(srcdir); fi; \
+ rm -f $(distdir)/$$f && cp $$d/$$f $(distdir) || exit 1; done
+
+gmime-$(GMIME_API_VERSION).pc: gmime.pc
+ -cp gmime.pc gmime-$(GMIME_API_VERSION).pc