1##########################################################################
2# LPRng - An Extended Print Spooler System
3#
4# Copyright 1988-2001 Patrick Powell, San Diego, California
5#     papowell@lprng.com
6# See LICENSE for conditions of use.
7#
8###########################################################################
9# MODULE: Makefile
10# Makefile.in,v 1.1 2001/08/21 20:33:17 root Exp
11###########################################################################
12#
13
14#************** GENERAL CONFIGURATION INFORMATION ************************
15# where user commands are installed: lpr, lpq, lprm, lpc.
16# Also the SysV emulation commands: lp, lpstat.
17# If these paths are /usr/lib, /usr/ucb etc., make sure you
18# have backup copies of the system version!
19#
20#
21# These are automatically sedded in by the "configure" script, but you
22# may need to change them if you're on a strange version of UNIX.
23
24
25PACKAGE=@PACKAGE@
26VERSION=@VERSION@
27
28# where the source directory is
29SRC=@srcdir@
30top_srcdir=@top_srcdir@
31top_builddir=..
32# which make we are using
33@SET_MAKE@
34
35# what C compiler to use.
36CC:=@CC@
37
38# what command to use to "ranlib" or "lorder" the library.
39RANLIB=@RANLIB@
40
41# what C preprocessor to use.
42CPP:=@CPP@
43
44# how to install stuff.
45INSTALLCMD=@INSTALL@
46# a shell interpreter that's as close to the POSIX shell as possible.
47SHELL_PATH=@SHELL@
48SHELL = @SHELL@
49
50# loader for c programs
51LDCC=@LDCC@
52
53# any libs that need to be used to get these programs to compile:
54LIBS= @LIBS@ @LTLIBINTL@
55
56# what libtool
57LIBTOOL=@LIBTOOL@
58
59### PATHS ####
60# prefix
61prefix=@prefix@
62# exec prefix
63exec_prefix=@exec_prefix@
64# for binaries
65bindir=@bindir@
66# for admin type of binaries
67sbindir=@sbindir@
68# for the filters
69libexecdir=@libexecdir@
70# for the configuration stuff
71sysconfdir=@sysconfdir@
72# libraries
73libdir=@libdir@
74
75# install options
76
77STRIP=@STRIP_OPTION@
78
79CFLAGS:= \
80	-I${top_builddir} -I. \
81	-I${SRC}/include -I${SRC}/common \
82	@CPPFLAGS@ @CFLAGS@ @DEFS@
83
84USER_OBJS := @USER_OBJS@
85LDFLAGS   := @LDFLAGS@
86
87FILTER_DIR = @FILTER_DIR@
88LPD_DIR    = @LPD_DIR@
89
90
91#********************** End of configure modifiable settings ************
92
93
94#********************** OPTIONAL DEFINITIONS ****************************
95# These are various flags and settings that will be used by the
96# compiler to generate code
97#
98
99#### ****** TESTING AND SECURITY LOOPHOLE ******************************
100# Define G ETENV to allow the LPD_CONFIG environment
101#  variable to be used as the name of a configuration file.  In non-testing
102#  systems,  this is a security loophole.
103#CFLAGS:= $(CFLAGS) -DGETENV=\"1\"
104
105# Set location of configuration, permissions, and printcap file
106#
107#GNU
108
109# CFLAGS:= $(CFLAGS) -DFORMAT_TEST -Wformat
110
111
112##### DMalloc Debugging Package
113#
114#CFLAGS:= $(CFLAGS) -DDMALLOC
115#LIBS:= $(LIBS) -ldmalloc
116
117
118
119#********************* OVERRIDING CONFIGURES' GUESSES ******************
120#
121#
122# If you get errors similar to the ones below, it may be
123# because "configure" guessed wrong. You can override the
124# guesses here, by uncommenting the appropriate line...
125
126# "recvfiles.c: unknown struct fsb has no size":
127# define STATFS: to use statfs(2) (BSD)
128#        STATVFS: to use statvfs(2) (SVR4)
129#     others for system specific cases
130#
131# CFLAGS:= $(CFLAGS) -DMAKE_USE_STATFS=ULTRIX_STATFS
132# CFLAGS:= $(CFLAGS) -DMAKE_USE_STATFS=SVR3_STATFS
133# CFLAGS:= $(CFLAGS) -DMAKE_USE_STATFS=STATVFS
134# CFLAGS:= $(CFLAGS) -DMAKE_USE_STATFS=STATFS
135
136# define MAKE_USE_STTY = 
137#    SGTTYB   to use struct sgttyb and <sgtty.h> (BSD)
138#    TERMIO  to use struct termio and <termio.h> (old sysV)
139#    TERMIOS to use struct termios and <termio.h> (SVR4)
140#
141# CFLAGS:= $(CFLAGS) -DMAKE_USE_STTY=SGTTYB
142# CFLAGS:= $(CFLAGS) -DMAKE_USE_STTY=TERMIO
143# CFLAGS:= $(CFLAGS) -DMAKE_USE_STTY=TERMIOS
144
145# a better way to do this is to edit the "ARGH" section of portable.h,
146# and add the appropriate lines to the section for your OS, or add a new
147# section if one doesn't exist; then you can send me the patches and
148# I'll incorporate them into the distribution.
149
150#
151# You might discover that the default locking mechanism
152# does not work.  Try one of the following to override the
153# configured value: fcntl(), lockf(), flock(), and 0 to suppress locking
154#
155# CFLAGS:= $(CFLAGS) -DLOCK_DEVS=devlock_fcntl
156# CFLAGS:= $(CFLAGS) -DLOCK_DEVS=devlock_lockf
157# CFLAGS:= $(CFLAGS) -DLOCK_DEVS=devlock_flock
158# CFLAGS:= $(CFLAGS) -DLOCK_DEVS=0
159#
160
161# SETPROCTITLE - overwrites the program argument information
162#   when ps is used, displays status.  Used only by LPD
163# if this does not work, define the following
164# CFLAGS:= $(CFLAGS) -DNO_SETPROCTITLE
165
166
167SRCDIRS=${SRC}/common ${SRC}/AUTHENTICATE
168INCLUDE=.. ${SRC}/include
169
170VPATH=..:.:${SRC}/include:${SRC}/common:${SRC}
171
172########################################################################
173
174.SUFFIXES: .lo .sh
175LINK =  $(LIBTOOL) --mode=link $(LDCC) $(LDFLAGS) -o $@
176.c.lo:
177	$(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c $<
178
179#**********************  End of Configurable Part ****************************
180
181TARGET= \
182	lprng_certs lprng_index_certs \
183	lpc lpd lpq lpr lprm lpf checkpc lp lpstat \
184	lpbanner monitor ./lpd.conf
185
186NONTARGET = sserver sclient
187
188LPD_OBJS= lpd.o
189LPR_OBJS= lpr.o
190LPQ_OBJS= lpq.o
191LPSTAT_OBJS= lpstat.o
192LPRM_OBJS= lprm.o
193LPC_OBJS= lpc.o
194CHECKPC_OBJS = checkpc.o
195LPF_OBJS = lpf.o plp_snprintf.o
196MONITOR_OBJS= monitor.o getopt.o
197LPBANNER_OBJS= lpbanner.o plp_snprintf.o
198
199LIBLPR_OBJS = \
200	accounting.lo child.lo controlword.lo copyright.lo \
201	debug.lo errormsg.lo fileopen.lo gethostinfo.lo \
202	getopt.lo getprinter.lo getqueue.lo globmatch.lo \
203	initialize.lo krb5_auth.lo \
204	linelist.lo linksupport.lo lockfile.lo \
205	lpd_control.lo lpd_dispatch.lo lpd_jobs.lo lpd_logger.lo lpd_rcvjob.lo \
206	lpd_remove.lo sendauth.lo lpd_secure.lo lpd_status.lo \
207	merge.lo permission.lo plp_snprintf.lo printjob.lo \
208	proctitle.lo  sendjob.lo sendmail.lo sendreq.lo ssl_auth.lo \
209	stty.lo user_auth.lo utilities.lo vars.lo md5.lo $(USER_OBJS)
210
211ALL_OBJS = $(LIBLPR_OBJS) \
212	$(LPR_OBJS) $(LPQ_OBJS) $(LPC_OBJS) $(LPRM_OBJS) $(LPD_OBJS) \
213	$(CHECKPC_OBJS) $(LPF_OBJS) $(LPRACCNT_OBJS) $(MONITOR_OBJS) $(LPBANNER_OBJS)
214
215all: $(TARGET)
216
217relink:
218	rm -f ${TARGET}
219
220defs.h: Makefile
221	cp /dev/null $@
222	echo "#define " CHOWN \"@CHOWN@\" >>$@
223	echo "#define " CHGRP \"@CHGRP@\" >>$@
224	echo "#define " PRINTCAP_PATH \"@PRINTCAP_PATH@\" >>$@
225	echo "#define " LPD_PRINTCAP_PATH \"@LPD_PRINTCAP_PATH@\" >>$@
226	echo "#define " LPD_PERMS_PATH \"@LPD_PERMS_PATH@\" >>$@
227	echo "#define " LPD_CONF_PATH \"@LPD_CONF_PATH@\" >>$@
228	echo "#define " REQUIRE_CONFIGFILES \"@REQUIRE_CONFIGFILES@\" >>$@
229	echo "#define " FILTER_PATH \"@FILTER_PATH@\" >>$@
230	echo "#define " LD_LIBRARY_PATH \"@LD_LIBRARY_PATH@\" >>$@
231	echo "#define " LOCKFILE \"@LOCKFILE@\" >>$@
232	echo "#define " CLEAR \"@CLEAR@\" >>$@
233	echo "#define " USERID \"@USERID@\" >>$@
234	echo "#define " GROUPID \"@GROUPID@\" >>$@
235	echo "#define " LOCALEDIR \"@LOCALEDIR@\" >>$@
236	echo "#define " DONE_JOBS \"@DONE_JOBS@\" >>$@
237	echo "#define " DONE_JOBS_MAX_AGE \"@DONE_JOBS_MAX_AGE@\" >>$@
238	echo "#define " UNIXSOCKETPATH \"@UNIXSOCKETPATH@\" >>$@
239	echo "#define " PRUTIL \"@PRUTIL@\" >>$@
240	echo "#define " OPENSSL \"@OPENSSL@\" >>$@
241	echo "#define " SSL_CA_FILE \"@SSL_CA_FILE@\" >>$@
242	echo "#define " SSL_CA_KEY \"@SSL_CA_KEY@\" >>$@
243	echo "#define " SSL_CRL_FILE \"@SSL_CRL_FILE@\" >>$@
244	echo "#define " SSL_CERTS_DIR \"@SSL_CERTS_DIR@\" >>$@
245	echo "#define " SSL_SERVER_CERT \"@SSL_SERVER_CERT@\" >>$@
246	echo "#define " SSL_SERVER_PASSWORD_FILE \"@SSL_SERVER_PASSWORD_FILE@\" >>$@
247
248.PHONY: all ci clean \
249	uninstall realclean mostlyclean distclean \
250	TAGS info generate
251
252# we want to force defaults to be updated whenever we
253# change the options in Makefile or Makefile.bsd
254#GNU
255vars.o vars.lo: Makefile
256#
257#BSD vars.o: Makefile.bsd
258
259#
260# use RANLIB with no ordering, or lorder/tsort if it is there
261# if you do not have either, fall back and just build archive
262# This appears to cover all cases for portability
263#
264
265
266liblpr.la: $(LIBLPR_OBJS)
267	$(LINK) $(LIBLPR_OBJS) -rpath ${libdir}
268
269lpd: $(LPD_OBJS) liblpr.la
270	$(LINK) ${LPD_OBJS} liblpr.la $(LIBS)
271lpr: $(LPR_OBJS) liblpr.la
272	$(LINK) ${LPR_OBJS} liblpr.la $(LIBS)
273lpq: $(LPQ_OBJS) liblpr.la
274	$(LINK) ${LPQ_OBJS} liblpr.la $(LIBS)
275lpstat: $(LPSTAT_OBJS) liblpr.la
276	$(LINK) ${LPSTAT_OBJS} liblpr.la $(LIBS)
277lprm: $(LPRM_OBJS) liblpr.la
278	$(LINK) ${LPRM_OBJS} liblpr.la $(LIBS)
279lpc: $(LPC_OBJS) liblpr.la
280	$(LINK) ${LPC_OBJS} liblpr.la $(LIBS)
281checkpc: $(CHECKPC_OBJS) liblpr.la
282	$(LINK) ${CHECKPC_OBJS} liblpr.la $(LIBS)
283lpf: $(LPF_OBJS) liblpr.la
284	$(LINK) ${LPF_OBJS} $(LIBS)
285lpbanner: $(LPBANNER_OBJS) liblpr.la
286	$(LINK) ${LPBANNER_OBJS} $(LIBS)
287monitor: $(MONITOR_OBJS) liblpr.la
288	$(LINK) ${MONITOR_OBJS} liblpr.la $(LIBS)
289
290authenticate_pgp: ${SRC}/AUTHENTICATE/authenticate_pgp.sh
291	rm -f $@; cp ${SRC}/AUTHENTICATE/authenticate_pgp.sh $@; chmod 555 $@
292
293sserver: sserver.o liblpr.la
294	$(LINK) sserver liblpr.la $(LIBS)
295sclient: sclient.o liblpr.la
296	$(LINK) sclient liblpr.la $(LIBS)
297
298cancel:
299	rm -f $@; ln -s lprm $@ 
300lp: lpr
301	rm -f $@; ln -s lpr $@
302
303###########################################################################
304# lpd.conf
305
306./lpd.conf: Makefile vars.c
307	set -e; \
308	rm -f $@ ; \
309	echo "# lpd.conf" >/tmp/$@.$$$$ ; \
310	echo "# VERSION=$(VERSION)" >>/tmp/$@.$$$$ ; \
311	$(CPP) $(CFLAGS) -C ${SRC}/common/vars.c \
312	 | /bin/sh ../UTILS/make_lpd_conf >>/tmp/$@.$$$$ ; \
313	chmod 644 /tmp/$@.$$$$ ; \
314	cp /tmp/$@.$$$$ $@ ; rm /tmp/$@.$$$$
315
316.sh:
317	set -e ; \
318	rm -f $@ ; \
319	sed \
320	-e "s,@OPENSSL.,@OPENSSL@," \
321	-e "s,@SSL_CA_FILE.,@SSL_CA_FILE@," \
322	-e "s,@SSL_CA_KEY.,@SSL_CA_KEY@," \
323	-e "s,@SSL_CRL_FILE.,@SSL_CRL_FILE@," \
324	-e "s,@SSL_SERVER_CERT.,@SSL_SERVER_CERT@," \
325	-e "s,@SSL_SERVER_PASSWORD_FILE.,@SSL_SERVER_PASSWORD_FILE@," \
326	-e "s,@SSL_CERTS_DIR.,@SSL_CERTS_DIR@," \
327	$< >$@
328	chmod 755 $@
329
330lprng_certs: Makefile lprng_certs.sh
331lprng_index_certs: Makefile lprng_index_certs.sh
332
333###########################################################################
334#
335
336NORM_PERMS=0755
337SUID_ROOT_PERMS=04755 -o root
338
339###########################################################################
340
341install: all
342	echo "Clients are being installed @PERMS@";
343	for i in ${DESTDIR}${bindir} ${DESTDIR}${sbindir} \
344		$(DESTDIR)$(libdir) ${DESTDIR}${sysconfdir} \
345		${DESTDIR}${LPD_DIR} ${DESTDIR}${FILTER_DIR}; do \
346	  if [ ! -d $$i ] ; then ${SRC}/mkinstalldirs $$i ; fi; \
347	done;
348
349	${LIBTOOL} --mode=install $(INSTALLCMD) liblpr.la $(DESTDIR)$(libdir)/liblpr.la
350	${LIBTOOL} --mode=install ${INSTALLCMD} ${STRIP} -m $(@PERMS@) lpq ${DESTDIR}${bindir}
351	${LIBTOOL} --mode=install ${INSTALLCMD} ${STRIP} -m $(@PERMS@) lprm ${DESTDIR}${bindir}
352	${LIBTOOL} --mode=install ${INSTALLCMD} ${STRIP} -m $(@PERMS@) lpr ${DESTDIR}${bindir}
353	${LIBTOOL} --mode=install ${INSTALLCMD} ${STRIP} -m $(@PERMS@) lpstat ${DESTDIR}${bindir}
354	${LIBTOOL} --mode=install ${INSTALLCMD} ${STRIP} -m $(@PERMS@) lpc ${DESTDIR}${sbindir}
355	${LIBTOOL} --mode=install ${INSTALLCMD} ${STRIP} -m $(NORM_PERMS) lpd ${DESTDIR}${LPD_DIR}
356	${LIBTOOL} --mode=install ${INSTALLCMD} ${STRIP} -m $(NORM_PERMS) lpf ${DESTDIR}${FILTER_DIR}
357	${LIBTOOL} --mode=install ${INSTALLCMD} ${STRIP} -m $(NORM_PERMS) lpbanner ${DESTDIR}${FILTER_DIR}
358	${LIBTOOL} --mode=install ${INSTALLCMD}    -m $(NORM_PERMS) pclbanner ${DESTDIR}${FILTER_DIR}
359	${LIBTOOL} --mode=install ${INSTALLCMD}    -m $(NORM_PERMS) psbanner ${DESTDIR}${FILTER_DIR}
360	${LIBTOOL} --mode=install ${INSTALLCMD} ${STRIP} -m $(NORM_PERMS) checkpc ${DESTDIR}${sbindir}
361	${LIBTOOL} --mode=install ${INSTALLCMD}     -m $(NORM_PERMS) lprng_certs ${DESTDIR}${sbindir}
362	${LIBTOOL} --mode=install ${INSTALLCMD}     -m $(NORM_PERMS) lprng_index_certs ${DESTDIR}${sbindir}
363	cd ${DESTDIR}${bindir}; rm -f lp cancel; ln -s lpr lp; ln -s lprm cancel;
364
365uninstall:
366
367###########################################################################
368
369
370clean::
371	-rm -rf *.o *.tmp *core *.a ? ?.bak ?.orig $(TARGET) $(NONTARGET) st[0-9]* \
372	tags ./lpd.conf */*.old */*.bak */*.orig .libs *.lo *.la log defs.h
373
374realclean mostlyclean distclean:: clean
375	-rm -f Makefile Makefile.bsd pclbanner psbanner
376
377info:
378tags TAGS:
379	ctags -t -d `ls common/*.c include/*.h | sed -e '/checkpc.c/d' `
380
381###########################################################################
382
383CI=
384#CO=-kv
385CO=-l
386
387cifiles:
388	if [ ! -d RCS ] ; then mkdir RCS ; fi ;
389	checkin() { \
390		(set +e; rcs -l $$1; exit 0); \
391		ci $(CI) -l -u -f -mUpdate -t-Initial $$1; \
392	}; \
393	for i in *; do \
394		if [ -f "$$i" ] ; then \
395			case $$i in \
396				Makefile*|*install* ) echo $$i; checkin $$i ;; \
397				*.in ) echo $$i; checkin $$i ;; \
398			esac; \
399		fi; \
400	done;
401
402cifast ci: cifiles
403	checkin() { \
404		(set +e; rcs -l $$1; exit 0); \
405		ci $(CI) -l -u -f -mUpdate -t-Initial $$1; \
406	}; \
407	for i in *; do \
408		if [ -d "$$i" ] ; then \
409			case $$i in \
410			RCS ) ;; \
411			* ) if [ ! -d $$i/RCS ] ; then mkdir $$i/RCS ; fi ; \
412				for j in $$i/*; do \
413					if [ -f "$$j" ] ; then \
414						checkin $$j; \
415					fi; \
416				done; \
417				;; \
418			esac; \
419		fi; \
420	done;
421
422depend: /tmp/dep /tmp/order
423	( sed -n '1,/^##.*GENERATED/p' ${SRC}/Makefile.in; \
424		echo ; echo; \
425	echo "########### LIBRARY ORDER #########"; \
426	cat /tmp/order; \
427	echo ; echo; \
428	echo "########### DEPENDENCIES #########"; \
429	cat /tmp/dep; ) >/tmp/Makefile.in
430	mv ${SRC}/Makefile.in ${SRC}/Makefile.in.old
431	cp /tmp/Makefile.in ${SRC}/Makefile.in
432	( sed -n '1,/^##.*GENERATED/p' ${SRC}/Makefile; \
433		echo ; echo; \
434	echo "########### LIBRARY ORDER #########"; \
435	cat /tmp/order; \
436	echo ; echo; \
437	echo "########### DEPENDENCIES #########"; \
438	cat /tmp/dep; ) >/tmp/Makefile
439	mv ${SRC}/Makefile ${SRC}/Makefile.old
440	cp /tmp/Makefile ${SRC}/Makefile
441
442/tmp/dep:: Makefile
443/tmp/dep:: $(ALL_OBJS)
444	CFLAGS="${CFLAGS}" ${SRC}/../UTILS/makeinc $(ALL_OBJS) >$@
445
446# make the order in which library files should be loader
447# this requires hand tuning the makefile, but it is easier than
448# trying to fix up things with conditional tests
449#
450/tmp/order:: Makefile
451/tmp/order:: $(LIBLPR_OBJS)
452	lorder ` echo $(LIBLPR_OBJS) | sed -e 's/\.lo/.o/g'` |tsort >/tmp/raw
453	awk '\
454		BEGIN { print "LIBLPR_ORDER = \\"; } \
455		{ line = line " " $$0;            \
456			if( ++i >= 4 ){               \
457				print "\t" line "\\";    \
458				line = "";               \
459				i = 0;                   \
460			}                            \
461		}                                \
462		END {                            \
463			if( line != "" ){            \
464				print "\t" line;         \
465			}                            \
466		}' /tmp/raw >/tmp/order
467	
468	
469############# GENERATED ###################################################
470
471
472########### LIBRARY ORDER #########
473LIBLPR_ORDER = \
474	 krb5_auth.o initialize.o getopt.o copyright.o\
475	 proctitle.o utilities.o user_auth.o md5.o\
476	 ssl_auth.o stty.o sendreq.o sendmail.o\
477	 sendjob.o sendauth.o printjob.o permission.o\
478	 merge.o lpd_status.o lpd_secure.o lpd_remove.o\
479	 lpd_rcvjob.o lpd_logger.o lpd_jobs.o lockfile.o\
480	 accounting.o lpd_dispatch.o lpd_control.o debug.o\
481	 controlword.o linksupport.o linelist.o gethostinfo.o\
482	 globmatch.o getqueue.o getprinter.o fileopen.o\
483	 errormsg.o child.o vars.o plp_snprintf.o\
484
485
486########### DEPENDENCIES #########
487accounting.o accounting.lo :	config.h accounting.h child.h debug.h errorcodes.h errormsg.h fileopen.h getqueue.h linelist.h linksupport.h lp.h plp_snprintf.h portable.h utilities.h utilities.h
488child.o child.lo :	config.h child.h debug.h errormsg.h gethostinfo.h getopt.h getqueue.h linelist.h linksupport.h lp.h plp_snprintf.h portable.h proctitle.h utilities.h utilities.h
489controlword.o controlword.lo :	config.h control.h debug.h errormsg.h linelist.h lp.h plp_snprintf.h portable.h utilities.h utilities.h
490copyright.o copyright.lo :	config.h copyright.h debug.h errormsg.h license.h linelist.h lp.h patchlevel.h plp_snprintf.h portable.h utilities.h utilities.h
491debug.o debug.lo :	config.h child.h debug.h errorcodes.h errormsg.h getopt.h linelist.h lp.h plp_snprintf.h portable.h utilities.h utilities.h
492errormsg.o errormsg.lo :	config.h child.h debug.h errorcodes.h errormsg.h getopt.h getqueue.h linelist.h lp.h plp_snprintf.h portable.h utilities.h utilities.h
493fileopen.o fileopen.lo :	config.h child.h debug.h errorcodes.h errormsg.h fileopen.h linelist.h lp.h plp_snprintf.h portable.h utilities.h utilities.h
494gethostinfo.o gethostinfo.lo :	config.h debug.h errormsg.h gethostinfo.h getqueue.h globmatch.h linelist.h linksupport.h lp.h plp_snprintf.h portable.h utilities.h utilities.h
495getopt.o getopt.lo :	config.h debug.h errormsg.h linelist.h lp.h plp_snprintf.h portable.h utilities.h utilities.h
496getprinter.o getprinter.lo :	config.h child.h debug.h errormsg.h gethostinfo.h getprinter.h getqueue.h linelist.h lp.h plp_snprintf.h portable.h utilities.h utilities.h
497getqueue.o getqueue.lo :	config.h child.h debug.h errorcodes.h errormsg.h fileopen.h gethostinfo.h getprinter.h getqueue.h globmatch.h linelist.h lockfile.h lp.h merge.h permission.h plp_snprintf.h portable.h utilities.h utilities.h
498globmatch.o globmatch.lo :	config.h debug.h errormsg.h linelist.h lp.h plp_snprintf.h portable.h utilities.h utilities.h
499initialize.o initialize.lo :	config.h defs.h child.h debug.h errorcodes.h errormsg.h gethostinfo.h getopt.h getqueue.h initialize.h linelist.h lp.h plp_snprintf.h portable.h proctitle.h utilities.h utilities.h
500krb5_auth.o krb5_auth.lo :	config.h child.h debug.h errorcodes.h errormsg.h fileopen.h gethostinfo.h getqueue.h krb5_auth.h linelist.h linksupport.h lp.h lpd_dispatch.h lpd_secure.h permission.h plp_snprintf.h portable.h utilities.h utilities.h
501linelist.o linelist.lo :	config.h child.h debug.h errorcodes.h errormsg.h fileopen.h gethostinfo.h getprinter.h getqueue.h globmatch.h linelist.h lp.h lpd_dispatch.h lpd_jobs.h lpd_logger.h plp_snprintf.h portable.h utilities.h utilities.h
502linksupport.o linksupport.lo :	config.h debug.h errorcodes.h errormsg.h gethostinfo.h linelist.h linksupport.h lp.h plp_snprintf.h portable.h utilities.h utilities.h
503lockfile.o lockfile.lo :	config.h debug.h errormsg.h fileopen.h linelist.h lockfile.h lp.h plp_snprintf.h portable.h utilities.h utilities.h
504lpd_control.o lpd_control.lo :	config.h child.h control.h debug.h errormsg.h fileopen.h gethostinfo.h getopt.h getprinter.h getqueue.h globmatch.h linelist.h lp.h lpd_control.h permission.h plp_snprintf.h portable.h proctitle.h utilities.h utilities.h
505lpd_dispatch.o lpd_dispatch.lo :	config.h child.h debug.h errorcodes.h errormsg.h fileopen.h gethostinfo.h getprinter.h getqueue.h krb5_auth.h linelist.h linksupport.h lp.h lpd_control.h lpd_dispatch.h lpd_rcvjob.h lpd_remove.h lpd_secure.h lpd_status.h permission.h plp_snprintf.h portable.h proctitle.h utilities.h utilities.h
506lpd_jobs.o lpd_jobs.lo :	config.h accounting.h child.h debug.h errorcodes.h errormsg.h fileopen.h gethostinfo.h getopt.h getprinter.h getqueue.h linelist.h linksupport.h lockfile.h lp.h lpd_jobs.h lpd_rcvjob.h lpd_remove.h merge.h permission.h plp_snprintf.h portable.h printjob.h proctitle.h sendjob.h sendmail.h stty.h utilities.h utilities.h
507lpd_logger.o lpd_logger.lo :	config.h child.h debug.h errorcodes.h errormsg.h fileopen.h getopt.h getprinter.h getqueue.h linelist.h linksupport.h lp.h lpd_logger.h plp_snprintf.h portable.h proctitle.h utilities.h utilities.h
508lpd_rcvjob.o lpd_rcvjob.lo :	config.h child.h debug.h errorcodes.h errormsg.h fileopen.h gethostinfo.h getopt.h getqueue.h linelist.h linksupport.h lockfile.h lp.h lpd_jobs.h lpd_rcvjob.h lpd_remove.h permission.h plp_snprintf.h portable.h proctitle.h utilities.h utilities.h
509lpd_remove.o lpd_remove.lo :	config.h child.h debug.h errormsg.h fileopen.h gethostinfo.h getopt.h getprinter.h getqueue.h linelist.h lp.h lpd_remove.h permission.h plp_snprintf.h portable.h proctitle.h sendreq.h utilities.h utilities.h
510sendauth.o sendauth.lo :	config.h child.h debug.h errorcodes.h errormsg.h fileopen.h gethostinfo.h getqueue.h globmatch.h krb5_auth.h linelist.h linksupport.h lp.h permission.h plp_snprintf.h portable.h sendauth.h sendjob.h user_auth.h utilities.h utilities.h
511lpd_secure.o lpd_secure.lo :	config.h child.h debug.h errorcodes.h errormsg.h fileopen.h getopt.h getqueue.h globmatch.h krb5_auth.h linelist.h linksupport.h lp.h lpd_dispatch.h lpd_jobs.h lpd_rcvjob.h lpd_secure.h permission.h plp_snprintf.h portable.h proctitle.h user_auth.h utilities.h utilities.h
512lpd_status.o lpd_status.lo :	config.h child.h debug.h errorcodes.h errormsg.h fileopen.h gethostinfo.h getopt.h getprinter.h getqueue.h globmatch.h linelist.h lockfile.h lp.h lpd_jobs.h lpd_status.h permission.h plp_snprintf.h portable.h proctitle.h sendreq.h utilities.h utilities.h
513merge.o merge.lo :	config.h debug.h errormsg.h linelist.h lp.h merge.h plp_snprintf.h portable.h utilities.h utilities.h
514permission.o permission.lo :	config.h debug.h errormsg.h fileopen.h gethostinfo.h getqueue.h globmatch.h linelist.h linksupport.h lp.h permission.h plp_snprintf.h portable.h utilities.h utilities.h
515plp_snprintf.o plp_snprintf.lo :	config.h config.h
516printjob.o printjob.lo :	config.h child.h debug.h errorcodes.h errormsg.h fileopen.h getqueue.h linelist.h lp.h plp_snprintf.h portable.h printjob.h utilities.h utilities.h
517proctitle.o proctitle.lo :	config.h debug.h errormsg.h linelist.h lp.h plp_snprintf.h portable.h proctitle.h utilities.h utilities.h
518sendjob.o sendjob.lo :	config.h accounting.h debug.h errorcodes.h errormsg.h fileopen.h getqueue.h linelist.h linksupport.h lp.h plp_snprintf.h portable.h sendauth.h sendjob.h user_auth.h utilities.h utilities.h
519sendmail.o sendmail.lo :	config.h child.h debug.h errorcodes.h errormsg.h fileopen.h getqueue.h linelist.h lp.h plp_snprintf.h portable.h sendmail.h utilities.h utilities.h
520sendreq.o sendreq.lo :	config.h child.h debug.h errormsg.h fileopen.h getqueue.h linelist.h linksupport.h lp.h plp_snprintf.h portable.h readstatus.h sendauth.h sendreq.h user_auth.h utilities.h utilities.h
521ssl_auth.o ssl_auth.lo :	config.h debug.h errorcodes.h errormsg.h fileopen.h getqueue.h linelist.h lp.h lpd_secure.h plp_snprintf.h portable.h ssl_auth.h user_auth.h utilities.h utilities.h
522stty.o stty.lo :	config.h debug.h errormsg.h linelist.h lp.h plp_snprintf.h portable.h stty.h utilities.h utilities.h
523user_auth.o user_auth.lo :	config.h child.h debug.h errorcodes.h errormsg.h fileopen.h getqueue.h krb5_auth.h linelist.h linksupport.h lp.h lpd_dispatch.h lpd_secure.h md5.h permission.h plp_snprintf.h portable.h ssl_auth.h user_auth.h utilities.h utilities.h
524utilities.o utilities.lo :	config.h debug.h errorcodes.h errormsg.h getopt.h linelist.h lp.h plp_snprintf.h portable.h utilities.h utilities.h
525vars.o vars.lo :	config.h defs.h accounting.h child.h debug.h errormsg.h gethostinfo.h getqueue.h linelist.h lp.h permission.h plp_snprintf.h portable.h printjob.h utilities.h utilities.h
526md5.o md5.lo :	md5.h md5.h
527lpr.o lpr.lo :	config.h child.h debug.h errorcodes.h errormsg.h fileopen.h gethostinfo.h getopt.h getprinter.h getqueue.h initialize.h linelist.h linksupport.h lp.h lpd_jobs.h lpr.h patchlevel.h plp_snprintf.h portable.h printjob.h sendjob.h utilities.h utilities.h
528lpq.o lpq.lo :	config.h child.h debug.h errormsg.h getopt.h getprinter.h getqueue.h initialize.h linelist.h linksupport.h lp.h lpq.h patchlevel.h plp_snprintf.h portable.h sendreq.h utilities.h utilities.h
529lpc.o lpc.lo :	config.h defs.h child.h control.h debug.h errorcodes.h errormsg.h getopt.h getprinter.h initialize.h linelist.h lp.h lpc.h patchlevel.h plp_snprintf.h portable.h sendreq.h utilities.h utilities.h
530lprm.o lprm.lo :	config.h child.h debug.h errormsg.h getopt.h getprinter.h getqueue.h initialize.h linelist.h linksupport.h lp.h lprm.h patchlevel.h plp_snprintf.h portable.h sendreq.h utilities.h utilities.h
531lpd.o lpd.lo :	config.h child.h debug.h errorcodes.h errormsg.h fileopen.h getopt.h getqueue.h initialize.h linelist.h linksupport.h lockfile.h lp.h lpd.h lpd_logger.h plp_snprintf.h portable.h proctitle.h utilities.h utilities.h
532checkpc.o checkpc.lo :	config.h defs.h checkpc.h child.h debug.h errormsg.h fileopen.h gethostinfo.h getopt.h getprinter.h getqueue.h initialize.h linelist.h linksupport.h lockfile.h lp.h lpd_remove.h patchlevel.h plp_snprintf.h portable.h proctitle.h stty.h utilities.h utilities.h
533lpf.o lpf.lo :	config.h portable.h portable.h
534plp_snprintf.o plp_snprintf.lo :	config.h config.h
535monitor.o monitor.lo :	config.h debug.h errormsg.h getopt.h getqueue.h linelist.h linksupport.h lp.h plp_snprintf.h portable.h utilities.h utilities.h
536getopt.o getopt.lo :	config.h debug.h errormsg.h linelist.h lp.h plp_snprintf.h portable.h utilities.h utilities.h
537lpbanner.o lpbanner.lo :	config.h debug.h errormsg.h linelist.h lp.h plp_snprintf.h portable.h utilities.h utilities.h
538plp_snprintf.o plp_snprintf.lo :	config.h config.h
539