]> icculus.org git repositories - mikachu/openbox.git/blob - util/epist/Makefile.am
set up a default rc file, and change teh user rc to ~./openbox/epistrc
[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 CPPFLAGS= @CPPFLAGS@ @DEBUG@ -DDEFAULTRC=\"$(DEFAULT_RC)\"
6
7 #EXTRA_PROGRAMS =               epist
8 bin_PROGRAMS =          epist
9
10 epist_SOURCES =         epist.cc window.cc screen.cc main.cc actions.cc yacc_parser.cc parser.cc keytree.cc lex.yy.c
11 epist_LDADD =           ../../src/XAtom.o ../../src/BaseDisplay.o \
12                                         ../../src/Util.o ../../src/i18n.o ../../src/Timer.o \
13                                         ../../src/GCCache.o ../../src/Color.o
14 #                                       ../../src/Texture.o \
15 #                                       ../../src/Image.o ../../src/ImageControl.o
16
17 MAINTAINERCLEANFILES =  Makefile.in
18
19 distclean-local:
20         rm -f *\~ .\#*
21
22 install-data-local: epistrc
23         test -f $(DESTDIR)$(pkgdatadir)/epistrc || \
24         $(INSTALL_DATA) epistrc $(DESTDIR)$(pkgdatadir)
25
26 uninstall-am:
27         rm -f $(DESTDIR)$(pkgdatadir)/epistrc
28
29 # local dependencies
30
31 actions.o: actions.cc actions.hh
32 epist.o: epist.cc actions.hh epist.hh window.hh ../../src/Util.hh \
33   keytree.hh screen.hh ../../src/BaseDisplay.hh ../../src/Timer.hh \
34   parser.hh ../../src/XAtom.hh
35 keytree.o: keytree.cc keytree.hh actions.hh screen.hh window.hh \
36   ../../src/Util.hh
37 main.o: main.cc epist.hh actions.hh window.hh ../../src/Util.hh \
38   keytree.hh screen.hh ../../src/BaseDisplay.hh ../../src/Timer.hh \
39   ../../src/i18n.hh ../../nls/blackbox-nls.hh
40 parser.o: parser.cc parser.hh actions.hh keytree.hh screen.hh window.hh \
41   ../../src/Util.hh
42 screen.o: screen.cc ../../src/BaseDisplay.hh ../../src/Timer.hh \
43   ../../src/Util.hh ../../src/XAtom.hh screen.hh window.hh epist.hh \
44   actions.hh keytree.hh
45 window.o: window.cc epist.hh actions.hh window.hh ../../src/Util.hh \
46   keytree.hh screen.hh ../../src/BaseDisplay.hh ../../src/Timer.hh \
47   ../../src/XAtom.hh
48 yacc_parser.cc: epist.y
49         yacc -d epist.y -o yacc_parser.cc
50 lex.yy.c: epist.l
51         lex epist.l