Annotation of cci/usr/src/usr.lib/libcurses/Makefile, revision 1.1.1.1

1.1       root        1: #      Makefile        1.17    83/07/02
                      2: #
                      3: # curses package
                      4: #
                      5: MAKEPARAM = AS=${AS} CC=${CC} LD=${LD} INCLDIR=${INCLDIR} LIBDIR=${LIBDIR} ULIBDIR=${ULIBDIR} DESTDIR=${DESTDIR}
                      6: 
                      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: OBJS=  addch.o addstr.o box.o clear.o clrtobot.o clrtoeol.o cr_put.o \
                     14:        cr_tty.o curses.o delch.o deleteln.o delwin.o endwin.o erase.o \
                     15:        getch.o getstr.o initscr.o insch.o insertln.o longname.o move.o \
                     16:        mvprintw.o mvscanw.o mvwin.o newwin.o overlay.o overwrite.o \
                     17:        printw.o refresh.o scanw.o scroll.o standout.o touchwin.o tstp.o \
                     18:        unctrl.o
                     19: CTAGS= ctags
                     20: CFLAGS=        -O
                     21: 
                     22: .c.o:
                     23:        ${CC} -c -p ${CFLAGS} $*.c
                     24:        ${LD} -x -r $*.o
                     25:        mv a.out profiled/$*.o
                     26:        ${CC} -c ${CFLAGS} $*.c
                     27:        ${LD} -x -r $*.o
                     28:        mv a.out $*.o
                     29: 
                     30: libcurses libcurses_p: ${OBJS}
                     31:        @echo building profiled libcurses
                     32:        @cd profiled; ar cr ../libcurses_p ${OBJS}
                     33:        @echo building normal libcurses
                     34:        @ar cr libcurses ${OBJS}
                     35: 
                     36: install: libcurses libcurses_p
                     37:        install  libcurses ${DESTDIR}/usr/lib/libcurses.a
                     38:        ranlib ${DESTDIR}/usr/lib/libcurses.a
                     39:        install  libcurses_p ${DESTDIR}/usr/lib/libcurses_p.a
                     40:        ranlib ${DESTDIR}/usr/lib/libcurses_p.a
                     41: 
                     42: clean:
                     43:        rm -f ${OBJS} profiled/*.o a.out core test errs libcurses libcurses_p
                     44:        
                     45: cleansrc:
                     46:        
                     47:        rm -f *.[ch] curses* Makefile
                     48: 
                     49: ctags:
                     50:        ${CTAGS} ${CFILES} curses.h
                     51: 
                     52: lint:
                     53:        lint -hxb ${CFILES} -lcurses > lint.out
                     54: 
                     55: test:  libcurses test.o
                     56:        ${CC} ${LDFLAGS} ${CFLAGS} -o test test.o crlib -ltermlib
                     57: 
                     58: cat.o: curses.h
                     59:        ${CC} -c ${CFLAGS} cat.c

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.