Annotation of coherent/d/bin/lpr/Makefile, revision 1.1.1.1

1.1       root        1: # /usr/src/cmd/lpr/Makefile 11/13/90
                      2: # Make normal and hp versions of the line printer daemon and spooler.
                      3: # This also makes the hp filter,
                      4: # for converting nroff output to HP LaserJet printer escape sequences (PCL).
                      5: #DESTDIR=/interim/bin/
                      6: #DESTDIR2=/interim/usr/lib/
                      7: DESTDIR=/bin386/bin/
                      8: DESTDIR2=/bin386/usr/lib/
                      9: 
                     10: ALL=\
                     11:        hp\
                     12:        hpd\
                     13:        hpr\
                     14:        hpskip\
                     15:        lpd\
                     16:        lpr\
                     17:        lpskip\
                     18:        prps
                     19: 
                     20: 
                     21: OBJ=\
                     22:        hp.o\
                     23:        hpr.o\
                     24:        hpskip.o\
                     25:        hpd1.o\
                     26:        hpprint.o\
                     27:        lpd1.o\
                     28:        lpd2.o\
                     29:        lpr.o\
                     30:        lpskip.o\
                     31:        print.o\
                     32:        prps.o
                     33: 
                     34: # Primary target.
                     35: all:   $(ALL)
                     36:        : all done
                     37: 
                     38: # Secondary targets.
                     39: hp:    hp.o
                     40:        cc -O -o $(DESTDIR)$@ hp.o
                     41:        su root chmog 511 bin bin $(DESTDIR)$@
                     42: 
                     43: hpd:   hpd1.o lpd2.o hpprint.o
                     44:        cc -o $(DESTDIR2)$@ hpd1.o lpd2.o hpprint.o
                     45:        su root chmog 6511 daemon daemon $(DESTDIR2)$@
                     46: 
                     47: hpr:   hpr.o
                     48:        cc -O -o $(DESTDIR)$@ hpr.o
                     49:        su root chmog 6511 daemon daemon $(DESTDIR)$@
                     50: 
                     51: hpskip:        hpskip.o
                     52:        cc -O -o $(DESTDIR)$@ hpskip.o
                     53:        su root chmog 6511 daemon daemon $(DESTDIR)$@
                     54: 
                     55: lpr:   lpr.o
                     56:        cc -O -o $(DESTDIR)$@ lpr.o
                     57:        su root chmog 6511 daemon daemon $(DESTDIR)$@
                     58: 
                     59: lpd:   lpd1.o lpd2.o print.o
                     60:        cc -o $(DESTDIR2)$@ $?
                     61:        su root chmog 6511 daemon daemon $(DESTDIR2)$@
                     62: 
                     63: lpskip:        lpskip.o
                     64:        cc -O -o $(DESTDIR)$@ lpskip.o
                     65:        su root chmog 6511 daemon daemon $(DESTDIR)$@
                     66: 
                     67: prps:  prps.o
                     68:        cc -O -o $(DESTDIR)$@ $?
                     69:        su root chmog 6511 daemon daemon $(DESTDIR)$@
                     70: 
                     71: 
                     72: # Unlinked objects.
                     73: hpr.o: lpr.c
                     74:        cc -c -o $@ -DLASER $?
                     75: hpskip.o:      lpskip.c
                     76:        cc -c -o $@ -DLASER $?
                     77: hpd1.o:        lpd1.c
                     78:        cc -c -o $@ -DLASER $?
                     79: 
                     80: # Etc.
                     81: clean:
                     82:        rm $(ALL) $(OBJ)
                     83: strip: $(ALL)
                     84:        strip $(ALL)
                     85: 
                     86: # end of /usr/src/cmd/lpr/Makefile

unix.superglobalmegacorp.com

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