Makefile.am revision 309c398a
1c2b339b4Smrg#
2e9554658Smrg#  Copyright 2005  Red Hat, Inc.
3c2b339b4Smrg#
4e9554658Smrg#  Permission to use, copy, modify, distribute, and sell this software and its
5e9554658Smrg#  documentation for any purpose is hereby granted without fee, provided that
6e9554658Smrg#  the above copyright notice appear in all copies and that both that
7e9554658Smrg#  copyright notice and this permission notice appear in supporting
8e9554658Smrg#  documentation, and that the name of Red Hat not be used in
9e9554658Smrg#  advertising or publicity pertaining to distribution of the software without
10e9554658Smrg#  specific, written prior permission.  Red Hat makes no
11e9554658Smrg#  representations about the suitability of this software for any purpose.  It
12e9554658Smrg#  is provided "as is" without express or implied warranty.
13c2b339b4Smrg#
14e9554658Smrg#  RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
15e9554658Smrg#  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
16e9554658Smrg#  EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
17e9554658Smrg#  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
18e9554658Smrg#  DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
19e9554658Smrg#  TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
20e9554658Smrg#  PERFORMANCE OF THIS SOFTWARE.
21e9554658Smrg
22309c398aSmrgSUBDIRS = man
23e9554658Smrgbin_PROGRAMS = xclock
24e9554658Smrg
25c2b339b4SmrgAM_CFLAGS = $(CWARNFLAGS) $(XCLOCK_CFLAGS)
26e9554658Smrgxclock_LDADD = $(XCLOCK_LIBS)
27e9554658Smrg
28e9554658Smrgxclock_SOURCES =	\
29e9554658Smrg        Clock.c \
30e9554658Smrg        Clock.h \
31e9554658Smrg        ClockP.h \
32e9554658Smrg        xclock.c
33e9554658Smrg
34e9554658Smrg# App default files  (*.ad)
35e9554658Smrg
36c2b339b4SmrgDISTCHECK_CONFIGURE_FLAGS = --with-appdefaultdir=\$${datadir}/X11/app-defaults
37e9554658Smrg
38c2b339b4Smrgappdefaultdir = @appdefaultdir@
39e9554658Smrg
40c2b339b4Smrgdist_appdefault_DATA = \
41c2b339b4Smrg        app-defaults/XClock-color \
42c2b339b4Smrg        app-defaults/XClock
43e9554658Smrg
44e9554658SmrgEXTRA_DIST = \
45e9554658Smrg	clmask.bit \
46e9554658Smrg	clock.bit
47e9554658Smrg
48e9554658SmrgCLEANFILES = $(APPDEFAULTFILES)
49309c398aSmrgMAINTAINERCLEANFILES = ChangeLog INSTALL
50e9554658Smrg
518903d43aSmrg.PHONY: ChangeLog INSTALL
528903d43aSmrg
538903d43aSmrgINSTALL:
548903d43aSmrg	$(INSTALL_CMD)
55e9554658Smrg
56e9554658SmrgChangeLog:
57c2b339b4Smrg	$(CHANGELOG_CMD)
58e9554658Smrg
598903d43aSmrgdist-hook: ChangeLog INSTALL
60