# $Header:Makefile 12.0$
# $ACIS:Makefile 12.0$
# $Source: /ibm/acis/usr/src/usr.lib/font/dev3812/RCS/Makefile,v $
#
# The directory fixedfonts contains the fixed width and proportionately
# spaced IBM fonts.

# The directory typographic contains the necessary directories and
# makefiles to make and install the typographical fonts.  

# The fonts in fixedfonts and typographic/Afont are shipped with the
# system.  The rest of the typographic fonts (sans, serif, pispecial)
# must be ordered separately.

DESCFILE=	DESC
DEVDIR=         ${DESTDIR}/usr/lib/font/dev3812
MKDIR=		${DESTDIR}/usr/lib/font ${DEVDIR} ${DEVDIR}/fonts
MAKEDEV=	/usr/ibm/makedev
FONTS =  	R I B BI H HI HB HY S SB HS HZ L LI LB LY K KI KB KY D SP 
AFONT =  	A
FIXEDFONTS= 	AP BR Bb Bi CW Ci Cw Cb Cc Cd Ce Cf Du E  EB EI EL F  G GI \
		GB GP KT Lr Lb RA RB O  OB PP PB PI RM SC Sf Sb Si SH SY TX

SUBDIRS	=  typographic fixedfonts

all clean:
	for i in ${SUBDIRS};\
	do\
		(cd $$i; make $@);\
	done

# Install all of the fonts.
install: ${MKDIR}
	for i in ${SUBDIRS};\
	do\
		(cd $$i; make install DESTDIR=${DESTDIR} );\
	done

${MKDIR}:
	mkdir $@

# Create the binary version of the width tables.
installwidths:
	cd ${DEVDIR}; ${MAKEDEV} ${DESCFILE} ${FIXEDFONTS}
