summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: cdc241fbceb1a75b5686728d72b7cc923538016b (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65

NULL =

ACLOCAL_AMFLAGS = -I build
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-werror

DIST_SUBDIRS = \
	build \
	ccss \
	ccss-doc \
	ccss-tests \
	ccss-cairo \
	ccss-cairo-doc \
	ccss-gtk \
	examples \
	$(NULL)

SUBDIRS = \
	ccss \
	ccss-doc \
	$(NULL)

if ENABLE_GLIB_TEST
SUBDIRS += ccss-tests
endif

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libccss-1.pc

if CCSS_WITH_CAIRO
SUBDIRS += ccss-cairo ccss-cairo-doc
pkgconfig_DATA += libccss-cairo-1.pc
endif

if CCSS_WITH_GTK
SUBDIRS += ccss-gtk
pkgconfig_DATA += libccss-gtk-1.pc
endif

if CCSS_WITH_EXAMPLES
SUBDIRS += examples
endif

EXTRA_DIST = \
	AUTHORS \
	ChangeLog \
	COPYING \
	INSTALL \
	NEWS \
	README \
	TODO \
	autogen.sh \
	libccss-1.pc.in \
	libccss-cairo-1.pc.in \
	libccss-gtk-1.pc.in \
	$(NULL)

CLEANFILES = \
	test-report.xml \
	$(NULL)

ChangeLog: configure.in
	@echo Creating ChangeLog ...
	$(top_srcdir)/build/gen-changelog.pl > $@