# # Copyright (c) 1989 The Regents of the University of California. # All rights reserved. # # Redistribution and use in source and binary forms are permitted # provided that the above copyright notice and this paragraph are # duplicated in all such forms and that any documentation, # advertising materials, and other materials related to such # distribution and use acknowledge that the software was developed # by the University of California, Berkeley. The name of the # University may not be used to endorse or promote products derived # from this software without specific prior written permission. # THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. # # @(#)Makefile 5.3 (Berkeley) %G% # CFLAGS= -DTRACE -O SRCS= agoto.c aminmax.c aon.c areaclear.c beep.c bitcopy.c cleara.c \ clearg.c curon.c dispmsg.c draw.c drawbox.c dumpmat.c \ emptyrow.c error.c escseq.c gdefault.c gon.c kon.c line.c mat.c \ message.c minmax.c motion.c move.c movecurs.c newmat.c outchar.c \ outstr.c printg.c rawchar.c rbon.c rdchar.c readline.c set.c \ setmat.c sync.c texton.c ttyinit.c update.c video.c zermat.c \ zoomn.c zoomon.c zoomout.c OBJS= agoto.o aminmax.o aon.o areaclear.o beep.o bitcopy.o cleara.o \ clearg.o curon.o dispmsg.o draw.o drawbox.o dumpmat.o \ emptyrow.o error.o escseq.o gdefault.o gon.o kon.o line.o mat.o \ message.o minmax.o motion.o move.o movecurs.o newmat.o outchar.o \ outstr.o printg.o rawchar.o rbon.o rdchar.o readline.o set.o \ setmat.o sync.o texton.o ttyinit.o update.o video.o zermat.o \ zoomn.o zoomon.o zoomout.o MAN= lib2648.0 all: lib2648.a lib2648.a: ${OBJS} ar cr lib2648.a `lorder ${OBJS} | tsort` clean: rm -f ${OBJS} core lib2648.a cleandir: clean rm -f ${MAN} tags .depend depend: ${SRCS} mkdep ${CFLAGS} ${SRCS} install: ${MAN} install -o bin -g bin -m 644 lib2648.a ${DESTDIR}/usr/lib/lib2648.a ranlib ${DESTDIR}/usr/lib/lib2648.a install -c -o bin -g bin -m 444 lib2648.0 ${DESTDIR}/usr/man/cat3 lint: ${SRCS} lint ${CFLAGS} ${SRCS} tags: ${SRCS} ctags ${SRCS}