adopt latest version of fgoto() and plod() from vi
[unix-history] / usr / src / lib / libcurses / Makefile
index 1ed13e7..0704636 100644 (file)
@@ -1,31 +1,35 @@
 #
 # cursor package maker
 #
 #
 # cursor package maker
 #
-# @(#)Makefile 1.5 (Berkeley) %G%
+# @(#)Makefile 1.11 (Berkeley) %G%
 #
 #
-HEADERS=curses.h unctrl.h cr_ex.h
+HEADERS=curses.h unctrl.h cr_ex.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 \
 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
+       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 \
 
 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
+       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 \
 
 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
+       getch.p addstr.p addch.p move.p curses.p unctrl.p standout.p \
+       tstp.p insch.p delch.p
 
 
 CTAGS= ctags
 CC=    cc
 LINT=  lint
 
 
 CTAGS= ctags
 CC=    cc
 LINT=  lint
+LPASS1=        /usr/lib/lint/lint1
 AR=    ar
 RM=    rm
 LN=    ln
 AR=    ar
 RM=    rm
 LN=    ln
@@ -77,18 +81,20 @@ lpr:
        -lpq
 
 tp:
        -lpq
 
 tp:
-       tp crm0 Makefile tags ${HEADERS} curses.ext ${CFILES} llib-lcurses
+       tp crm0 Makefile tags ${HEADERS} ${CFILES} llib-lcurses
 
 tar:
 
 tar:
-       tar crvf curses.tar Makefile tags ${HEADERS} curses.ext ${CFILES} llib-lcurses
+       tar crvf curses.tar Makefile tags ${HEADERS} ${CFILES} llib-lcurses
 
 llib-lcurses.ln: llib-lcurses
 
 llib-lcurses.ln: llib-lcurses
-       -(/lib/cpp -C -Dlint llib-lcurses | /usr/lib/lpass1 > llib-lcurses.ln ) 2>&1 | grep -v warning
+       -(/lib/cpp -C -Dlint llib-lcurses | ${LPASS1} > llib-lcurses.ln ) 2>&1 | grep -v warning
 
 install:
        install -c crlib ${DESTDIR}/usr/lib/libcurses.a
        ranlib ${DESTDIR}/usr/lib/libcurses.a
 
 
 install:
        install -c crlib ${DESTDIR}/usr/lib/libcurses.a
        ranlib ${DESTDIR}/usr/lib/libcurses.a
 
+source: ${HEADERS} ${CFILES}
+
 addch.c: SCCS/s.addch.c ; sccs get addch.c
 addstr.c: SCCS/s.addstr.c ; sccs get addstr.c
 box.c: SCCS/s.box.c ; sccs get box.c
 addch.c: SCCS/s.addch.c ; sccs get addch.c
 addstr.c: SCCS/s.addstr.c ; sccs get addstr.c
 box.c: SCCS/s.box.c ; sccs get box.c
@@ -100,6 +106,7 @@ cr_put.c: SCCS/s.cr_put.c ; sccs get cr_put.c
 cr_tty.c: SCCS/s.cr_tty.c ; sccs get cr_tty.c
 curses.c: SCCS/s.curses.c ; sccs get curses.c
 curses.h: SCCS/s.curses.h ; sccs get curses.h
 cr_tty.c: SCCS/s.cr_tty.c ; sccs get cr_tty.c
 curses.c: SCCS/s.curses.c ; sccs get curses.c
 curses.h: SCCS/s.curses.h ; sccs get curses.h
+delch.c: SCCS/s.delch.c ; sccs get delch.c
 deleteln.c: SCCS/s.deleteln.c ; sccs get deleteln.c
 delwin.c: SCCS/s.delwin.c ; sccs get delwin.c
 endwin.c: SCCS/s.endwin.c ; sccs get endwin.c
 deleteln.c: SCCS/s.deleteln.c ; sccs get deleteln.c
 delwin.c: SCCS/s.delwin.c ; sccs get delwin.c
 endwin.c: SCCS/s.endwin.c ; sccs get endwin.c
@@ -107,6 +114,7 @@ erase.c: SCCS/s.erase.c ; sccs get erase.c
 getch.c: SCCS/s.getch.c ; sccs get getch.c
 getstr.c: SCCS/s.getstr.c ; sccs get getstr.c
 initscr.c: SCCS/s.initscr.c ; sccs get initscr.c
 getch.c: SCCS/s.getch.c ; sccs get getch.c
 getstr.c: SCCS/s.getstr.c ; sccs get getstr.c
 initscr.c: SCCS/s.initscr.c ; sccs get initscr.c
+insch.c: SCCS/s.insch.c ; sccs get insch.c
 insertln.c: SCCS/s.insertln.c ; sccs get insertln.c
 llib-lcurses: SCCS/s.llib-lcurses ; sccs get llib-lcurses
 longname.c: SCCS/s.longname.c ; sccs get longname.c
 insertln.c: SCCS/s.insertln.c ; sccs get insertln.c
 llib-lcurses: SCCS/s.llib-lcurses ; sccs get llib-lcurses
 longname.c: SCCS/s.longname.c ; sccs get longname.c
@@ -123,5 +131,6 @@ scanw.c: SCCS/s.scanw.c ; sccs get scanw.c
 scroll.c: SCCS/s.scroll.c ; sccs get scroll.c
 standout.c: SCCS/s.standout.c ; sccs get standout.c
 touchwin.c: SCCS/s.touchwin.c ; sccs get touchwin.c
 scroll.c: SCCS/s.scroll.c ; sccs get scroll.c
 standout.c: SCCS/s.standout.c ; sccs get standout.c
 touchwin.c: SCCS/s.touchwin.c ; sccs get touchwin.c
+tstp.c: SCCS/s.tstp.c ; sccs get tstp.c
 unctrl.c: SCCS/s.unctrl.c ; sccs get unctrl.c
 unctrl.h: SCCS/s.unctrl.h ; sccs get unctrl.h
 unctrl.c: SCCS/s.unctrl.c ; sccs get unctrl.c
 unctrl.h: SCCS/s.unctrl.h ; sccs get unctrl.h