Makefile.am revision 6d8e82c3
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#
22
23AM_YFLAGS = -d
24
25bin_PROGRAMS = twm
26
27rcdir = ${datadir}/X11/twm
28dist_rc_DATA = system.twmrc
29
30AM_CPPFLAGS =							\
31	-DAPP_VERSION=\"$(VERSION)\"				\
32	-DDATADIR=\"${datadir}\"
33
34AM_CFLAGS = $(TWM_CFLAGS) $(XRANDR_CFLAGS) $(CWARNFLAGS)
35twm_LDADD = $(TWM_LIBS)   $(XRANDR_LIBS)
36
37twm_SOURCES =		\
38	add_window.c	\
39	add_window.h	\
40	cursor.c	\
41	deftwmrc.c	\
42	events.c	\
43	events.h	\
44	gc.c		\
45	gc.h		\
46	gen_deftwmrc.sh \
47	iconmgr.c	\
48	iconmgr.h	\
49	icons.c		\
50	icons.h		\
51	list.c		\
52	list.h		\
53	menus.c		\
54	menus.h		\
55	parse.c		\
56	parse.h		\
57	resize.c	\
58	resize.h	\
59	screen.h	\
60	session.c	\
61	session.h	\
62	twm.c		\
63	twm.h		\
64	util.c		\
65	util.h		\
66	gram.y		\
67	lex.l
68
69BUILT_SOURCES = gram.h deftwmrc.c
70
71deftwmrc.c:  system.twmrc
72	sh $(srcdir)/gen_deftwmrc.sh $@ $<
73
74EXTRA_DIST = siconify.bm
75