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

; Thu Sep 23 18:16:26 1993 GM: comments added

	; doesn't matter if not there

	delete ram:libger.a
	delete ram:libbger.a


	; make normal(=large) and base-relative specific things

	cd not_equal/normal/
	dmake gerlib
	cd //
	cd not_equal/baserel/
	dmake gerlib
	cd //


	; some support-routines (Printf etc.)

	cd amiga/normal
	dmake gerlib
	cd //
	cd amiga/baserel
	dmake gerlib
	cd //


	; the part that is normally done by libgcc.a
	; (math-functions etc.)

	cd gnulib/normal
	dmake gerlib
	cd //
	cd gnulib/baserel
	dmake gerlib
	cd //


	; some popular string-functions

	cd string/normal
	dmake gerlib
	cd //
	cd string/baserel
	dmake gerlib
	cd //


	; some support functions (partly ansi, partly some other things)

	cd bonus/normal
	dmake gerlib
	cd //
	cd bonus/baserel
	dmake gerlib
	cd //


	; does not function yet
	; make only the .o-files, don't ar them in our lib

;	cd /libauto
;	dmake gerlib


	; make access faster

	usr:bin/ranlib ram:libger.a
	usr:bin/ranlib ram:libbger.a

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


	; copy libs in our libs-directory

	copy ram:libger.a g:lib/libger.a
	copy ram:libbger.a g:blib/libger.a
