2 ## Process this file with automake to produce Makefile.in
3 ##############################################################################
4 ## $Id: Makefile.am,v 1.8 2004-08-27 21:55:59 behdad Exp $
6 ## $Date: 2004-08-27 21:55:59 $
8 ## $Source: /home/behdad/src/fdo/fribidi/togit/git/../fribidi/fribidi2/Makefile.am,v $
9 ##############################################################################
11 ## The order of subdirs is important, don't change without a reason.
12 SUBDIRS = gen.tab charset lib bin doc test
14 EXTRA_DIST = bootstrap ChangeLog.old
16 pkgconfigdir = $(libdir)/pkgconfig
17 pkgconfig_DATA = @PACKAGE@.pc
19 BUILT_SOURCES = lib/fribidi-unicode-version.h
20 lib/fribidi-unicode-version.h:
21 (cd lib && $(MAKE) $(AM_MAKEFLAGS) fribidi-unicode-version.h)
23 MAINTAINERCLEANFILES = \
25 $(srcdir)/aclocal.m4 \
26 $(srcdir)/autoscan.log \
28 $(srcdir)/config.guess \
29 $(srcdir)/config.h.in \
30 $(srcdir)/config.sub \
31 $(srcdir)/configure.scan \
33 $(srcdir)/install-sh \
36 `find "$(srcdir)" -type f -name Makefile.in -print` \
37 `find "$(srcdir)" -type f -name "*~" -print` \
38 `$(srcdir)/bootstrap --write-configure`
39 # The last line above is a horrible hack.
40 # GNU Coding Standards recommends that `make maintainer-clean' should not
41 # remove the configure script.
42 # We instead make configure call bootstrap.
44 # Indent all C source and header files, using indent(1):
46 indent: $(srcdir)/.indent.pro
48 find . -type f -mindepth 2 -name "*.[ch]" -print | \
49 xargs ./missing --run indent
53 # Creating ChangeLog from CVS log, using cvs2cl(1):
55 MAINTAINERCLEANFILES += ChangeLog ChangeLog.bak
57 EXTRA_DIST += ChangeLog
59 ChangeLog: $(srcdir)/ChangeLog
62 @if test -d "$(srcdir)/CVS"; then \
64 ./missing --run cvs2cl --stdout --utc --FSF -U AUTHORS) > $@.tmp \
65 && echo "For older changes see ChangeLog.old" >> $@.tmp && mv $@.tmp $@ \
67 echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
68 (test -f $@ || echo cvs2cl is required to generate this file >> $@)); \
71 (echo A CVS checkout and cvs2cl is required to generate ChangeLog >&2 && \
72 echo A CVS checkout and cvs2cl is required to generate this file >> $@); \
75 .PHONY: ChangeLog $(srcdir)/ChangeLog