# *************************************************************
#	misc	- miscelaneous pieces to manage TOPO /Ada/
# *************************************************************
#***********************************
# (C) Copyright 1993; dit/upm
#  Distributed under the conditions stated in the
#  TOPO General Public License (see file LICENSE)
#***********************************
# $Id: makefile,v 1.14 1995/01/20 14:47:21 lotos Exp $

TOOL=	Adamisc

MKS=	Meridian.mk Tartan.mk TeleSoft.mk Verdix.mk GNAT.mk \
	NONE.mk OTHER.mk

all:	agtm

install::
	test $(TOPOLIB)/ada || mkdir $(TOPOLIB)/ada

install::	$(MKS)
	cp $(MKS) $(TOPOLIB)/ada
	chmod a+r $(TOPOLIB)/ada/*.mk

install::	gnat.lib
	cp gnat.lib $(TOPOBIN)
	chmod a+rx $(TOPOBIN)/gnat.lib

install::	agtm
	cp agtm $(TOPOBIN)/agtm
	chmod a+rx $(TOPOBIN)/agtm

install::	SampleMakefile
	cp SampleMakefile $(TOPOLIB)/ada
	chmod a+r $(TOPOLIB)/ada/SampleMakefile

install::
	touch install

clean::
	-rm -f core *~ *.o
	-rm -f agtm

#----------------------------------------------------------
