Makefile.am revision 12458b28
1#
2#  Copyright 2005  Red Hat, Inc.
3#
4#  Permission to use, copy, modify, distribute, and sell this software
5#  and its documentation for any purpose is hereby granted without fee,
6#  provided that the above copyright notice appear in all copies and that
7#  both that copyright notice and this permission notice appear in
8#  supporting documentation, and that the name of Red Hat not be used in
9#  advertising or publicity pertaining to distribution of the software
10#  without specific, written prior permission.  Red Hat makes no
11#  representations about the suitability of this software for any
12#  purpose.  It is provided "as is" without express or implied warranty.
13#
14#  RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
15#  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN
16#  NO EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
17#  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
18#  USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
19#  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
20#  PERFORMANCE OF THIS SOFTWARE.
21
22SUBDIRS = man
23bin_PROGRAMS = mkfontscale
24bin_SCRIPTS = mkfontdir
25
26AM_CPPFLAGS = @MKFONTSCALE_CFLAGS@ @X11_CFLAGS@ -D_BSD_SOURCE
27AM_CFLAGS = $(CWARNFLAGS)
28mkfontscale_LDADD  = @MKFONTSCALE_LIBS@
29
30mkfontscale_SOURCES = \
31	constlist.c \
32	constlist.h \
33	data.h \
34	hash.c \
35	hash.h \
36	ident.c \
37	ident.h \
38	list.c \
39	list.h \
40	mkfontscale.c
41
42MAINTAINERCLEANFILES = ChangeLog INSTALL
43
44.PHONY: ChangeLog INSTALL
45
46INSTALL:
47	$(INSTALL_CMD)
48
49ChangeLog:
50	$(CHANGELOG_CMD)
51
52dist-hook: ChangeLog INSTALL
53
54if LINT
55ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
56		$(AM_CPPFLAGS) $(CPPFLAGS)
57
58lint:
59	$(LINT) $(ALL_LINT_FLAGS) $(mkfontscale_SOURCES)
60endif LINT
61
62EXTRA_DIST = README.md
63