Implement resource streams
[projects/chimara/chimara.git] / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2 ## Created by Anjuta
3
4 if TARGET_ILIAD
5 SUBDIRS = libchimara interpreters babel player po
6 else
7 SUBDIRS = libchimara interpreters babel player tests docs po
8 endif
9
10 chimaradocdir = $(datadir)/doc/chimara
11 dist_chimaradoc_DATA = \
12         README\
13         COPYING\
14         AUTHORS\
15         ChangeLog\
16         NEWS
17
18 pkgconfigdir = $(libdir)/pkgconfig
19 pkgconfig_DATA = chimara.pc chimara-plugin.pc
20
21 EXTRA_DIST = \
22         chimara.pc.in
23         chimara-plugin.pc.in
24         chimara.spec.in
25         m4/introspection.m4
26
27 DISTCLEANFILES = chimara.pc chimara-plugin.pc chimara.spec
28
29 macros_ignore = codeset gettext glibc2 glibc21 gtk-doc iconv intdiv0 intl \
30         intldir intlmacosx intltool intmax inttypes_h inttypes-pri lcmessage \
31         lib-ld lib-link lib-prefix libtool lock longlong lt~obsolete ltoptions \
32         ltsugar ltversion nls po printf-posix progtest size_max stdint_h uintmax_t \
33         visibility wchar_t wint_t xsize
34
35 MAINTAINERCLEANFILES = ABOUT-NLS INSTALL aclocal.m4 compile config.guess \
36         config.h.in config.rpath config.sub depcomp gtk-doc.make install-sh \
37         intltool-extract.in intltool-merge.in intltool-update.in ltmain.sh missing \
38         ylwrap autom4te.cache \
39         $(addprefix 'm4/',$(addsuffix '.m4', $(macros_ignore)))
40
41 ACLOCAL_AMFLAGS = -I m4
42
43 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-introspection
44
45 if BUILDING_RPM
46 EXTRA_DIST += chimara.spec
47 rpm: chimara.spec dist
48         $(ECHO) "Building RPM package..."; \
49         $(RPMBUILD) -ta --clean $(PACKAGE)-$(VERSION).tar.gz
50 else
51 rpm:
52         @$(ECHO) \
53         "To build an RPM package, you must run configure with --enable-rpm."; \
54         exit 1
55 endif
56
57 -include $(top_srcdir)/git.mk