]> granicus.if.org Git - fribidi/blob - Makefile.am
Small changes to shut gcc warnings up.
[fribidi] / Makefile.am
1 ##                                               -*- Automake -*-
2 ## Process this file with automake to produce Makefile.in
3 ##############################################################################
4 ## $Id: Makefile.am,v 1.9 2005-07-30 09:06:27 behdad Exp $
5 ## $Author: behdad $
6 ## $Date: 2005-07-30 09:06:27 $
7 ## $Revision: 1.9 $
8 ## $Source: /home/behdad/src/fdo/fribidi/togit/git/../fribidi/fribidi2/Makefile.am,v $
9 ##############################################################################
10
11 ## The order of subdirs is important, don't change without a reason.
12 SUBDIRS = gen.tab charset lib bin doc test
13
14 EXTRA_DIST = bootstrap ChangeLog.old
15
16 pkgconfigdir = $(libdir)/pkgconfig
17 pkgconfig_DATA = @PACKAGE@.pc
18
19 BUILT_SOURCES = lib/fribidi-unicode-version.h
20 lib/fribidi-unicode-version.h:
21         (cd lib && $(MAKE) $(AM_MAKEFLAGS) fribidi-unicode-version.h)
22
23 MAINTAINERCLEANFILES = \
24                 $(srcdir)/INSTALL \
25                 $(srcdir)/aclocal.m4 \
26                 $(srcdir)/autoscan.log \
27                 $(srcdir)/compile \
28                 $(srcdir)/config.guess \
29                 $(srcdir)/config.h.in \
30                 $(srcdir)/config.sub \
31                 $(srcdir)/configure.scan \
32                 $(srcdir)/depcomp \
33                 $(srcdir)/install-sh \
34                 $(srcdir)/ltmain.sh \
35                 $(srcdir)/missing \
36                 $(srcdir)/mkinstalldirs \
37                 `find "$(srcdir)" -type f -name Makefile.in -print` \
38                 `find "$(srcdir)" -type f -name "*~" -print` \
39                 `$(srcdir)/bootstrap --write-configure`
40 # The last line above is a horrible hack.
41 # GNU Coding Standards recommends that `make maintainer-clean' should not 
42 # remove the configure script.
43 # We instead make configure call bootstrap.
44
45 # Indent all C source and header files, using indent(1):
46
47 indent: $(srcdir)/.indent.pro
48         cd "$(srcdir)" && \
49         find . -type f -mindepth 2 -name "*.[ch]" -print | \
50           xargs ./missing --run indent
51
52 .PHONY: indent
53
54 # Creating ChangeLog from CVS log, using cvs2cl(1):
55
56 MAINTAINERCLEANFILES += ChangeLog ChangeLog.bak
57
58 EXTRA_DIST += ChangeLog
59
60 ChangeLog: $(srcdir)/ChangeLog
61
62 $(srcdir)/ChangeLog:
63         @if test -d "$(srcdir)/CVS"; then \
64           (cd "$(srcdir)" && \
65           ./missing --run cvs2cl --stdout --utc --FSF -U AUTHORS) > $@.tmp \
66           && echo "For older changes see ChangeLog.old" >> $@.tmp && mv $@.tmp $@ \
67           || ($(RM) $@.tmp; \
68               echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \
69               (test -f $@ || echo cvs2cl is required to generate this file >> $@)); \
70         else \
71           test -f $@ || \
72           (echo A CVS checkout and cvs2cl is required to generate ChangeLog >&2 && \
73           echo A CVS checkout and cvs2cl is required to generate this file >> $@); \
74         fi
75
76 .PHONY: ChangeLog $(srcdir)/ChangeLog