1 |
#$Id: Makefile,v 1.1 1994/06/06 13:36:07 dotson Exp $ |
2 |
|
3 |
################################################################# |
4 |
# # |
5 |
# This software is the proprietary property of Tate # |
6 |
# Integrated Systems, L.P. Patents and copyrights are # |
7 |
# pending. # |
8 |
# # |
9 |
# This software is furnished under a license and may # |
10 |
# be used and copied only in accordance with the terms # |
11 |
# of such license and with the inclusion of the above # |
12 |
# notice. This software or any other copies thereof # |
13 |
# may not be provided or otherwise made available to # |
14 |
# any other person. No title to and ownership of the # |
15 |
# software is hereby transferred. # |
16 |
# # |
17 |
# The information in this software is subject to # |
18 |
# change without notice and should not be construed # |
19 |
# as a commitment by Tate Integrated Systems L.P. or # |
20 |
# its third party suppliers. # |
21 |
# # |
22 |
# Tate Integrated Systems, L.P. (TIS) and its third # |
23 |
# party suppliers assume no responsibility for the # |
24 |
# use or inability to use any of its software. TIS # |
25 |
# software is provided "as is" without warranty of # |
26 |
# any kind and TIS expressly disclaims all implied # |
27 |
# warranties, including but not limited to the implied # |
28 |
# warranties of merchantability and fitness for a # |
29 |
# particular purpose. # |
30 |
# # |
31 |
# Notice: Notwithstanding any other lease or license # |
32 |
# that may pertain to or accompany the delivery of this # |
33 |
# computer software, the rights of the Government # |
34 |
# regarding its use, reproduction, and disclosure are # |
35 |
# as set forth in Section 52.227-19 of the FARS # |
36 |
# Computer Software-Restricted Rights clause. # |
37 |
# # |
38 |
################################################################# |
39 |
srcdir = ../../../share/src/lpd |
40 |
|
41 |
includes = -I$(srcdir) |
42 |
|
43 |
lpcobjs = lpc.o cmds.o cmdtab.o common.o startdaemon.o printcap.o |
44 |
|
45 |
lpdobjs = lpd.o rmjob.o printjob.o recvjob.o common.o displayq.o \ |
46 |
lpdchar.o printcap.o startdaemon.o daemon.o |
47 |
|
48 |
lpfobjs = lpf.o |
49 |
|
50 |
lpqobjs = lpq.o displayq.o common.o printcap.o |
51 |
|
52 |
lprmobjs = lprm.o rmjob.o common.o startdaemon.o printcap.o |
53 |
|
54 |
lprobjs = lpr.o startdaemon.o printcap.o |
55 |
|
56 |
lptestobjs = lptest.o |
57 |
|
58 |
pacobjs = pac.o printcap.o |
59 |
|
60 |
hfiles = $(srcdir)/lp.h $(srcdir)/pathnames.h $(srcdir)/paths.h |
61 |
|
62 |
##################################################################### |
63 |
|
64 |
all: lpc lpd lpf lpq lpr lprm lptest pac |
65 |
|
66 |
lpc: $(lpcobjs) Makefile |
67 |
cc -o lpc $(lpcobjs) -ldl |
68 |
|
69 |
lpd: $(lpdobjs) Makefile |
70 |
cc -o lpd $(lpdobjs) -ldl |
71 |
|
72 |
lpf: $(lpfobjs) Makefile |
73 |
cc -o lpf $(lpfobjs) -ldl |
74 |
|
75 |
lpq: $(lpqobjs) Makefile |
76 |
cc -o lpq $(lpqobjs) -ldl |
77 |
|
78 |
lpr: $(lprobjs) Makefile |
79 |
cc -o lpr $(lprobjs) -ldl |
80 |
|
81 |
lprm: $(lprmobjs) Makefile |
82 |
cc -o lprm $(lprmobjs) -ldl |
83 |
|
84 |
lptest: $(lptestobjs) Makefile |
85 |
cc -o lptest $(lptestobjs) -ldl |
86 |
|
87 |
pac: $(pacobjs) Makefile |
88 |
cc -o pac $(pacobjs) -ldl |
89 |
|
90 |
##################################################################### |
91 |
|
92 |
cmds.o: $(srcdir)/cmds.c $(hfiles) |
93 |
cc -c $(includes) $(srcdir)/cmds.c |
94 |
|
95 |
cmdtab.o: $(srcdir)/cmdtab.c $(hfiles) |
96 |
cc -c $(includes) $(srcdir)/cmdtab.c |
97 |
|
98 |
common.o: $(srcdir)/common.c $(hfiles) |
99 |
cc -c $(includes) $(srcdir)/common.c |
100 |
|
101 |
daemon.o: $(srcdir)/daemon.c $(hfiles) |
102 |
cc -c $(includes) $(srcdir)/daemon.c |
103 |
|
104 |
displayq.o: $(srcdir)/displayq.c $(hfiles) |
105 |
cc -c $(includes) $(srcdir)/displayq.c |
106 |
|
107 |
lpc.o: $(srcdir)/lpc.c $(hfiles) |
108 |
cc -c $(includes) $(srcdir)/lpc.c |
109 |
|
110 |
lpd.o: $(srcdir)/lpd.c $(hfiles) |
111 |
cc -c $(includes) $(srcdir)/lpd.c |
112 |
|
113 |
lpf.o: $(srcdir)/lpf.c $(hfiles) |
114 |
cc -c $(includes) $(srcdir)/lpf.c |
115 |
|
116 |
lpdchar.o: $(srcdir)/lpdchar.c $(hfiles) |
117 |
cc -c $(includes) $(srcdir)/lpdchar.c |
118 |
|
119 |
lpq.o: $(srcdir)/lpq.c $(hfiles) |
120 |
cc -c $(includes) $(srcdir)/lpq.c |
121 |
|
122 |
lpr.o: $(srcdir)/lpr.c $(hfiles) |
123 |
cc -c $(includes) $(srcdir)/lpr.c |
124 |
|
125 |
lprm.o: $(srcdir)/lprm.c $(hfiles) |
126 |
cc -c $(includes) $(srcdir)/lprm.c |
127 |
|
128 |
lptest.o: $(srcdir)/lptest.c $(hfiles) |
129 |
cc -c $(includes) $(srcdir)/lptest.c |
130 |
|
131 |
pac.o: $(srcdir)/pac.c $(hfiles) |
132 |
cc -c $(includes) $(srcdir)/pac.c |
133 |
|
134 |
printcap.o: $(srcdir)/printcap.c $(hfiles) |
135 |
cc -c $(includes) $(srcdir)/printcap.c |
136 |
|
137 |
printjob.o: $(srcdir)/printjob.c $(hfiles) |
138 |
cc -c $(includes) $(srcdir)/printjob.c |
139 |
|
140 |
recvjob.o: $(srcdir)/recvjob.c $(hfiles) |
141 |
cc -c $(includes) $(srcdir)/recvjob.c |
142 |
|
143 |
rmjob.o: $(srcdir)/rmjob.c $(hfiles) |
144 |
cc -c $(includes) $(srcdir)/rmjob.c |
145 |
|
146 |
startdaemon.o: $(srcdir)/startdaemon.c $(hfiles) |
147 |
cc -c $(includes) $(srcdir)/startdaemon.c |
148 |
|
149 |
install: |
150 |
cp -p lpd ../bin/. |
151 |
cp -p lpq ../bin/. |
152 |
cp -p lpc ../bin/. |
153 |
cp -p lpr ../bin/. |
154 |
cp -p lprm ../bin/. |
155 |
cp -p lpf ../bin/. |
156 |
cp -p pac ../bin/. |
157 |
|
158 |
clean: |
159 |
rm *.o |
160 |
rm lpd |
161 |
rm lpq |
162 |
rm lpc |
163 |
rm lpr |
164 |
rm lprm |
165 |
rm lpf |
166 |
rm pac |
167 |
|
168 |
|