Makefile.am revision b62cc08c
19fe995a9Smrg# 
29fe995a9Smrg#  Copyright 2005  Red Hat, Inc.
39fe995a9Smrg# 
49fe995a9Smrg#  Permission to use, copy, modify, distribute, and sell this software and its
59fe995a9Smrg#  documentation for any purpose is hereby granted without fee, provided that
69fe995a9Smrg#  the above copyright notice appear in all copies and that both that
79fe995a9Smrg#  copyright notice and this permission notice appear in supporting
89fe995a9Smrg#  documentation, and that the name of Red Hat not be used in
99fe995a9Smrg#  advertising or publicity pertaining to distribution of the software without
109fe995a9Smrg#  specific, written prior permission.  Red Hat makes no
119fe995a9Smrg#  representations about the suitability of this software for any purpose.  It
129fe995a9Smrg#  is provided "as is" without express or implied warranty.
139fe995a9Smrg# 
149fe995a9Smrg#  RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
159fe995a9Smrg#  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
169fe995a9Smrg#  EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
179fe995a9Smrg#  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
189fe995a9Smrg#  DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
199fe995a9Smrg#  TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
209fe995a9Smrg#  PERFORMANCE OF THIS SOFTWARE.
219fe995a9Smrg
229fe995a9Smrgbin_PROGRAMS = iceauth
239fe995a9Smrg
24b62cc08cSmrgAM_CFLAGS = $(CWARNFLAGS) $(ICEAUTH_CFLAGS)
259fe995a9Smrgiceauth_LDADD = $(ICEAUTH_LIBS)
269fe995a9Smrg
279fe995a9Smrgiceauth_SOURCES =	\
289fe995a9Smrg        iceauth.c \
299fe995a9Smrg        iceauth.h \
309fe995a9Smrg        process.c
319fe995a9Smrg
329fe995a9Smrgappman_PRE = \
339fe995a9Smrg        iceauth.man
349fe995a9Smrg
359fe995a9Smrg
369fe995a9Smrgappmandir = $(APP_MAN_DIR)
379fe995a9Smrg
389fe995a9Smrgappman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
399fe995a9Smrg
40b62cc08cSmrgEXTRA_DIST = $(appman_PRE) autogen.sh
41b62cc08cSmrgMAINTAINERCLEANFILES = ChangeLog INSTALL
429fe995a9SmrgCLEANFILES = $(appman_DATA)
439fe995a9Smrg
449fe995a9Smrg
45b62cc08cSmrg.PHONY: ChangeLog INSTALL
469fe995a9Smrg
47b62cc08cSmrgINSTALL:
48b62cc08cSmrg	$(INSTALL_CMD)
499fe995a9Smrg
50b62cc08cSmrgChangeLog:
51b62cc08cSmrg	$(CHANGELOG_CMD)
529fe995a9Smrg
53b62cc08cSmrgdist-hook: ChangeLog INSTALL
549fe995a9Smrg
559fe995a9SmrgSUFFIXES = .$(APP_MAN_SUFFIX) .man
569fe995a9Smrg
57b62cc08cSmrg# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
589fe995a9Smrg.man.$(APP_MAN_SUFFIX):
59b62cc08cSmrg	$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
609fe995a9Smrg
619fe995a9Smrgif LINT
629fe995a9SmrgALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
639fe995a9Smrg                $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS)
649fe995a9Smrglint:
659fe995a9Smrg	$(LINT) $(ALL_LINT_FLAGS) $(iceauth_SOURCES)
669fe995a9Smrgendif LINT
67