summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: b41439a851cc9b0f6979ddb1af88534ba09b3dbf (plain)
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
SUBDIRS = build champlain

ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}

pcfiles = champlain-@CHAMPLAIN_API_VERSION@.pc
other_pcfiles = champlain-@CHAMPLAIN_API_VERSION@-uninstalled.pc

if ENABLE_GTK
SUBDIRS += champlain-gtk
pcfiles += champlain-gtk-@CHAMPLAIN_API_VERSION@.pc
other_pcfiles += champlain-gtk-@CHAMPLAIN_API_VERSION@-uninstalled.pc
endif

pkgconfig_DATA = $(pcfiles)
pkgconfigdir = $(libdir)/pkgconfig

DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc --enable-gtk --enable-introspection --enable-vala-demos --disable-memphis

EXTRA_DIST = \
	README.md \
	champlain-gtk.pc.in \
	champlain-gtk-uninstalled.pc.in \
	champlain.pc.in \
	champlain-uninstalled.pc.in

DISTCLEANFILES = $(pcfiles) $(other_pcfiles)

all: $(other_pcfiles)

# Have the demos build at the end as they depend on optional parts
SUBDIRS += docs demos