~ubuntu-branches/ubuntu/lucid/rlpr/lucid

« back to all changes in this revision

Viewing changes to src/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Brian Mays
  • Date: 2002-03-20 11:21:15 UTC
  • Revision ID: james.westby@ubuntu.com-20020320112115-whl7m242ig71nu3h
Tags: upstream-2.02
ImportĀ upstreamĀ versionĀ 2.02

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Makefile.in generated automatically by automake 1.2 from Makefile.am
 
2
 
 
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.
 
6
 
 
7
 
 
8
SHELL = /bin/sh
 
9
 
 
10
srcdir = @srcdir@
 
11
top_srcdir = @top_srcdir@
 
12
VPATH = @srcdir@
 
13
prefix = @prefix@
 
14
exec_prefix = @exec_prefix@
 
15
 
 
16
bindir = @bindir@
 
17
sbindir = @sbindir@
 
18
libexecdir = @libexecdir@
 
19
datadir = @datadir@
 
20
sysconfdir = @sysconfdir@
 
21
sharedstatedir = @sharedstatedir@
 
22
localstatedir = @localstatedir@
 
23
libdir = @libdir@
 
24
infodir = @infodir@
 
25
mandir = @mandir@
 
26
includedir = @includedir@
 
27
oldincludedir = /usr/include
 
28
 
 
29
pkgdatadir = $(datadir)/@PACKAGE@
 
30
pkglibdir = $(libdir)/@PACKAGE@
 
31
pkgincludedir = $(includedir)/@PACKAGE@
 
32
 
 
33
top_builddir = ..
 
34
 
 
35
ACLOCAL = @ACLOCAL@
 
36
AUTOCONF = @AUTOCONF@
 
37
AUTOMAKE = @AUTOMAKE@
 
38
AUTOHEADER = @AUTOHEADER@
 
39
 
 
40
INSTALL = @INSTALL@
 
41
INSTALL_PROGRAM = @INSTALL_PROGRAM@
 
42
INSTALL_DATA = @INSTALL_DATA@
 
43
INSTALL_SCRIPT = @INSTALL_SCRIPT@
 
44
transform = @program_transform_name@
 
45
 
 
46
NORMAL_INSTALL = true
 
47
PRE_INSTALL = true
 
48
POST_INSTALL = true
 
49
NORMAL_UNINSTALL = true
 
50
PRE_UNINSTALL = true
 
51
POST_UNINSTALL = true
 
52
CATALOGS = @CATALOGS@
 
53
CATOBJEXT = @CATOBJEXT@
 
54
CC = @CC@
 
55
CPP = @CPP@
 
56
DATADIRNAME = @DATADIRNAME@
 
57
GENCAT = @GENCAT@
 
58
GMOFILES = @GMOFILES@
 
59
GMSGFMT = @GMSGFMT@
 
60
GT_NO = @GT_NO@
 
61
GT_YES = @GT_YES@
 
62
INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
 
63
INSTOBJEXT = @INSTOBJEXT@
 
64
INTLDEPS = @INTLDEPS@
 
65
INTLLIBS = @INTLLIBS@
 
66
INTLOBJS = @INTLOBJS@
 
67
LIBOBJS = @LIBOBJS@
 
68
LN_S = @LN_S@
 
69
MAKEINFO = @MAKEINFO@
 
70
MKINSTALLDIRS = @MKINSTALLDIRS@
 
71
MSGFMT = @MSGFMT@
 
72
PACKAGE = @PACKAGE@
 
73
POFILES = @POFILES@
 
74
POSUB = @POSUB@
 
75
RANLIB = @RANLIB@
 
76
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
 
77
USE_NLS = @USE_NLS@
 
78
VERSION = @VERSION@
 
79
l = @l@
 
80
 
 
81
localedir       = $(datadir)/locale
 
82
LDFLAGS         = -L../lib
 
83
LIBS            = @INTLLIBS@ -lrlpr
 
84
INCLUDES        = -I../intl -I../lib -DLOCALEDIR=\"$(localedir)\"
 
85
 
 
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
 
91
 
 
92
EXTRA_DIST      = check-server.sh
 
93
 
 
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
 
96
 
 
97
#
 
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.
 
102
#
 
103
link_programs   = rlpr rlpq rlprm
 
104
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 
105
CONFIG_HEADER = ../config.h
 
106
CONFIG_CLEAN_FILES = 
 
107
PROGRAMS =  $(bin_PROGRAMS)
 
108
 
 
109
 
 
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)
 
114
rlpr_LDFLAGS = 
 
115
rlpq_OBJECTS =  rlpq.o component.o msg.o rlprrc.o util.o client.o
 
116
rlpq_LDADD = $(LDADD)
 
117
rlpq_LDFLAGS = 
 
118
rlprm_OBJECTS =  rlprm.o component.o msg.o rlprrc.o util.o client.o
 
119
rlprm_LDADD = $(LDADD)
 
120
rlprm_LDFLAGS = 
 
121
rlprd_OBJECTS =  rlprd.o component.o msg.o util.o
 
122
rlprd_LDADD = $(LDADD)
 
123
rlprd_LDFLAGS = 
 
124
CFLAGS = @CFLAGS@
 
125
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
 
126
LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
 
127
HEADERS =  $(noinst_HEADERS)
 
128
 
 
129
DIST_COMMON =  Makefile.am Makefile.in
 
130
 
 
131
 
 
132
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
 
133
 
 
134
TAR = tar
 
135
GZIP = --best
 
136
SOURCES = $(rlpr_SOURCES) $(rlpq_SOURCES) $(rlprm_SOURCES) $(rlprd_SOURCES)
 
137
OBJECTS = $(rlpr_OBJECTS) $(rlpq_OBJECTS) $(rlprm_OBJECTS) $(rlprd_OBJECTS)
 
