/* Copyright (C) 1992, Digital Equipment Corporation                         */
/* All rights reserved.                                                      */
/* See the file COPYRIGHT for a full description.                            */

/* Last modified on Wed Jan 13 12:05:40 PST 1993 by muller                   */

VERS = 2.11

all:: build

#define all_archive(x)                                                      @@\
build_install.all:: build_install.x                                         @@\
delete.all:: delete.x                                                       @@\
clean.all:: clean.x                                                         @@\
archive(x)

#define archive(x)                                                          @@\
build_install.x: FRC                                                        @@\
	@echo `date` '******************************************' x         @@\
	zcat x##-$(VERS).tar.Z | /bin/tar xf -                              @@\
	$(BIN_USE)/m3make -f m3makefile.##x all install                     @@\
clean.x: FRC                                                                @@\
	$(BIN_USE)/m3make -f m3makefile.##x clean                           @@\
	rm -fr x##-$(VERS).tar.Z                                            @@\
delete.x:: FRC                                                              @@\
	rm -fr x##-$(VERS).tar.Z x m3makefile.##x 

all_archive (libm3)

all_archive (tools)
all_archive (tools2)

all_archive (X11R4)
all_archive (trestle)

all_archive (data)
all_archive (gtools)
all_archive (tcl)

all_archive (vbtkit)
all_archive (formsvbt)
all_archive (vbtapps)

all_archive (codeview)
all_archive (mg)
all_archive (mgkit)
all_archive (zeus)
all_archive (zeustools)
all_archive (mentor)

all_archive (bicycle)
all_archive (games)

all_archive (dpskit)
all_archive (dpsapps)

all_archive (m3tk)

archive (m3make)
archive (doc)
archive (driver)
archive (compiler)

FTAGS:: FRC
	find $(PUB_USE) \( -name \*.i3 -o -name \*.ig \) -print | \
		m3tags -q - > FTAGS
	INSTALL	(FTAGS, $(LIB_INSTALL), 644)

	
