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 22SUBDIRS = man 23bin_PROGRAMS = xditview 24 25AM_CFLAGS = $(XDITVIEW_CFLAGS) 26xditview_LDADD = $(XDITVIEW_LIBS) -lm 27 28xditview_SOURCES = \ 29 draw.c \ 30 Dvi.c \ 31 DviChar.c \ 32 DviChar.h \ 33 Dvi.h \ 34 DviP.h \ 35 font.c \ 36 lex.c \ 37 Menu.h \ 38 page.c \ 39 parse.c \ 40 xditview.c \ 41 XFontName.c \ 42 XFontName.h 43 44# App default files 45 46DISTCHECK_CONFIGURE_FLAGS = --with-appdefaultdir=\$${datadir}/X11/app-defaults 47 48appdefaultdir = @appdefaultdir@ 49 50dist_appdefault_DATA = \ 51 app-defaults/Xditview \ 52 app-defaults/Xditview-chrtr 53 54# Bitmaps referenced at runtime 55bitmapdir = $(includedir)/X11/bitmaps 56dist_bitmap_DATA = ldblarrow rdblarrow 57 58EXTRA_DIST = xdit.bm xdit_mask.bm README.md 59 60MAINTAINERCLEANFILES = ChangeLog INSTALL 61 62.PHONY: ChangeLog INSTALL 63 64INSTALL: 65 $(INSTALL_CMD) 66 67ChangeLog: 68 $(CHANGELOG_CMD) 69 70dist-hook: ChangeLog INSTALL 71