# # cursor package maker # # Ovmakefile-- makes overlay version of curses # HEADERS=curses.h unctrl.h curses.ext CFILES= box.c clear.c initscr.c endwin.c mvprintw.c mvscanw.c mvwin.c \ newwin.c overlay.c overwrite.c printw.c scanw.c refresh.c \ touchwin.c erase.c clrtobot.c clrtoeol.c cr_put.c cr_tty.c \ longname.c delwin.c insertln.c deleteln.c scroll.c getstr.c \ getch.c addstr.c addch.c move.c curses.c unctrl.c standout.c \ tstp.c insch.c delch.c OBJS= box.o clear.o initscr.o endwin.o mvprintw.o mvscanw.o mvwin.o \ newwin.o overlay.o overwrite.o printw.o scanw.o refresh.o \ touchwin.o erase.o clrtobot.o clrtoeol.o cr_put.o cr_tty.o \ longname.o delwin.o insertln.o deleteln.o scroll.o getstr.o \ getch.o addstr.o addch.o move.o curses.o unctrl.o standout.o \ tstp.o insch.o delch.o POBJS= box.p clear.p initscr.p endwin.p mvprintw.p mvscanw.p mvwin.p \ newwin.p overlay.p overwrite.p printw.p scanw.p refresh.p \ touchwin.p erase.p clrtobot.p clrtoeol.p cr_put.p cr_tty.p \ longname.p delwin.p insertln.p deleteln.p scroll.p getstr.p \ getch.p addstr.p addch.p move.p curses.p unctrl.p standout.p \ tstp.p insch.p delch.p CTAGS= ctags CC= cc -V LINT= lint LPASS1= /usr/lib/lint/lint1 AR= ar RM= rm LN= ln CFL= CFLAGS= -O ${CFL} LDFLAGS=-n .SUFFIXES: .p .c.p: rm -f x.c ln $*.c x.c ${CC} ${CFLAGS} -p -c x.c mv x.o $*.p libovcurses: ${HEADERS} libovcurses.a libovcurses.a: ${HEADERS} ${OBJS} ${AR} rv libovcurses.a $? -rm -f *.o plibovcurses: ${POBJS} rm -f x.c ${AR} rv plibovcurses $? cat.o: curses.h ${CC} -c ${CFLAGS} cat.c new: cleanup ctags ${CC} -c ${CFLAGS} ${CFILES} ${AR} qv libovcurses.a ${OBJS} ${RM} /ya/staff/arnold/=eye/ovcrlib /ya/staff/arnold/=hacks/crlib \ /ya/staff/arnold/=eye/curses.h /ya/staff/arnold/=hacks/curses.h clean: rm ${OBJS} libovcurses.a ctags: ${CTAGS} ${CFILES} curses.h lint: ${LINT} -hxb ${CFL} ${CFILES} -lcurses > lint.out lpr: -pr curses.h ${CFILES} | lpr -lpq llib-lcurses.ln: llib-lcurses -(/lib/cpp -C -Dlint llib-lcurses | ${LPASS1} > llib-lcurses.ln ) 2>&1 | grep -v warning cp: libovcurses cp libovcurses.a ${DESTDIR}/usr/lib/libovcurses.a ranlib ${DESTDIR}/usr/lib/libovcurses.a