Makefile.am revision 245f6787
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
24
25AM_CPPFLAGS = @MKFONTSCALE_CFLAGS@ @X11_CFLAGS@ -D_BSD_SOURCE
26AM_CFLAGS = $(CWARNFLAGS)
27mkfontscale_LDADD  = @MKFONTSCALE_LIBS@
28
29mkfontscale_SOURCES = \
30	data.h \
31	hash.c \
32	hash.h \
33	ident.c \
34	ident.h \
35	list.c \
36	list.h \
37	mkfontscale.c
38
39MAINTAINERCLEANFILES = ChangeLog INSTALL
40
41.PHONY: ChangeLog INSTALL
42
43INSTALL:
44	$(INSTALL_CMD)
45
46ChangeLog:
47	$(CHANGELOG_CMD)
48
49dist-hook: ChangeLog INSTALL
50
51if LINT
52ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
53		$(AM_CPPFLAGS) $(CPPFLAGS)
54
55lint:
56	$(LINT) $(ALL_LINT_FLAGS) $(mkfontscale_SOURCES)
57endif LINT
58