File: Makefile.am

package info (click to toggle)
gmime2.6 2.6.23+dfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 4,236 kB
  • sloc: ansic: 42,129; makefile: 634; sh: 415; cs: 250; xml: 9; python: 8; perl: 6
file content (47 lines) | stat: -rw-r--r-- 1,017 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
## 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 += tests docs

if !PLATFORM_WIN32
SUBDIRS += examples
endif

SUBDIRS += tools .

# build documentation when doing distcheck
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-introspection

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