head     1.4;
branch   ;
access   ;
symbols  ;
locks    ;
comment  @@;


1.4
date     92.02.17.13.30.41;  author bin;  state Exp;
branches ;
next     1.3;

1.3
date     91.04.19.20.54.26;  author bin;  state Exp;
branches ;
next     1.2;

1.2
date     91.04.19.20.52.11;  author bin;  state Exp;
branches ;
next     1.1;

1.1
date     91.02.07.20.51.39;  author bin;  state Exp;
branches ;
next     ;


desc
@initial version provided by steve ness
@


1.4
log
@update by steve for new make macros
@
text
@CFLAGS=	-O -DCM_N -DCM_GT -DCM_B -DCM_D

DESTDIR=/interim/usr/lib/

libterm.a: termcap.o tgoto.o tputs.o
	$(AR) rucks $(DESTDIR)libterm.a termcap.o tgoto.o tputs.o

install: libterm.a
	cp libterm.a ${DESTDIR}/usr/lib/libterm.a

clean:
	-rm -f *.o
	-rm -f libterm.a
	-rm -f etc_termcap

# reorder gives an editor command for most common terminals
# (in reverse order from n'th to 1'st most commonly used)
# to move them to the front of termcap

/etc/termcap: etc_termcap
	cp etc_termcap /etc/termcap
	rm etc_termcap

etc_termcap: termcap
	ed - termcap < reorder

tabset:
	-mkdir /usr/lib/tabset

# who knows ...
vgrind:
	${VGRIND} -n -h "Terminal Capibility Data Base" \
	termcap reorder makefile
@


1.3
log
@just added setting permissions.
@
text
@d2 1
d6 28
a33 3
	su root rm -f $(DESTDIR)$@@
	ar cr $(DESTDIR)libterm.a termcap.o tgoto.o tputs.o
	su root chmog 444 bin bin $(DESTDIR)$@@
@


1.2
log
@modified for bob h. Chopped out references to building
etc/termcap as not all pieces appear to be here to build an etc/termcap
@
text
@d7 1
a7 1

@


1.1
log
@Initial revision
@
text
@d2 1
d5 2
a6 1
	ar cr libterm.a termcap.o tgoto.o tputs.o
a7 26
install: libterm.a
	cp libterm.a ${DESTDIR}/usr/lib/libterm.a

clean:
	-rm -f *.o
	-rm -f libterm.a
	-rm -f etc_termcap

# reorder gives an editor command for most common terminals
# (in reverse order from n'th to 1'st most commonly used)
# to move them to the front of termcap

/etc/termcap: etc_termcap
	cp etc_termcap /etc/termcap
	rm etc_termcap

etc_termcap: termcap
	ed - termcap < reorder

tabset:
	-mkdir /usr/lib/tabset

# who knows ...
vgrind:
	${VGRIND} -n -h "Terminal Capibility Data Base" \
	termcap reorder makefile
@
