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@ @DEBUG@ -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 yacc_parser.cc parser.cc keytree.cc lex.yy.c config.cc
15 epist_LDADD = ../../src/XAtom.o ../../src/BaseDisplay.o \
16 ../../src/Util.o ../../src/i18n.o ../../src/Timer.o \
17 ../../src/GCCache.o ../../src/Color.o
18 # ../../src/Texture.o \
19 # ../../src/Image.o ../../src/ImageControl.o
21 MAINTAINERCLEANFILES = Makefile.in
27 @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir)," \
30 epistrc.5: epistrc.5.in
31 @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir)," \
32 epistrc.5.in > epistrc.5
34 install-data-local: epistrc
35 test -f $(DESTDIR)$(pkgdatadir)/epistrc || \
36 $(INSTALL_DATA) epistrc $(DESTDIR)$(pkgdatadir)
39 rm -f $(DESTDIR)$(pkgdatadir)/epistrc
43 actions.o: actions.cc actions.hh
44 epist.o: epist.cc actions.hh epist.hh window.hh ../../src/Util.hh \
45 keytree.hh screen.hh ../../src/BaseDisplay.hh ../../src/Timer.hh \
46 parser.hh ../../src/XAtom.hh
47 keytree.o: keytree.cc keytree.hh actions.hh screen.hh window.hh \
49 main.o: main.cc epist.hh actions.hh window.hh ../../src/Util.hh \
50 keytree.hh screen.hh ../../src/BaseDisplay.hh ../../src/Timer.hh \
51 ../../src/i18n.hh ../../nls/blackbox-nls.hh
52 parser.o: parser.cc parser.hh actions.hh keytree.hh screen.hh window.hh \
54 screen.o: screen.cc ../../src/BaseDisplay.hh ../../src/Timer.hh \
55 ../../src/Util.hh ../../src/XAtom.hh screen.hh window.hh epist.hh \
57 window.o: window.cc epist.hh actions.hh window.hh ../../src/Util.hh \
58 keytree.hh screen.hh ../../src/BaseDisplay.hh ../../src/Timer.hh \
60 config.o: config.cc config.hh ../../src/Util.hh \
61 keytree.hh screen.hh ../../src/BaseDisplay.hh ../../src/Timer.hh \
63 yacc_parser.cc: epist.y
64 bison -d epist.y -o yacc_parser.cc