]> icculus.org git repositories - mikachu/openbox.git/blob - util/epist/Makefile.am
sync with bb-cvs
[mikachu/openbox.git] / util / epist / Makefile.am
1 # util/epist/Makefile.am for Blackbox - an X11 Window manager
2
3 DEFAULT_RC=$(pkgdatadir)/epistrc
4
5 CLEANFILES = epist.1 epistrc.5
6
7 CPPFLAGS= @CPPFLAGS@ @DEBUG@ -DDEFAULTRC=\"$(DEFAULT_RC)\"
8
9 #EXTRA_PROGRAMS =               epist
10 bin_PROGRAMS =          epist
11
12 man_MANS = epist.1 epistrc.5
13
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
20
21 MAINTAINERCLEANFILES =  Makefile.in
22
23 distclean-local:
24         rm -f *\~ .\#*
25
26 epist.1: epist.1.in
27         @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir)," \
28                 epist.1.in > epist.1
29
30 epistrc.5: epistrc.5.in
31         @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir)," \
32                 epistrc.5.in > epistrc.5
33
34 install-data-local: epistrc
35         test -f $(DESTDIR)$(pkgdatadir)/epistrc || \
36         $(INSTALL_DATA) epistrc $(DESTDIR)$(pkgdatadir)
37
38 uninstall-am:
39         rm -f $(DESTDIR)$(pkgdatadir)/epistrc
40
41 # local dependencies
42
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 \
48   ../../src/Util.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 \
53   ../../src/Util.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 \
56   actions.hh keytree.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 \
59   ../../src/XAtom.hh
60 config.o: config.cc config.hh ../../src/Util.hh \
61   keytree.hh screen.hh ../../src/BaseDisplay.hh ../../src/Timer.hh \
62   ../../src/XAtom.hh
63 yacc_parser.cc: epist.y
64         yacc -d epist.y -o yacc_parser.cc
65 lex.yy.c: epist.l
66         lex epist.l