Makefile.am revision 4fbc8bde
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 22bin_PROGRAMS = bdftopcf 23 24AM_CFLAGS = $(CWARNFLAGS) @BDFTOPCF_CFLAGS@ 25bdftopcf_LDADD = @BDFTOPCF_LIBS@ 26 27bdftopcf_SOURCES = bdftopcf.c 28 29appman_PRE = bdftopcf.man 30 31appmandir = $(APP_MAN_DIR) 32 33appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@) 34 35EXTRA_DIST = $(appman_PRE) 36MAINTAINERCLEANFILES = ChangeLog INSTALL 37CLEANFILES = $(appman_DATA) 38 39SUFFIXES = .$(APP_MAN_SUFFIX) .man 40 41# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure 42.man.$(APP_MAN_SUFFIX): 43 $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@ 44 45.PHONY: ChangeLog INSTALL 46 47INSTALL: 48 $(INSTALL_CMD) 49 50ChangeLog: 51 $(CHANGELOG_CMD) 52 53dist-hook: ChangeLog INSTALL 54 55if LINT 56ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ 57 $(AM_CPPFLAGS) $(CPPFLAGS) $(bdftopcf_CFLAGS) 58 59lint: 60 $(LINT) $(ALL_LINT_FLAGS) $(bdftopcf_SOURCES) 61endif LINT 62