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 = xmh
24
25AM_CFLAGS = $(CWARNFLAGS) $(XMH_CFLAGS) -D_BSD_SOURCE
26
27xmh_LDADD = $(XMH_LIBS)
28
29xmh_SOURCES =	\
30        actions.h \
31        bbox.c \
32        bbox.h \
33        bboxint.h \
34        command.c \
35        compfuncs.c \
36        externs.h \
37        folder.c \
38        globals.h \
39        init.c \
40        main.c \
41        menu.c \
42        miscfuncs.c \
43        mlist.c \
44        mlist.h \
45        msg.c \
46        msg.h \
47        pick.c \
48        popup.c \
49        screen.c \
50        toc.c \
51        tocfuncs.c \
52        toc.h \
53        tocintrnl.h \
54        tocutil.c \
55        tocutil.h \
56        tsource.c \
57        tsource.h \
58        tsourceP.h \
59        util.c \
60        viewfuncs.c \
61        xmh.h
62
63# App default files
64DISTCHECK_CONFIGURE_FLAGS = --with-appdefaultdir=\$${datadir}/X11/app-defaults
65
66appdefaultdir = @appdefaultdir@
67
68dist_appdefault_DATA = \
69        app-defaults/Xmh
70
71#
72
73EXTRA_DIST = Xmh.sample README.md
74
75MAINTAINERCLEANFILES = ChangeLog INSTALL
76
77.PHONY: ChangeLog INSTALL
78
79INSTALL:
80	$(INSTALL_CMD)
81
82ChangeLog:
83	$(CHANGELOG_CMD)
84
85dist-hook: ChangeLog INSTALL
86