Annotation of cci/usr/src/ucb/rtar/Makefile, revision 1.1.1.1

1.1       root        1: #      Makefile        1.12    83/07/03
                      2: #
                      3: #
                      4: DESTDIR=
                      5: AS=/bin/as
                      6: CC=/bin/cc
                      7: LD=/bin/ld
                      8: INCLDIR=${DESTDIR}/usr/include
                      9: MAKEPARAM = AS=${AS} CC=${CC} LD=${LD} INCLDIR=${INCLDIR} DESTDIR=${DESTDIR}
                     10: 
                     11: SRCS =  rtar.c tarrmt.c 
                     12: 
                     13: OBJS =         rtar.o tarrmt.o
                     14: 
                     15: DFLAGS =  -DRTAR
                     16: CFLAGS = -O $(DFLAGS)  
                     17: 
                     18: all: rtar
                     19: 
                     20: rtar:  $(OBJS)
                     21:        $(CC) $(CFLAGS) $(OBJS) -o rtar
                     22: rtar.o:
                     23:        cp ../../bin/tar.c rtar.c
                     24:        $(CC) $(CFLAGS) -c rtar.c
                     25: 
                     26: tarrmt.o:
                     27:        $(CC) $(CFLAGS) -c tarrmt.c
                     28: clean:
                     29:        rm -f rtar.o tarrmt.o  
                     30:        
                     31: cleansrc:
                     32:        rm -f *.[ch] Makefile
                     33: 
                     34: lint:
                     35:        lint $(DFLAGS) $(SRCS)
                     36: 
                     37: print:
                     38:        pr $(PSRCS) | lpr
                     39: 
                     40: install:
                     41:        chmod 4755 rtar
                     42:        install -s rtar $(DESTDIR)/usr/ucb/rtar
                     43: 
                     44: $(OBJS): ${INCLDIR}/stdio.h \
                     45:         ${INCLDIR}/sys/param.h \
                     46:         ${INCLDIR}/sys/stat.h \
                     47:         ${INCLDIR}/sys/dir.h \
                     48:         ${INCLDIR}/sys/ioctl.h \
                     49:         ${INCLDIR}/sys/mtio.h \
                     50:         ${INCLDIR}/sys/time.h \
                     51:         ${INCLDIR}/signal.h \
                     52:         ${INCLDIR}/errno.h
                     53: 
                     54: $(OBJS): ${INCLDIR}/sys/param.h \
                     55:         ${INCLDIR}/sys/mtio.h \
                     56:         ${INCLDIR}/sys/ioctl.h \
                     57:         ${INCLDIR}/netinet/in.h \
                     58:         ${INCLDIR}/stdio.h \
                     59:         ${INCLDIR}/netdb.h
                     60: 
                     61: $(OBJS): ${INCLDIR}/sys/types.h \
                     62:         ${INCLDIR}/netdb.h \
                     63:         ${INCLDIR}/sys/socket.h \
                     64:         ${INCLDIR}/errno.h \
                     65:         ${INCLDIR}/stdio.h \
                     66:         ${INCLDIR}/netinet/in.h 

unix.superglobalmegacorp.com

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