head     1.3;
access   ;
symbols  ;
locks    bin:1.3;
comment  @@;


1.3
date     91.04.19.19.48.46;  author bin;  state Exp;
branches ;
next	1.2;

1.2
date     91.03.12.21.27.46;  author bin;  state Exp;
branches ;
next	1.1;

1.1
date     91.02.08.15.42.49;  author bin;  state Exp;
branches ;
next	;


desc
@initial version provided by steve ness
@


1.3
log
@bob h modified for use on romana
@
text
@# /usr/src/cmd/lpr/Makefile 11/13/90
# Make normal and hp versions of the line printer daemon and spooler.
# This also makes the hp filter,
# for converting nroff output to HP LaserJet printer escape sequences (PCL).
DESTDIR=/interim/usr/bin/
DESTDIR2=/interim/usr/lib/

ALL=\
	hp\
	hpd\
	hpr\
	hpskip\
	lpd\
	lpr\
	lpskip\
	prps


OBJ=\
	hp.o\
	hpr.o\
	hpskip.o\
	hpd1.o\
	hpprint.o\
	lpd1.o\
	lpd2.o\
	lpr.o\
	lpskip.o\
	print.o\
	prps.o

# Primary target.
all:	$(ALL)
	: all done

# Secondary targets.
hp:	hp.o
	cc -O -o $(DESTDIR)$@@ hp.o
	su root chmog 511 bin bin $(DESTDIR)$@@

hpd:	hpd1.o lpd2.o hpprint.o
	cc -o $(DESTDIR2)$@@ hpd1.o lpd2.o hpprint.o
	su root chmog 6511 daemon daemon $(DESTDIR2)$@@

hpr:	hpr.o
	cc -O -o $(DESTDIR)$@@ hpr.o
	su root chmog 6511 daemon daemon $(DESTDIR)$@@

hpskip:	hpskip.o
	cc -O -o $(DESTDIR)$@@ hpskip.o
	su root chmog 6511 daemon daemon $(DESTDIR)$@@

lpr:	lpr.o
	cc -O -o $(DESTDIR)$@@ lpr.o
	su root chmog 6511 daemon daemon $(DESTDIR)$@@

lpd:	lpd1.o lpd2.o print.o
	cc -o $(DESTDIR2)$@@ $?
	su root chmog 6511 daemon daemon $(DESTDIR2)$@@

lpskip:	lpskip.o
	cc -O -o $(DESTDIR)$@@ lpskip.o
	su root chmog 6511 daemon daemon $(DESTDIR)$@@

prps:	prps.o
	cc -O -o $(DESTDIR)$@@ $?
	su root chmog 6511 daemon daemon $(DESTDIR)$@@


# Unlinked objects.
hpr.o:	lpr.c
	cc -c -o $@@ -DLASER $?
hpskip.o:	lpskip.c
	cc -c -o $@@ -DLASER $?
hpd1.o:	lpd1.c
	cc -c -o $@@ -DLASER $?

# Etc.
clean:
	rm $(ALL) $(OBJ)
strip:	$(ALL)
	strip $(ALL)

# end of /usr/src/cmd/lpr/Makefile
@


1.2
log
@updated version provided by stevesf for v311
@
text
@d5 2
d17 2
d38 3
a40 1
	cc $?
d42 3
a44 1
	cc -o $@@ hpd1.o lpd2.o hpprint.o
d46 3
a48 1
	cc $?
d50 3
a52 1
	cc $?
d54 3
a56 1
	cc $?
d58 3
a60 1
	cc -o $@@ $?
d62 3
a64 1
	cc $?
d66 2
a67 1
	cc $?
d69 1
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# lpr/Makefile 11/13/90
d63 2
@
