# HG changeset patch # User jwe # Date 947819927 0 # Node ID b9f5829ec843f363cd584e6282d32a18ee341a83 # Parent 5b77cf82393c2f07f21a94ca9cd3ac1f23697c66 [project @ 2000-01-14 03:18:47 by jwe] diff -r 5b77cf82393c -r b9f5829ec843 scripts/control/Makefile.in --- a/scripts/control/Makefile.in Fri Jan 14 02:55:00 2000 +0000 +++ b/scripts/control/Makefile.in Fri Jan 14 03:18:47 2000 +0000 @@ -20,56 +20,41 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_DATA = @INSTALL_DATA@ -SOURCES = *.m +SUBDIRS = base hinf obsolete sys -DISTFILES = Makefile.in $(SOURCES) +DISTSUBDIRS = $(SUBDIRS) -FCN_FILES = $(wildcard $(srcdir)/*.m) -FCN_FILES_NO_DIR = $(notdir $(FCN_FILES)) +BINDISTSUBDIRS = $(SUBDIRS) -BINDISTFILES = $(FCN_FILES) +DISTFILES = Makefile.in all: .PHONY: all -install install-strip: - $(top_srcdir)/mkinstalldirs $(fcnfiledir)/$(script_sub_dir) - for f in $(FCN_FILES_NO_DIR); do \ - rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - $(INSTALL_DATA) $(srcdir)/$$f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done -.PHONY: install install-strip - -uninstall: - for f in $(FCN_FILES_NO_DIR); \ - do rm -f $(fcnfiledir)/$(script_sub_dir)/$$f; \ - done -.PHONY: uninstall - -clean: -.PHONY: clean +$(SUBDIRS): + echo making all in $@ + $(MAKE) -C $@ all +.PHONY: $(SUBDIRS) -tags: $(SOURCES) - ctags $(SOURCES) - -TAGS: $(SOURCES) - etags $(SOURCES) +install install-strip uninstall clean mostlyclean distclean maintainer-clean:: + @$(subdir-for-command) +.PHONY: install install-strip uninstall +.PHONY: clean mostlyclean distclean maintainer-clean -mostlyclean: clean -.PHONY: mostlyclean +tags TAGS: + $(SUBDIR_FOR_COMMAND) -distclean: clean +distclean:: rm -f Makefile -.PHONY: distclean -maintainer-clean: distclean - rm -f tags TAGS -.PHONY: maintainer-clean +maintainer-clean:: + rm -f tags TAGS Makefile dist: ln $(DISTFILES) ../../`cat ../../.fname`/scripts/control + for dir in $(DISTSUBDIRS); do mkdir ../../`cat ../../.fname`/scripts/control/$$dir; $(MAKE) -C $$dir $@; done .PHONY: dist bin-dist: - ln $(BINDISTFILES) ../../`cat ../../.fname`/scripts/control + for dir in $(BINDISTSUBDIRS); do mkdir ../../`cat ../../.fname`/scripts/control/$$dir; $(MAKE) -C $$dir $@; done .PHONY: bin-dist diff -r 5b77cf82393c -r b9f5829ec843 scripts/statistics/Makefile.in --- a/scripts/statistics/Makefile.in Fri Jan 14 02:55:00 2000 +0000 +++ b/scripts/statistics/Makefile.in Fri Jan 14 03:18:47 2000 +0000 @@ -20,9 +20,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_DATA = @INSTALL_DATA@ -SOURCES = # *.m - -DISTFILES = Makefile.in $(SOURCES) +DISTFILES = Makefile.in SUBDIRS = base distributions models tests @@ -30,9 +28,6 @@ BINDISTSUBDIRS = $(SUBDIRS) -FCN_FILES = # $(wildcard $(srcdir)/*.m) -FCN_FILES_NO_DIR = # $(notdir $(FCN_FILES)) - all: $(SUBDIRS) .PHONY: all @@ -46,19 +41,9 @@ .PHONY: install install-strip uninstall .PHONY: clean mostlyclean distclean maintainer-clean -install install-strip:: - -uninstall:: - -tags TAGS:: $(SOURCES) +tags TAGS: $(SUBDIR_FOR_COMMAND) -tags:: - ctags $(SOURCES) - -TAGS:: $(SOURCES) - etags $(SOURCES) - distclean:: rm -f Makefile