source: trunk/athena/bin/lpr/Imakefile @ 8460

Revision 8460, 2.5 KB checked in by ghudson, 28 years ago (diff)
Start building transcript 2.1 filters again. They will live in /usr/athena/lib/lpdfilters instead of in /usr/athena/lib/ps.
Line 
1/*
2 * $Id: Imakefile,v 1.14 1996-05-24 21:34:50 ghudson Exp $
3 *
4 * Copyright (c) 1983 Regents of the University of California.
5 * All rights reserved.  The Berkeley software License Agreement
6 * specifies the terms and conditions for redistribution.
7 *
8 *      @(#)Makefile    5.3 (Berkeley) 5/7/86
9 *
10 * Copyright (c) 1990, 19910 MIT Project Athena.
11 */
12
13#
14# makefile for line printer spooling system
15#
16# Ownerships {see note at the top of lpd.c}
17# ROOT          a user that can access any and all files
18# DAEMON        someone special
19# SPGRP         the group id of the spooling programs
20#
21
22#define ISUBDIRS filters man transcript-v2.1
23
24DEFINES= -DVFS -DHESIOD -DKERBEROS -DZEPHYR -DPQUOTA -DLACL -Iquota
25LIBS= -L/usr/athena/lib -lhesiod -lzephyr -lcom_err -lkrb -ldes
26
27ROOT=root
28DAEMON=daemon
29SPGRP=daemon
30
31#if defined(_IBMR2)
32SPGRP=printq
33#endif
34
35LPDDIR=$(ATHETCDIR)
36BINDIR=$(ATHBINDIR)
37USRETCDIR=$(ATHETCDIR)
38
39#define LPRprogram(prog,objs,libs,dest)                                 @@\
40build_program(prog,objs,,libs)                                          @@\
41install_program(prog,-o root -g $(SPGRP) -m 6755,dest)
42
43#define LPRGprogram(prog,objs,libs,dest)                                @@\
44build_program(prog,objs,,libs)                                          @@\
45install_program(prog,-o root -g $(SPGRP) -m 2755,dest)
46
47LPRGprogram(lpd,lpd.o lpdchar.o printjob.o recvjob.o tcp_conn.o \
48        displayq.o rmjob.o common.o printcap.o ms.o modes.o, $(LIBS),$(LPDDIR))
49LPRGprogram(lpc,lpc.o cmds.o displayq.o cmdtab.o printcap.o common.o \
50        startdaemon.o, $(LIBS),$(USRETCDIR))
51LPRprogram(lpr,lpr.o netsend.o printcap.o common.o startdaemon.o isexec.o,\
52        $(LIBS),$(BINDIR))
53LPRprogram(lpq,lpq.o displayq.o printcap.o common.o startdaemon.o,\
54        $(LIBS) -ltermcap,$(BINDIR))
55LPRprogram(lprm,lprm.o rmjob.o printcap.o common.o startdaemon.o,\
56        $(LIBS),$(BINDIR))
57
58saber_lpr:
59        /**/#load lpr.c printcap.c netsend.c common.c $(LIBS)
60
61#if defined(ultrix) || defined(vax) || defined(ibm032)
62SimpleProgram(lptest,lptest.c,,$(BINDIR))
63SimpleProgram(pac,pac.o printcap.o,$(LIBS),$(USRETCDIR))
64
65install_script(print.sh,,/usr/ucb/print)
66install_script(makespools,,/etc/makespools)
67#else
68install_script(makespools,,$(USRETCDIR)/makespools)
69#endif
70
71install_script(lpquota,,/usr/athena/bin/lpquota)
72
73install::
74        @echo  To build spooling directories:
75        @echo makespools ${DESTDIR} 775 ${DAEMON} ${SPGRP}
76
77/* Specify that should trust all hosts on 18.xx.xx.xx */
78SpecialObject(lpd.o,lpd.c,-DWS)
79
80/* Dependencies */
81lpd.o lpr.o lpq.o lprm.o pac.o: lp.h lp.local.h
82recvjob.o printjob.o displayq.o rmjob.o common.o cmds.o: lp.h lp.local.h
83startdaemon.o: lp.local.h
84lpc.o cmdtab.o: lpc.h
Note: See TracBrowser for help on using the repository browser.