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

1.1       root        1: #      Makefile        4.9     83/06/30
                      2: #
                      3: MAKEPARAM = AS=${AS} CC=${CC} LD=${LD} INCLDIR=${INCLDIR} LIBDIR=${LIBDIR} ULIBDIR=${ULIBDIR} DESTDIR=${DESTDIR}
                      4: 
                      5: OBJS=  gethostbyname.o gethostbyaddr.o gethostent.o \
                      6:        getnetbyaddr.o getnetent.o getnetbyname.o \
                      7:        getproto.o getprotoent.o getprotoname.o \
                      8:        getservent.o getservbyport.o getservbyname.o \
                      9:        rcmd.o rexec.o ruserpass.o
                     10: CFLAGS=        -O -I$(DESTDIR)/usr/include
                     11: 
                     12: .c.o:
                     13:        ${CC} -p -c ${CFLAGS} $*.c
                     14:        -${LD} -X -r $*.o
                     15:        mv a.out profiled/$*.o
                     16:        ${CC} ${CFLAGS} -c $*.c
                     17:        -${LD} -x -r $*.o
                     18:        mv a.out $*.o
                     19: 
                     20: netlib netlib_p: ${OBJS}
                     21:        @echo "building profiled netlib"
                     22:        @cd profiled; ar cru ../netlib_p ${OBJS}
                     23:        @echo "building normal netlib"
                     24:        @ar cru netlib ${OBJS}
                     25: 
                     26: clean:
                     27:        rm -f ${OBJS} profiled/*.o errs a.out core netlib netlib_p
                     28:        
                     29: cleansrc:
                     30: 
                     31:        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.