Makefile.am revision 168023fe
1# 2# Copyright 2005 Red Hat, Inc. 3# 4# Permission to use, copy, modify, distribute, and sell this software and its 5# documentation for any purpose is hereby granted without fee, provided that 6# the above copyright notice appear in all copies and that both that 7# copyright notice and this permission notice appear in supporting 8# documentation, and that the name of Red Hat not be used in 9# advertising or publicity pertaining to distribution of the software without 10# specific, written prior permission. Red Hat makes no 11# representations about the suitability of this software for any purpose. It 12# 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 NO 16# EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR 17# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 18# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 19# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 20# PERFORMANCE OF THIS SOFTWARE. 21 22bin_PROGRAMS = oclock 23 24AM_CFLAGS = $(OCLOCK_CFLAGS) $(CWARNFLAGS) 25oclock_LDADD = $(OCLOCK_LIBS) -lm 26 27oclock_SOURCES = \ 28 Clock.c \ 29 Clock.h \ 30 ClockP.h \ 31 oclock.c \ 32 transform.c \ 33 transform.h 34 35appman_PRE = \ 36 oclock.man 37 38# App default files (*.ad) 39 40DISTCHECK_CONFIGURE_FLAGS = --with-appdefaultdir=\$${datadir}/X11/app-defaults 41 42appdefaultdir = @appdefaultdir@ 43 44dist_appdefault_DATA = \ 45 app-defaults/Clock-color 46 47EXTRA_DIST = oclock.bit oclmask.bit 48 49appmandir = $(APP_MAN_DIR) 50 51appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@) 52 53EXTRA_DIST += $(appman_PRE) 54MAINTAINERCLEANFILES = ChangeLog INSTALL 55CLEANFILES = $(appman_DATA) 56 57SUFFIXES = .$(APP_MAN_SUFFIX) .man 58 59# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure 60.man.$(APP_MAN_SUFFIX): 61 $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@ 62 63 64.PHONY: ChangeLog INSTALL 65 66INSTALL: 67 $(INSTALL_CMD) 68 69ChangeLog: 70 $(CHANGELOG_CMD) 71 72dist-hook: ChangeLog INSTALL 73