|
|
1.1 ! root 1: # Makefile 1.17 83/07/02 ! 2: # ! 3: # curses package ! 4: # ! 5: CFILES= box.c clear.c initscr.c endwin.c mvprintw.c mvscanw.c mvwin.c \ ! 6: newwin.c overlay.c overwrite.c printw.c scanw.c refresh.c \ ! 7: touchwin.c erase.c clrtobot.c clrtoeol.c cr_put.c cr_tty.c \ ! 8: longname.c delwin.c insertln.c deleteln.c scroll.c getstr.c \ ! 9: getch.c addstr.c addch.c move.c curses.c unctrl.c standout.c \ ! 10: tstp.c insch.c delch.c ! 11: OBJS= addch.o addstr.o box.o clear.o clrtobot.o clrtoeol.o cr_put.o \ ! 12: cr_tty.o curses.o delch.o deleteln.o delwin.o endwin.o erase.o \ ! 13: getch.o getstr.o initscr.o insch.o insertln.o longname.o move.o \ ! 14: mvprintw.o mvscanw.o mvwin.o newwin.o overlay.o overwrite.o \ ! 15: printw.o refresh.o scanw.o scroll.o standout.o touchwin.o tstp.o \ ! 16: unctrl.o ! 17: CTAGS= ctags ! 18: CFLAGS= -O ! 19: ! 20: .c.o: ! 21: ${CC} -c -p ${CFLAGS} $*.c ! 22: ld -x -r $*.o ! 23: mv a.out profiled/$*.o ! 24: ${CC} -c ${CFLAGS} $*.c ! 25: ld -x -r $*.o ! 26: mv a.out $*.o ! 27: ! 28: libcurses libcurses_p: ${OBJS} ! 29: @echo building profiled libcurses ! 30: @cd profiled; ar cr ../libcurses_p ${OBJS} ! 31: @echo building normal libcurses ! 32: @ar cr libcurses ${OBJS} ! 33: ! 34: install: libcurses libcurses_p ! 35: install -m 644 libcurses ${DESTDIR}/usr/lib/libcurses.a ! 36: ranlib ${DESTDIR}/usr/lib/libcurses.a ! 37: install -m 644 libcurses_p ${DESTDIR}/usr/lib/libcurses_p.a ! 38: ranlib ${DESTDIR}/usr/lib/libcurses_p.a ! 39: ! 40: clean: ! 41: rm -f ${OBJS} profiled/*.o a.out core test errs libcurses libcurses_p ! 42: ! 43: ctags: ! 44: ${CTAGS} ${CFILES} curses.h ! 45: ! 46: lint: ! 47: lint -hxb ${CFILES} -lcurses > lint.out ! 48: ! 49: test: libcurses test.o ! 50: ${CC} ${LDFLAGS} ${CFLAGS} -o test test.o crlib -ltermlib ! 51: ! 52: cat.o: curses.h ! 53: ${CC} -c ${CFLAGS} cat.c
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.