Annotation of cci/usr/src/lib/libc/stdio/Makefile, revision 1.1.1.1

1.1       root        1: #      Makefile        4.8     83/06/30
                      2: #
                      3: # doprnt is not here because it is machine dependent
                      4: #
                      5: MAKEPARAM = AS=${AS} CC=${CC} LD=${LD} INCLDIR=${INCLDIR} LIBDIR=${LIBDIR} ULIBDIR=${ULIBDIR} DESTDIR=${DESTDIR}
                      6: CFLAGS=        -O -I$(DESTDIR)/usr/include
                      7: 
                      8: OBJS=  clrerr.o data.o doscan.o \
                      9:        exit.o fdopen.o fgetc.o fgets.o filbuf.o flsbuf.o fopen.o \
                     10:        fprintf.o fputc.o fputs.o freopen.o fseek.o ftell.o \
                     11:        getchar.o gets.o getw.o printf.o putchar.o puts.o \
                     12:        putw.o rdwr.o rew.o scanf.o setbuf.o setbuffer.o \
                     13:        sprintf.o strout.o ungetc.o
                     14: 
                     15: .c.o:
                     16:        ${CC} -p ${CFLAGS} -c $*.c
                     17:        -${LD} -X -r $*.o
                     18:        mv a.out profiled/$*.o
                     19:        ${CC} ${CFLAGS} -c $*.c
                     20:        -${LD} -x -r $*.o
                     21:        mv a.out $*.o
                     22: 
                     23: stdiolib stdiolib_p: ${OBJS}
                     24:        @echo "building profiled stdiolib"
                     25:        @cd profiled; ar cru ../stdiolib_p ${OBJS}
                     26:        @echo "building normal stdiolib"
                     27:        @ar cru stdiolib ${OBJS}
                     28: 
                     29: clean:
                     30:        rm -f stdiolib stdiolib_p ${OBJS} profiled/*.o
                     31:        
                     32: cleansrc:
                     33: 
                     34:        rm -f *.c Makefile 

unix.superglobalmegacorp.com

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