1# $Id: Makefile.am,v 1.1.1.4 2023/02/07 05:05:28 mrg Exp $
2# 
3#  Copyright 2005  Red Hat, Inc.
4# 
5#  Permission to use, copy, modify, distribute, and sell this software and its
6#  documentation for any purpose is hereby granted without fee, provided that
7#  the above copyright notice appear in all copies and that both that
8#  copyright notice and this permission notice appear in supporting
9#  documentation, and that the name of Red Hat not be used in
10#  advertising or publicity pertaining to distribution of the software without
11#  specific, written prior permission.  Red Hat makes no
12#  representations about the suitability of this software for any purpose.  It
13#  is provided "as is" without express or implied warranty.
14# 
15#  RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
16#  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
17#  EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
18#  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
19#  DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
20#  TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
21#  PERFORMANCE OF THIS SOFTWARE.
22
23SUBDIRS = man
24bin_PROGRAMS = beforelight
25
26AM_CFLAGS = $(BEFORELIGHT_CFLAGS) $(CWARNFLAGS)
27beforelight_LDADD = $(BEFORELIGHT_LIBS)
28
29beforelight_SOURCES =	\
30        b4light.c
31
32# App default files
33
34DISTCHECK_CONFIGURE_FLAGS = --with-appdefaultdir=\$${datadir}/X11/app-defaults
35
36appdefaultdir = @appdefaultdir@
37
38dist_appdefault_DATA = \
39        app-defaults/Beforelight
40
41MAINTAINERCLEANFILES = ChangeLog INSTALL
42
43.PHONY: ChangeLog INSTALL
44
45INSTALL:
46	$(INSTALL_CMD)
47
48ChangeLog:
49	$(CHANGELOG_CMD)
50
51dist-hook: ChangeLog INSTALL
52
53EXTRA_DIST = README.md
54