Makefile.am revision a85aecdf
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
22AM_YFLAGS = -d
23
24SUBDIRS = man
25bin_PROGRAMS = xgc
26
27AM_CFLAGS = $(CWARNFLAGS) $(XGC_CFLAGS) -D_BSD_SOURCE
28xgc_LDADD = $(XGC_LIBS) -lm
29
30xgc_SOURCES =	\
31        choice.c \
32        constants.h \
33        dashlist.c \
34        getfile.c \
35	gram.y \
36        interpret.c \
37	lex.l \
38        main.c \
39        planemask.c \
40        record.c \
41        testfrac.c \
42        tests.c \
43        text.c \
44        xgc.h
45
46BUILT_SOURCES = gram.h
47MAINTAINERCLEANFILES = ChangeLog INSTALL
48
49# App default files
50
51DISTCHECK_CONFIGURE_FLAGS = --with-appdefaultdir=\$${datadir}/X11/app-defaults
52
53appdefaultdir = @appdefaultdir@
54
55dist_appdefault_DATA = \
56        app-defaults/Xgc \
57        app-defaults/Xgc-color
58
59EXTRA_DIST = tile Bugs	\
60	Written/FilledRects						\
61	Written/Interface						\
62	Written/Jim							\
63	Written/Notes							\
64	Written/Notes2							\
65	Written/Outline							\
66	Written/Widget
67
68.PHONY: ChangeLog INSTALL
69
70INSTALL:
71	$(INSTALL_CMD)
72
73ChangeLog:
74	$(CHANGELOG_CMD)
75
76dist-hook: ChangeLog INSTALL
77