138
 
 
139
default: all
 
140
 
 
141
.SUFFIXES:
 
142
.SUFFIXES: .c .o
 
143
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
 
144
        cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/Makefile
 
145
 
 
146
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
147
        cd $(top_builddir) \
 
148
          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
 
149
 
 
150
 
 
151
mostlyclean-binPROGRAMS:
 
152
 
 
153
clean-binPROGRAMS:
 
154
        test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
 
155
 
 
156
distclean-binPROGRAMS:
 
157
 
 
158
maintainer-clean-binPROGRAMS:
 
159
 
 
160
install-binPROGRAMS: $(bin_PROGRAMS)
 
161
        @$(NORMAL_INSTALL)
 
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)'`; \
 
167
          else :; fi; \
 
168
        done
 
169
 
 
170
uninstall-binPROGRAMS:
 
171
        $(NORMAL_UNINSTALL)
 
172
        list='$(bin_PROGRAMS)'; for p in $$list; do \
 
173
          rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
 
174
        done
 
175
 
 
176
.c.o:
 
177
        $(COMPILE) -c $<
 
178
 
 
179
mostlyclean-compile:
 
180
        rm -f *.o core
 
181
 
 
182
clean-compile:
 
183
 
 
184
distclean-compile:
 
185
        rm -f *.tab.c
 
186
 
 
187
maintainer-clean-compile:
 
188
 
 
189
rlpr: $(rlpr_OBJECTS) $(rlpr_DEPENDENCIES)
 
190
        @rm -f rlpr
 
191
        $(LINK) $(rlpr_LDFLAGS) $(rlpr_OBJECTS) $(rlpr_LDADD) $(LIBS)
 
192
 
 
193
rlpq: $(rlpq_OBJECTS) $(rlpq_DEPENDENCIES)
 
194
        @rm -f rlpq
 
195
        $(LINK) $(rlpq_LDFLAGS) $(rlpq_OBJECTS) $(rlpq_LDADD) $(LIBS)
 
196
 
 
197
rlprm: $(rlprm_OBJECTS) $(rlprm_DEPENDENCIES)
 
198
        @rm -f rlprm
 
199
        $(LINK) $(rlprm_LDFLAGS) $(rlprm_OBJECTS) $(rlprm_LDADD) $(LIBS)
 
200
 
 
201
rlprd: $(rlprd_OBJECTS) $(rlprd_DEPENDENCIES)
 
202
        @rm -f rlprd
 
203
        $(LINK) $(rlprd_LDFLAGS) $(rlprd_OBJECTS) $(rlprd_LDADD) $(LIBS)
 
204
 
 
205
tags: TAGS
 
206
 
 
207
ID: $(HEADERS) $(SOURCES)
 
208
        here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS)
 
209
 
 
210
TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES)
 
211
        tags=; \
 
212
        here=`pwd`; \
 
213
        test -z "$(ETAGS_ARGS)$(SOURCES)$(HEADERS)$$tags" \
 
214
          || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $(SOURCES) $(HEADERS) -o $$here/TAGS)
 
215
 
 
216
mostlyclean-tags:
 
217
 
 
218
clean-tags:
 
219
 
 
220
distclean-tags:
 
221
        rm -f TAGS ID
 
222
 
 
223
maintainer-clean-tags:
 
224
 
 
225
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
 
226
 
 
227
subdir = src
 
228
 
 
229
distdir: $(DISTFILES)
 
230
        @for file in $(DISTFILES); do \
 
231
          d=$(srcdir); \
 
232
          test -f $(distdir)/$$file \
 
233
          || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
 
234
          || cp -p $$d/$$file $(distdir)/$$file; \
 
235
        done
 
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 \
 
238
        rfc1179.h rlprd.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 \
 
242
        msg.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
 
254
 
 
255
info:
 
256
dvi:
 
257
check: all
 
258
        $(MAKE)
 
259
installcheck:
 
260
install-exec: install-binPROGRAMS
 
261
        @$(NORMAL_INSTALL)
 
262
 
 
263
install-data: 
 
264
        @$(NORMAL_INSTALL)
 
265
 
 
266
install: install-exec install-data all
 
267
        @:
 
268
 
 
269
uninstall: uninstall-binPROGRAMS
 
270
 
 
271
all: Makefile $(PROGRAMS) $(HEADERS)
 
272
 
 
273
install-strip:
 
274
        $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
 
275
installdirs:
 
276
        $(mkinstalldirs)  $(bindir)
 
277
 
 
278
 
 
279
mostlyclean-generic:
 
280
        test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
 
281
 
 
282
clean-generic:
 
283
        test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
 
284
 
 
285
distclean-generic:
 
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)
 
289
 
 
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
 
295
 
 
296
clean:  clean-binPROGRAMS clean-compile clean-tags clean-generic \
 
297
                mostlyclean
 
298
 
 
299
distclean:  distclean-binPROGRAMS distclean-compile distclean-tags \
 
300
                distclean-generic clean
 
301
        rm -f config.status
 
302
 
 
303
maintainer-clean:  maintainer-clean-binPROGRAMS maintainer-clean-compile \
 
304
                maintainer-clean-tags maintainer-clean-generic \
 
305
                distclean
 
306
        @echo "This command is intended for maintainers to use;"
 
307
        @echo "it deletes files that may require special tools to rebuild."
 
308
 
 
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
 
317
 
 
318
 
 
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
 
329
 
 
330
install-proxy: install
 
331
        @echo "setting rlprd to be setuid root..."
 
332
        @chown root $(bindir)/rlprd
 
333
        @chmod 4755 $(bindir)/rlprd
 
334
 
 
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
 
343
 
 
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.
 
346
.NOEXPORT: