diff options
Diffstat (limited to 'main.mk.in')
-rw-r--r-- | main.mk.in | 52 |
1 files changed, 11 insertions, 41 deletions
@@ -20,29 +20,6 @@ ver = 0.8r58 # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. export rvs = $(name) -# directories ###################################################### -srcdir = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -dirs = $(srcdir) $(prefix) $(exec_prefix) $(bindir) $(sbindir) $(libexecdir) -export srcdir prefix exec_prefix bindir sbindir libexecdir - -# programs ######################################################### -CC = @CC@ -RVS = @RVS@ -SHELL = @SHELL@ -RM = rm -f -CP = cp -SED = sed -INSTALL = install -MKDIR = $(INSTALL) -d #mkdir -p -INSTALL_PROGRAM = $(INSTALL) -INSTALL_DATA = $(INSTALL) -m 644 -TOUCH = touch -export RVS SHELL RM CP SED INSTALL MKDIR INSTALL_PROGRAM INSTALL_DATA TOUCH # plugins ########################################################## plugins = $(patsubst $(srcdir)/plugins/%,%, \ @@ -57,12 +34,17 @@ dist-plugins = $(addprefix dist-p-,$(plugins)) # phony targets #################################################### all : wrapper $(build-plugins) -.PHONY : install uninstall clean distclean dist libexec \ - build-wrapper install-wrapper uninstall-wrapper clean-wrapper distclean-wrapper dist-wrapper -#$(build-plugins) $(install-plugins) $(uninstall-plugins) $(clean-plugins) $(distclean-plugins) $(dist-plugins) - .SUFFIXES : - +VPATH = $(srcdir) +filelist = \ + COPYING \ + configure \ + Makefile.in \ + main.mk.in \ + config \ + HACKING \ + README \ + $(shell find ./*/* -type f) # install ########################################################## install : install-wrapper libexec $(install-plugins) @@ -85,18 +67,6 @@ clean : $(clean-plugins) clean-wrapper distclean : clean $(distclean-plugins) distclean-wrapper $(RM) Makefile -# dist ############################################################# - -d = $(name)-$(ver) -dist : $(d).tar.gz - -$(d).tar.gz : $(d) - tar -czf $@ $< - -$(d) : distclean - $(INSTALL) -m 777 -d $@ - $(CP) -r $(srcdir)/* $@ - # wrapper ########################################################## wrapper : build-wrapper @@ -121,6 +91,6 @@ dist-p-% : plugins/% plugins/%/Makefile ; $(MAKE) -C $< dist # implicit rules ################################################### -$(dirs) $(libexecdir)/$(rvs) : +$(libexecdir)/$(rvs) : $(MKDIR) $@ |