# # Author: rajo # # Copyright (c) rajo # # $Id: Makefile.in,v 1.7 2002/02/20 12:36:45 host8 Exp $ PACKAGE = @PACKAGE@ VERSION = @VERSION@ # Directories {{{ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ sbindir = @sbindir@ libexecdir = @libexecdir@ sysconfdir = @sysconfdir@ sharedstatedir = @sharedstatedir@ localstatedir = @localstatedir@ libdir = @libdir@ infodir = @infodir@ mandir = @mandir@ man1dir = $(mandir)/man1 DESTDIR = top_builddir = . datadir = $(prefix)/@DATADIRNAME@ distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) SUBDIRS = src # }}} Directories # Programs {{{ SHELL = @SHELL@ INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_DATA = @INSTALL_DATA@ transform = @program_transform_name@ AWK = @AWK@ CC = @CC@ LN_S = @LN_S@ TAR = tar GZIP_ENV = --best mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs # }}} Programs LIBS = @LIBS@ DEFS = @DEFS@ CONFIG_HEADER = config.h # DISTFILES {{{ DISTFILES = AUTHORS BUGS COPYING INSTALL README TODO \ configure Makefile.in config.h.in \ install-sh mkinstalldirs \ doc \ doc/commandline.tmp doc/ep.1 \ doc/ep.vim doc/eprc \ doc/examples.txt doc/problems.txt \ doc/ep.project-specification.txt \ src \ src/Makefile.in \ src/cfg.c src/cfg.h \ src/cfglocal.c src/cfglocal.h \ src/fd.c src/fd.h \ src/m_memory.c src/m_memory.h \ src/m_proctable.c src/m_proctable.h \ src/main.c src/main.h \ src/menu.c src/menu.h \ src/message.c src/message.h \ src/process.c src/process.h \ src/proctable.c src/proctable.h \ src/sigserv.c src/sigserv.h \ src/proclink.h \ src/cfg \ src/cfg/Makefile src/cfg/TODO \ src/cfg/cfg.c src/cfg/cfg.h \ src/cfg/cfgfile.c src/cfg/cfgfile.h \ src/cfg/cmdline.c src/cfg/cmdline.h \ src/cfg/props.c src/cfg/props.h \ src/cfg/shared.c src/cfg/shared.h \ src/cfg/parse.c \ src/cfg/test.cfg \ src/cfg/str \ src/cfg/str/Makefile \ src/cfg/str/charsets.c src/cfg/str/charsets.h \ src/cfg/str/dynfgets.c src/cfg/str/dynfgets.h \ src/cfg/str/strconv.c src/cfg/str/strconv.h \ src/cfg/str/strctype.c src/cfg/str/strctype.h \ src/cfg/str/strdyn.c src/cfg/str/strdyn.h \ src/cfg/str/strplus.c src/cfg/str/strplus.h # }}} DISTFILES all: all-subdirs config.h all-subdirs: $(CONFIG_HEADER) for dir in $(SUBDIRS); \ do \ cd $$dir && $(MAKE) ; \ done Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck config.h: config.h.in cd $(top_builddir) \ && CONFIG_FILES= CONFIG_HEADERS=config.h \ $(SHELL) ./config.status # Clean {{{ clean: clean-subdirs clean-subdirs: for dir in $(SUBDIRS); \ do \ cd $$dir && $(MAKE) clean; \ done clean-maintainer: rm -f config.h config.status config.cache config.log \ Makefile core conftest* *.core # }}} Clean # Distribution {{{ # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist -rm -rf $(distdir) GZIP=$(GZIP_ENV) $(TAR) xzf $(distdir).tar.gz mkdir $(distdir)/=build mkdir $(distdir)/=inst dc_install_base=`cd $(distdir)/=inst && pwd`; \ cd $(distdir)/=build \ && ../configure --srcdir=.. --prefix=$$dc_install_base \ && $(MAKE) \ && $(MAKE) install \ && $(MAKE) installcheck \ && $(MAKE) dist -rm -rf $(distdir) @banner="$(distdir).tar.gz is ready for distribution"; \ dashes=`echo "$$banner" | sed s/./=/g`; \ echo "$$dashes"; \ echo "$$banner"; \ echo "$$dashes" dist: distdir -chmod -R a+r $(distdir) GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) -rm -rf $(distdir) dist-all: distdir -chmod -R a+r $(distdir) GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) -rm -rf $(distdir) distdir: $(DISTFILES) -rm -rf $(distdir) mkdir $(distdir) -chmod 755 $(distdir) here=`cd $(top_builddir) && pwd`; \ top_distdir=`cd $(distdir) && pwd`; \ distdir=`cd $(distdir) && pwd`; @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ mkdir $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done # }}} Distribution # Install {{{ install: install-bin install-man install-bin: install-man: installcheck: # }}} Install # vim:set ts=4: # vim600:fdm=marker fdl=0 fdc=3: