1
# Makefile.in generated automatically by automake 1.2 from Makefile.am
3
# Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
4
# This Makefile.in is free software; the Free Software Foundation
5
# gives unlimited permission to copy, distribute and modify it.
11
top_srcdir = @top_srcdir@
14
exec_prefix = @exec_prefix@
18
libexecdir = @libexecdir@
20
sysconfdir = @sysconfdir@
21
sharedstatedir = @sharedstatedir@
22
localstatedir = @localstatedir@
26
includedir = @includedir@
27
oldincludedir = /usr/include
29
pkgdatadir = $(datadir)/@PACKAGE@
30
pkglibdir = $(libdir)/@PACKAGE@
31
pkgincludedir = $(includedir)/@PACKAGE@
38
AUTOHEADER = @AUTOHEADER@
41
INSTALL_PROGRAM = @INSTALL_PROGRAM@
42
INSTALL_DATA = @INSTALL_DATA@
43
INSTALL_SCRIPT = @INSTALL_SCRIPT@
44
transform = @program_transform_name@
49
NORMAL_UNINSTALL = true
53
CATOBJEXT = @CATOBJEXT@
56
DATADIRNAME = @DATADIRNAME@
62
INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
63
INSTOBJEXT = @INSTOBJEXT@
70
MKINSTALLDIRS = @MKINSTALLDIRS@
76
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
81
localedir = $(datadir)/locale
83
LIBS = @INTLLIBS@ -lrlpr
84
INCLUDES = -I../intl -I../lib -DLOCALEDIR=\"$(localedir)\"
86
bin_PROGRAMS = rlpr rlpq rlprm rlprd
87
rlpr_SOURCES = rlpr.c component.c msg.c rlprrc.c util.c client.c
88
rlpq_SOURCES = rlpq.c component.c msg.c rlprrc.c util.c client.c
89
rlprm_SOURCES = rlprm.c component.c msg.c rlprrc.c util.c client.c
90
rlprd_SOURCES = rlprd.c component.c msg.c util.c
92
EXTRA_DIST = check-server.sh
94
noinst_HEADERS = client.h component.h intl.h msg.h rfc1179.h rlpq.h rlpr.h \
95
rlprd.h rlprm.h rlprrc.h util.h
98
# Special directive for making links. This is kind of a hack;
99
# it appears that Automake doesn't mind if we add stuff that we
100
# want to end up in the real Makefile in here as long as we
101
# avoid its variable names.
103
link_programs = rlpr rlpq rlprm
104
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
105
CONFIG_HEADER = ../config.h
107
PROGRAMS = $(bin_PROGRAMS)
110
DEFS = @DEFS@ -I. -I$(srcdir) -I..
111
CPPFLAGS = @CPPFLAGS@
112
rlpr_OBJECTS = rlpr.o component.o msg.o rlprrc.o util.o client.o
113
rlpr_LDADD = $(LDADD)
115
rlpq_OBJECTS = rlpq.o component.o msg.o rlprrc.o util.o client.o
116
rlpq_LDADD = $(LDADD)
118
rlprm_OBJECTS = rlprm.o component.o msg.o rlprrc.o util.o client.o
119
rlprm_LDADD = $(LDADD)
121
rlprd_OBJECTS = rlprd.o component.o msg.o util.o
122
rlprd_LDADD = $(LDADD)
125
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
126
LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
127
HEADERS = $(noinst_HEADERS)
129
DIST_COMMON = Makefile.am Makefile.in
132
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
136
SOURCES = $(rlpr_SOURCES) $(rlpq_SOURCES) $(rlprm_SOURCES) $(rlprd_SOURCES)
137
OBJECTS = $(rlpr_OBJECTS) $(rlpq_OBJECTS) $(rlprm_OBJECTS) $(rlprd_OBJECTS)
143
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
144
cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/Makefile
146
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
148
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
151
mostlyclean-binPROGRAMS:
154
test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
156
distclean-binPROGRAMS:
158
maintainer-clean-binPROGRAMS:
160
install-binPROGRAMS: $(bin_PROGRAMS)
162
$(mkinstalldirs) $(bindir)
163
@list='$(bin_PROGRAMS)'; for p in $$list; do \
164
if test -f $$p; then \
165
echo " $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`"; \
166
$(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
170
uninstall-binPROGRAMS:
172
list='$(bin_PROGRAMS)'; for p in $$list; do \
173
rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
187
maintainer-clean-compile:
189
rlpr: $(rlpr_OBJECTS) $(rlpr_DEPENDENCIES)
191
$(LINK) $(rlpr_LDFLAGS) $(rlpr_OBJECTS) $(rlpr_LDADD) $(LIBS)
193
rlpq: $(rlpq_OBJECTS) $(rlpq_DEPENDENCIES)
195
$(LINK) $(rlpq_LDFLAGS) $(rlpq_OBJECTS) $(rlpq_LDADD) $(LIBS)
197
rlprm: $(rlprm_OBJECTS) $(rlprm_DEPENDENCIES)
199
$(LINK) $(rlprm_LDFLAGS) $(rlprm_OBJECTS) $(rlprm_LDADD) $(LIBS)
201
rlprd: $(rlprd_OBJECTS) $(rlprd_DEPENDENCIES)
203
$(LINK) $(rlprd_LDFLAGS) $(rlprd_OBJECTS) $(rlprd_LDADD) $(LIBS)
207
ID: $(HEADERS) $(SOURCES)
208
here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS)
210
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES)
213
test -z "$(ETAGS_ARGS)$(SOURCES)$(HEADERS)$$tags" \
214
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $(SOURCES) $(HEADERS) -o $$here/TAGS)
223
maintainer-clean-tags:
225
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
229
distdir: $(DISTFILES)
230
@for file in $(DISTFILES); do \
232
test -f $(distdir)/$$file \
233
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
234
|| cp -p $$d/$$file $(distdir)/$$file; \
236
client.o: client.c ../lib/lib.h ../config.h ../lib/getopt.h \
237
../lib/xstrtol.h util.h rlprrc.h msg.h component.h client.h \
239
component.o: component.c ../lib/getopt.h ../lib/lib.h ../config.h \
240
component.h util.h msg.h
241
msg.o: msg.c ../lib/lib.h ../config.h intl.h component.h ../lib/getopt.h \
243
rlpq.o: rlpq.c ../lib/getopt.h ../lib/lib.h ../config.h intl.h \
244
component.h msg.h util.h client.h rfc1179.h rlprrc.h rlpq.h
245
rlpr.o: rlpr.c ../config.h ../lib/getopt.h ../lib/lib.h intl.h \
246
component.h msg.h util.h client.h rfc1179.h rlprrc.h rlpr.h
247
rlprd.o: rlprd.c ../lib/lib.h ../config.h intl.h util.h msg.h \
248
../lib/getopt.h component.h rlprd.h rfc1179.h
249
rlprm.o: rlprm.c ../lib/getopt.h ../lib/lib.h ../config.h intl.h \
250
component.h msg.h util.h client.h rfc1179.h rlprrc.h rlprm.h
251
rlprrc.o: rlprrc.c ../lib/lib.h ../config.h msg.h ../lib/getopt.h \
252
component.h rlprrc.h intl.h
253
util.o: util.c ../config.h util.h msg.h ../lib/getopt.h component.h
260
install-exec: install-binPROGRAMS
266
install: install-exec install-data all
269
uninstall: uninstall-binPROGRAMS
271
all: Makefile $(PROGRAMS) $(HEADERS)
274
$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
276
$(mkinstalldirs) $(bindir)
280
test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
283
test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
286
rm -f Makefile $(DISTCLEANFILES)
287
rm -f config.cache config.log stamp-h stamp-h[0-9]*
288
test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
290
maintainer-clean-generic:
291
test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
292
test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
293
mostlyclean: mostlyclean-binPROGRAMS mostlyclean-compile \
294
mostlyclean-tags mostlyclean-generic
296
clean: clean-binPROGRAMS clean-compile clean-tags clean-generic \
299
distclean: distclean-binPROGRAMS distclean-compile distclean-tags \
300
distclean-generic clean
303
maintainer-clean: maintainer-clean-binPROGRAMS maintainer-clean-compile \
304
maintainer-clean-tags maintainer-clean-generic \
306
@echo "This command is intended for maintainers to use;"
307
@echo "it deletes files that may require special tools to rebuild."
309
.PHONY: default mostlyclean-binPROGRAMS distclean-binPROGRAMS \
310
clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
311
install-binPROGRAMS mostlyclean-compile distclean-compile clean-compile \
312
maintainer-clean-compile tags mostlyclean-tags distclean-tags \
313
clean-tags maintainer-clean-tags distdir info dvi installcheck \
314
install-exec install-data install uninstall all installdirs \
315
mostlyclean-generic distclean-generic clean-generic \
316
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
319
install-setuid: install
320
@echo "setting rlpr, rlpq, rlprm and rlprd to be setuid root..."
321
@chown root $(bindir)/rlpr
322
@chmod 4755 $(bindir)/rlpr
323
@chown root $(bindir)/rlpq
324
@chmod 4755 $(bindir)/rlpq
325
@chown root $(bindir)/rlprm
326
@chmod 4755 $(bindir)/rlprm
327
@chown root $(bindir)/rlprd
328
@chmod 4755 $(bindir)/rlprd
330
install-proxy: install
331
@echo "setting rlprd to be setuid root..."
332
@chown root $(bindir)/rlprd
333
@chmod 4755 $(bindir)/rlprd
335
bsdlinks: $(link_programs)
336
@echo "installing bsd symlinks..."
337
-mv /usr/bin/lpr /usr/bin/lpr.bsd
338
ln -s $(bindir)/rlpr /usr/bin/lpr
339
-mv /usr/bin/lpq /usr/bin/lpq.bsd
340
ln -s $(bindir)/rlpq /usr/bin/lpq
341
-rm /usr/bin/lprm /usr/bin/lprm.bsd
342
ln -s $(bindir)/rlprm /usr/bin/lprm
344
# Tell versions [3.59,3.63) of GNU make to not export all variables.
345
# Otherwise a system limit (for SysV at least) may be exceeded.