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