1 # util/epist/Makefile.am for Blackbox - an X11 Window manager
3 DEFAULT_RC=$(pkgdatadir)/epistrc
5 CLEANFILES = epist.1 epistrc.5
7 CPPFLAGS= @CPPFLAGS@ -DDEFAULTRC=\"$(DEFAULT_RC)\"
9 #EXTRA_PROGRAMS = epist
12 man_MANS = epist.1 epistrc.5
14 epist_SOURCES = epist.cc window.cc screen.cc main.cc actions.cc \
15 yacc_parser.cc parser.cc keytree.cc lex.yy.c config.cc
17 epist_LDADD = ../../src/xatom.o ../../src/basedisplay.o \
18 ../../src/util.o ../../src/timer.o
20 MAINTAINERCLEANFILES = Makefile.in
26 @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir)," \
29 epistrc.5: epistrc.5.in
30 @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir)," \
31 epistrc.5.in > epistrc.5
33 install-data-local: epistrc
34 test -f $(DESTDIR)$(pkgdatadir)/epistrc || \
35 $(INSTALL_DATA) epistrc $(DESTDIR)$(pkgdatadir)
38 rm -f $(DESTDIR)$(pkgdatadir)/epistrc
41 actions.o: actions.cc actions.hh
42 config.o: config.cc config.hh
43 epist.o: epist.cc actions.hh epist.hh window.hh ../../src/util.hh \
44 keytree.hh ../../src/timer.hh screen.hh config.hh \
45 ../../src/basedisplay.hh parser.hh ../../src/xatom.hh
46 keytree.o: keytree.cc keytree.hh ../../src/timer.hh actions.hh \
47 screen.hh window.hh ../../src/util.hh config.hh epist.hh \
48 ../../src/basedisplay.hh
49 main.o: main.cc ../../version.h epist.hh actions.hh window.hh \
50 ../../src/util.hh keytree.hh ../../src/timer.hh screen.hh config.hh \
51 ../../src/basedisplay.hh
52 parser.o: parser.cc parser.hh actions.hh keytree.hh ../../src/timer.hh \
53 screen.hh window.hh ../../src/util.hh config.hh
54 screen.o: screen.cc ../../src/basedisplay.hh ../../src/timer.hh \
55 ../../src/util.hh ../../src/xatom.hh screen.hh window.hh config.hh \
56 epist.hh actions.hh keytree.hh
57 window.o: window.cc epist.hh actions.hh window.hh ../../src/util.hh \
58 keytree.hh ../../src/timer.hh screen.hh config.hh \
59 ../../src/basedisplay.hh ../../src/xatom.hh
60 yacc_parser.o: yacc_parser.cc parser.hh actions.hh keytree.hh \
61 ../../src/timer.hh screen.hh window.hh ../../src/util.hh config.hh