|
|
1.1 ! root 1: # ! 2: # cursor package maker ! 3: # ! 4: # @(#)Makefile 1.10 (Berkeley) 4/17/81 ! 5: # ! 6: HEADERS=curses.h unctrl.h cr_ex.h curses.ext ! 7: CFILES= box.c clear.c initscr.c endwin.c mvprintw.c mvscanw.c mvwin.c \ ! 8: newwin.c overlay.c overwrite.c printw.c scanw.c refresh.c \ ! 9: touchwin.c erase.c clrtobot.c clrtoeol.c cr_put.c cr_tty.c \ ! 10: longname.c delwin.c insertln.c deleteln.c scroll.c getstr.c \ ! 11: getch.c addstr.c addch.c move.c curses.c unctrl.c standout.c \ ! 12: tstp.c insch.c delch.c ! 13: ! 14: OBJS= box.o clear.o initscr.o endwin.o mvprintw.o mvscanw.o mvwin.o \ ! 15: newwin.o overlay.o overwrite.o printw.o scanw.o refresh.o \ ! 16: touchwin.o erase.o clrtobot.o clrtoeol.o cr_put.o cr_tty.o \ ! 17: longname.o delwin.o insertln.o deleteln.o scroll.o getstr.o \ ! 18: getch.o addstr.o addch.o move.o curses.o unctrl.o standout.o \ ! 19: tstp.o insch.o delch.o ! 20: ! 21: POBJS= box.p clear.p initscr.p endwin.p mvprintw.p mvscanw.p mvwin.p \ ! 22: newwin.p overlay.p overwrite.p printw.p scanw.p refresh.p \ ! 23: touchwin.p erase.p clrtobot.p clrtoeol.p cr_put.p cr_tty.p \ ! 24: longname.p delwin.p insertln.p deleteln.p scroll.p getstr.p \ ! 25: getch.p addstr.p addch.p move.p curses.p unctrl.p standout.p \ ! 26: tstp.p insch.p delch.p ! 27: ! 28: ! 29: CTAGS= ctags ! 30: CC= cc ! 31: LINT= lint ! 32: LPASS1= /usr/lib/lint/lint1 ! 33: AR= ar ! 34: RM= rm ! 35: LN= ln ! 36: CFL= ! 37: CFLAGS= -O ${CFL} ! 38: LDFLAGS= ! 39: .SUFFIXES: .p ! 40: ! 41: .c.p: ! 42: rm -f x.c ! 43: ln $*.c x.c ! 44: ${CC} ${CFLAGS} -p -c x.c ! 45: mv x.o $*.p ! 46: ! 47: libcurses: ${HEADERS} crlib ! 48: ! 49: crlib: ${OBJS} ! 50: ${AR} rv crlib $? ! 51: ranlib crlib ! 52: ! 53: pcrlib: ${POBJS} ! 54: rm -f x.c ! 55: ${AR} rv pcrlib $? ! 56: ranlib pcrlib ! 57: ! 58: test: crlib test.o ! 59: ${CC} ${LDFLAGS} ${CFLAGS} -o test test.o crlib -ltermlib ! 60: ! 61: cat.o: curses.h ! 62: ${CC} -c ${CFLAGS} cat.c ! 63: ! 64: new: cleanup ctags ! 65: ${CC} -c ${CFLAGS} ${CFILES} ! 66: ${AR} qv crlib ${OBJS} ! 67: ${RM} /ya/staff/arnold/=eye/crlib /ya/staff/arnold/=hacks/crlib \ ! 68: /ya/staff/arnold/=eye/curses.h /ya/staff/arnold/=hacks/curses.h ! 69: ! 70: clean: ! 71: rm -f ${OBJS} crlib ! 72: ! 73: ctags: ! 74: ${CTAGS} ${CFILES} curses.h cr_ex.h ! 75: ! 76: lint: ! 77: ${LINT} -hxb ${CFL} ${CFILES} -lcurses > lint.out ! 78: ! 79: lpr: ! 80: -pr curses.h ${CFILES} | lpr ! 81: -lpq ! 82: ! 83: tp: ! 84: tp crm0 Makefile tags ${HEADERS} ${CFILES} llib-lcurses ! 85: ! 86: tar: ! 87: tar crvf curses.tar Makefile tags ${HEADERS} ${CFILES} llib-lcurses ! 88: ! 89: llib-lcurses.ln: llib-lcurses ! 90: -(/lib/cpp -C -Dlint llib-lcurses | ${LPASS1} > llib-lcurses.ln ) 2>&1 | grep -v warning ! 91: ! 92: install: crlib ! 93: cp crlib ${DESTDIR}/usr/lib/libcurses.a ! 94: ranlib ${DESTDIR}/usr/lib/libcurses.a
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.