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