Annotation of 42BSD/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: CFLAGS=        -O
                      6: 
                      7: OBJS=  clrerr.o data.o doscan.o \
                      8:        exit.o fdopen.o fgetc.o fgets.o filbuf.o flsbuf.o fopen.o \
                      9:        fprintf.o fputc.o fputs.o freopen.o fseek.o ftell.o \
                     10:        getchar.o gets.o getw.o printf.o putchar.o puts.o \
                     11:        putw.o rdwr.o rew.o scanf.o setbuf.o setbuffer.o \
                     12:        sprintf.o strout.o ungetc.o
                     13: 
                     14: .c.o:
                     15:        ${CC} -p ${CFLAGS} -c $*.c
                     16:        -ld -X -r $*.o
                     17:        mv a.out profiled/$*.o
                     18:        ${CC} ${CFLAGS} -c $*.c
                     19:        -ld -x -r $*.o
                     20:        mv a.out $*.o
                     21: 
                     22: stdiolib stdiolib_p: ${OBJS}
                     23:        @echo "building profiled stdiolib"
                     24:        @cd profiled; ar cru ../stdiolib_p ${OBJS}
                     25:        @echo "building normal stdiolib"
                     26:        @ar cru stdiolib ${OBJS}
                     27: 
                     28: clean:
                     29:        rm -f stdiolib stdiolib_p ${OBJS} profiled/*.o

unix.superglobalmegacorp.com

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