X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=util%2Fepist%2FMakefile.am;h=359eaa0fd300e4a903e412ec29c5f23d8bf8dd68;hb=bbb403aab82519384d86f9fd7071a8ace72fca3a;hp=84cad62b6c610ef421ef3419034453f791f06111;hpb=f586e55a8cd3d740a1b7b3a0801bad27030926f9;p=chaz%2Fopenbox diff --git a/util/epist/Makefile.am b/util/epist/Makefile.am index 84cad62b..359eaa0f 100644 --- a/util/epist/Makefile.am +++ b/util/epist/Makefile.am @@ -1,27 +1,59 @@ -# util/epist/Makefile.am for Blackbox - an X11 Window manager +DEFAULT_RC=$(pkgdatadir)/epistrc -CPPFLAGS= @CPPFLAGS@ @DEBUG@ +CLEANFILES = epist.1 epistrc.5 -EXTRA_PROGRAMS = epist +CPPFLAGS= @CPPFLAGS@ -DDEFAULTRC=\"$(DEFAULT_RC)\" -epist_SOURCES = epist.cc window.cc screen.cc main.cc actions.cc -epist_LDADD = ../../src/XAtom.o ../../src/BaseDisplay.o \ - ../../src/Util.o ../../src/i18n.o \ - ../../src/GCCache.o ../../src/Color.o ../../src/Texture.o \ - ../../src/Timer.o ../../src/Image.o ../../src/ImageControl.o +#EXTRA_PROGRAMS = epist +bin_PROGRAMS = epist + +man_MANS = epist.1 epistrc.5 + +epist_SOURCES = epist.cc window.cc screen.cc main.cc actions.cc \ + yacc_parser.cc parser.cc keytree.cc lex.yy.c config.cc + +epist_LDADD = ../../src/xatom.o ../../src/basedisplay.o \ + ../../src/util.o ../../src/timer.o MAINTAINERCLEANFILES = Makefile.in distclean-local: rm -f *\~ .\#* -# local dependencies +epist.1: epist.1.in + @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir)," \ + epist.1.in > epist.1 -epist.o: epist.cc epist.hh ../../src/BaseDisplay.hh ../../src/Timer.hh \ - ../../src/Util.hh screen.hh window.hh ../../src/XAtom.hh -main.o: main.cc epist.hh ../../src/BaseDisplay.hh ../../src/Timer.hh \ - ../../src/Util.hh ../../src/i18n.hh ../../nls/blackbox-nls.hh -screen.o: screen.cc ../../src/XAtom.hh screen.hh window.hh epist.hh \ - ../../src/BaseDisplay.hh ../../src/Timer.hh ../../src/Util.hh -window.o: window.cc window.hh epist.hh ../../src/BaseDisplay.hh \ - ../../src/Timer.hh ../../src/Util.hh ../../src/XAtom.hh +epistrc.5: epistrc.5.in + @regex_cmd@ -e "s,@pkgdatadir@,$(pkgdatadir)," \ + epistrc.5.in > epistrc.5 + +install-data-local: epistrc + test -f $(DESTDIR)$(pkgdatadir)/epistrc || \ + $(INSTALL_DATA) epistrc $(DESTDIR)$(pkgdatadir) + +uninstall-am: + rm -f $(DESTDIR)$(pkgdatadir)/epistrc + +# local dependencies +actions.o: actions.cc actions.hh +config.o: config.cc config.hh +epist.o: epist.cc actions.hh epist.hh window.hh ../../src/util.hh \ + keytree.hh ../../src/timer.hh screen.hh config.hh \ + ../../src/basedisplay.hh parser.hh ../../src/xatom.hh +keytree.o: keytree.cc keytree.hh ../../src/timer.hh actions.hh \ + screen.hh window.hh ../../src/util.hh config.hh epist.hh \ + ../../src/basedisplay.hh +main.o: main.cc ../../version.h epist.hh actions.hh window.hh \ + ../../src/util.hh keytree.hh ../../src/timer.hh screen.hh config.hh \ + ../../src/basedisplay.hh +parser.o: parser.cc parser.hh actions.hh keytree.hh ../../src/timer.hh \ + screen.hh window.hh ../../src/util.hh config.hh +screen.o: screen.cc ../../src/basedisplay.hh ../../src/timer.hh \ + ../../src/util.hh ../../src/xatom.hh screen.hh window.hh config.hh \ + epist.hh actions.hh keytree.hh +window.o: window.cc epist.hh actions.hh window.hh ../../src/util.hh \ + keytree.hh ../../src/timer.hh screen.hh config.hh \ + ../../src/basedisplay.hh ../../src/xatom.hh +yacc_parser.o: yacc_parser.cc parser.hh actions.hh keytree.hh \ + ../../src/timer.hh screen.hh window.hh ../../src/util.hh config.hh