; Script that builds libleda.a
; we do it in memory for security and speed reasons

; Thu Sep 23 18:16:26 1993 GM: comments added
; Thu Oct  7 14:14:43 1993 GM: rewritten for LEDA
; Thu Oct  7 14:29:39 1993 GM: rewritten for gpp
; Mon Oct 18 17:47:25 1993 GM: added iostreams/stdio
; Tue Oct 26 20:19:02 1993 GM: added normal/baserel stuff

	; doesn't matter if not there

	delete ram:libgpp.a
	delete ram:libbgpp.a


	cd iostream/normal/
	dmake gpplib
	cd //

	cd iostream/baserel/
	dmake gpplib
	cd //

	cd iostream/normal/stdio/
	dmake gpplib
	cd ///

	cd iostream/baserel/stdio/
	dmake gpplib
	cd ///

	cd src/normal/
	dmake gpplib
	cd //

	cd src/baserel/
	dmake gpplib
	cd //

	cd ger_add/normal/
	dmake gpplib
	cd //

	cd ger_add/baserel/
	dmake gpplib
	cd //

	; make access faster

	usr:bin/ranlib ram:libgpp.a
	usr:bin/ranlib ram:libbgpp.a

	; if sd0: (resident ram disk) used
;	copy ram:libgpp.a sd0:lib/libgpp.a


	; copy lib in our libs-directory

	copy ram:libgpp.a g:lib/libgpp.a
	copy ram:libbgpp.a g:blib/libgpp.a
