1 | # Makefile.in generated automatically by automake 1.4 from Makefile.am |
---|
2 | |
---|
3 | # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. |
---|
4 | # This Makefile.in is free software; the Free Software Foundation |
---|
5 | # gives unlimited permission to copy and/or distribute it, |
---|
6 | # with or without modifications, as long as this notice is preserved. |
---|
7 | |
---|
8 | # This program is distributed in the hope that it will be useful, |
---|
9 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
---|
10 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
---|
11 | # PARTICULAR PURPOSE. |
---|
12 | |
---|
13 | # This is a -*-Makefile-*-, or close enough |
---|
14 | |
---|
15 | |
---|
16 | SHELL = @SHELL@ |
---|
17 | |
---|
18 | srcdir = @srcdir@ |
---|
19 | top_srcdir = @top_srcdir@ |
---|
20 | VPATH = @srcdir@ |
---|
21 | prefix = @prefix@ |
---|
22 | exec_prefix = @exec_prefix@ |
---|
23 | |
---|
24 | bindir = @bindir@ |
---|
25 | sbindir = @sbindir@ |
---|
26 | libexecdir = @libexecdir@ |
---|
27 | datadir = @datadir@ |
---|
28 | sysconfdir = @sysconfdir@ |
---|
29 | sharedstatedir = @sharedstatedir@ |
---|
30 | localstatedir = @localstatedir@ |
---|
31 | libdir = @libdir@ |
---|
32 | infodir = @infodir@ |
---|
33 | mandir = @mandir@ |
---|
34 | includedir = @includedir@ |
---|
35 | oldincludedir = /usr/include |
---|
36 | |
---|
37 | pkgdatadir = $(datadir)/@PACKAGE@ |
---|
38 | pkglibdir = $(libdir)/@PACKAGE@ |
---|
39 | pkgincludedir = $(includedir)/@PACKAGE@ |
---|
40 | |
---|
41 | top_builddir = . |
---|
42 | |
---|
43 | ACLOCAL = @ACLOCAL@ |
---|
44 | AUTOCONF = @AUTOCONF@ |
---|
45 | AUTOMAKE = @AUTOMAKE@ |
---|
46 | AUTOHEADER = @AUTOHEADER@ |
---|
47 | |
---|
48 | INSTALL = @INSTALL@ |
---|
49 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) |
---|
50 | INSTALL_DATA = @INSTALL_DATA@ |
---|
51 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
---|
52 | transform = @program_transform_name@ |
---|
53 | |
---|
54 | NORMAL_INSTALL = : |
---|
55 | PRE_INSTALL = : |
---|
56 | POST_INSTALL = : |
---|
57 | NORMAL_UNINSTALL = : |
---|
58 | PRE_UNINSTALL = : |
---|
59 | POST_UNINSTALL = : |
---|
60 | host_alias = @host_alias@ |
---|
61 | host_triplet = @host@ |
---|
62 | ALL_LINGUAS = @ALL_LINGUAS@ |
---|
63 | ALL_MOFILES = @ALL_MOFILES@ |
---|
64 | ALL_POFILES = @ALL_POFILES@ |
---|
65 | AR = @AR@ |
---|
66 | CC = @CC@ |
---|
67 | CPP = @CPP@ |
---|
68 | GETCONF = @GETCONF@ |
---|
69 | GLOBDIR = @GLOBDIR@ |
---|
70 | GLOBINC = @GLOBINC@ |
---|
71 | GLOBLIB = @GLOBLIB@ |
---|
72 | LIBOBJS = @LIBOBJS@ |
---|
73 | MAKEINFO = @MAKEINFO@ |
---|
74 | MOFILES = @MOFILES@ |
---|
75 | PACKAGE = @PACKAGE@ |
---|
76 | PERL = @PERL@ |
---|
77 | RANLIB = @RANLIB@ |
---|
78 | REMOTE = @REMOTE@ |
---|
79 | VERSION = @VERSION@ |
---|
80 | |
---|
81 | AUTOMAKE_OPTIONS = 1.4 |
---|
82 | |
---|
83 | SUBDIRS = $(GLOBDIR) i18n |
---|
84 | |
---|
85 | bin_PROGRAMS = make |
---|
86 | |
---|
87 | # These source files also have gettext references |
---|
88 | SRCS = ar.c arscan.c commands.c dir.c expand.c file.c function.c getopt.c implicit.c job.c main.c misc.c read.c remake.c rule.c signame.c variable.c vpath.c |
---|
89 | |
---|
90 | |
---|
91 | make_SOURCES = $(SRCS) default.c remote-$(REMOTE).c version.c getopt1.c |
---|
92 | |
---|
93 | |
---|
94 | noinst_HEADERS = commands.h dep.h filedef.h job.h make.h rule.h variable.h debug.h signame.h getopt.h gettext.h |
---|
95 | |
---|
96 | |
---|
97 | make_LDADD = $(LIBOBJS) @ALLOCA@ $(GLOBLIB) |
---|
98 | |
---|
99 | man_MANS = make.1 |
---|
100 | info_TEXINFOS = make.texinfo |
---|
101 | |
---|
102 | DEFS = -DALIASPATH=\"$(aliaspath)\" -DLOCALEDIR=\"$(localedir)\" -DLIBDIR=\"$(libdir)\" -DINCLUDEDIR=\"$(includedir)\" @DEFS@ |
---|
103 | |
---|
104 | INCLUDES = -I. -I$(srcdir) $(GLOBINC) |
---|
105 | |
---|
106 | EXTRA_DIST = README build.sh.in $(man_MANS) README.customs remote-cstms.c make-stds.texi SCOPTIONS SMakefile README.Amiga Makefile.ami config.ami make.lnk amiga.c amiga.h README.DOS Makefile.DOS configure.bat dosbuild.bat configh.dos README.W32 NMakefile config.h.W32 build_w32.bat subproc.bat readme.vms makefile.vms makefile.com config.h-vms vmsdir.h vmsfunctions.c vmsify.c gettext.c glob/COPYING.LIB glob/ChangeLog glob/Makefile.am glob/Makefile.ami glob/Makefile.in glob/SCOPTIONS glob/SMakefile glob/configure.bat glob/fnmatch.c glob/fnmatch.h glob/glob.c glob/glob.h |
---|
107 | |
---|
108 | |
---|
109 | MOSTLYCLEANFILES = loadavg.c |
---|
110 | CLEANFILES = loadavg |
---|
111 | |
---|
112 | MAKE_HOST = @MAKE_HOST@ |
---|
113 | |
---|
114 | # --------------- Internationalization Section |
---|
115 | |
---|
116 | POTFILES = $(SRCS) remote-cstms.c vmsfunctions.c |
---|
117 | |
---|
118 | localedir = $(prefix)/share/locale |
---|
119 | aliaspath = $(localedir):. |
---|
120 | |
---|
121 | # --------------- Local INSTALL Section |
---|
122 | |
---|
123 | # If necessary, change the gid of the app and turn on the setgid flag. |
---|
124 | # |
---|
125 | |
---|
126 | # Whether or not make needs to be installed setgid. |
---|
127 | # The value should be either `true' or `false'. |
---|
128 | # On many systems, the getloadavg function (used to implement the `-l' |
---|
129 | # switch) will not work unless make is installed setgid kmem. |
---|
130 | # |
---|
131 | inst_setgid = false |
---|
132 | |
---|
133 | # Install make setgid to this group so it can get the load average. |
---|
134 | # |
---|
135 | inst_group = @KMEM_GROUP@ |
---|
136 | |
---|
137 | # > check-regression |
---|
138 | # |
---|
139 | # Look for the make test suite, and run it if found and we can find perl. |
---|
140 | # If we're building outside the tree, we use symlinks to make a local copy of |
---|
141 | # the test suite. Unfortunately the test suite itself isn't localizable yet. |
---|
142 | # |
---|
143 | MAKETESTFLAGS = |
---|
144 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
---|
145 | mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs |
---|
146 | CONFIG_HEADER = config.h |
---|
147 | CONFIG_CLEAN_FILES = build.sh |
---|
148 | PROGRAMS = $(bin_PROGRAMS) |
---|
149 | |
---|
150 | CPPFLAGS = @CPPFLAGS@ |
---|
151 | LDFLAGS = @LDFLAGS@ |
---|
152 | LIBS = @LIBS@ |
---|
153 | make_OBJECTS = ar.o arscan.o commands.o dir.o expand.o file.o \ |
---|
154 | function.o getopt.o implicit.o job.o main.o misc.o read.o remake.o \ |
---|
155 | rule.o signame.o variable.o vpath.o default.o remote-$(REMOTE).o \ |
---|
156 | version.o getopt1.o |
---|
157 | make_DEPENDENCIES = @LIBOBJS@ @ALLOCA@ |
---|
158 | make_LDFLAGS = |
---|
159 | CFLAGS = @CFLAGS@ |
---|
160 | COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
---|
161 | CCLD = $(CC) |
---|
162 | LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ |
---|
163 | TEXI2DVI = texi2dvi |
---|
164 | INFO_DEPS = make.info |
---|
165 | DVIS = make.dvi |
---|
166 | TEXINFOS = make.texinfo |
---|
167 | man1dir = $(mandir)/man1 |
---|
168 | MANS = $(man_MANS) |
---|
169 | |
---|
170 | NROFF = nroff |
---|
171 | HEADERS = $(noinst_HEADERS) |
---|
172 | |
---|
173 | DIST_COMMON = README ./stamp-h.in ABOUT-NLS AUTHORS COPYING ChangeLog \ |
---|
174 | INSTALL Makefile.am Makefile.in NEWS acconfig.h acinclude.m4 aclocal.m4 \ |
---|
175 | alloca.c build.sh.in config.guess config.h.in config.sub configure \ |
---|
176 | configure.in getloadavg.c gettext.c install-sh missing mkinstalldirs \ |
---|
177 | texinfo.tex |
---|
178 | |
---|
179 | |
---|
180 | DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) |
---|
181 | |
---|
182 | TAR = tar |
---|
183 | GZIP_ENV = --best |
---|
184 | SOURCES = $(make_SOURCES) |
---|
185 | OBJECTS = $(make_OBJECTS) |
---|
186 | |
---|
187 | all: all-redirect |
---|
188 | .SUFFIXES: |
---|
189 | .SUFFIXES: .S .c .dvi .info .o .ps .s .texi .texinfo .txi |
---|
190 | |
---|
191 | mostlyclean-hdr: |
---|
192 | |
---|
193 | clean-hdr: |
---|
194 | |
---|
195 | distclean-hdr: |
---|
196 | -rm -f config.h |
---|
197 | |
---|
198 | maintainer-clean-hdr: |
---|
199 | build.sh: $(top_builddir)/config.status build.sh.in |
---|
200 | cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status |
---|
201 | |
---|
202 | mostlyclean-binPROGRAMS: |
---|
203 | |
---|
204 | clean-binPROGRAMS: |
---|
205 | -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) |
---|
206 | |
---|
207 | distclean-binPROGRAMS: |
---|
208 | |
---|
209 | maintainer-clean-binPROGRAMS: |
---|
210 | |
---|
211 | install-binPROGRAMS: $(bin_PROGRAMS) |
---|
212 | @$(NORMAL_INSTALL) |
---|
213 | $(mkinstalldirs) $(DESTDIR)$(bindir) |
---|
214 | @list='$(bin_PROGRAMS)'; for p in $$list; do \ |
---|
215 | if test -f $$p; then \ |
---|
216 | echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ |
---|
217 | $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ |
---|
218 | else :; fi; \ |
---|
219 | done |
---|
220 | |
---|
221 | uninstall-binPROGRAMS: |
---|
222 | @$(NORMAL_UNINSTALL) |
---|
223 | list='$(bin_PROGRAMS)'; for p in $$list; do \ |
---|
224 | rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ |
---|
225 | done |
---|
226 | |
---|
227 | .c.o: |
---|
228 | $(COMPILE) -c $< |
---|
229 | |
---|
230 | .s.o: |
---|
231 | $(COMPILE) -c $< |
---|
232 | |
---|
233 | .S.o: |
---|
234 | $(COMPILE) -c $< |
---|
235 | |
---|
236 | mostlyclean-compile: |
---|
237 | -rm -f *.o core *.core |
---|
238 | |
---|
239 | clean-compile: |
---|
240 | |
---|
241 | distclean-compile: |
---|
242 | -rm -f *.tab.c |
---|
243 | |
---|
244 | maintainer-clean-compile: |
---|
245 | |
---|
246 | make: $(make_OBJECTS) $(make_DEPENDENCIES) |
---|
247 | @rm -f make |
---|
248 | $(LINK) $(make_LDFLAGS) $(make_OBJECTS) $(make_LDADD) $(LIBS) |
---|
249 | |
---|
250 | make.info: make.texinfo |
---|
251 | make.dvi: make.texinfo |
---|
252 | |
---|
253 | |
---|
254 | DVIPS = dvips |
---|
255 | |
---|
256 | .texi.info: |
---|
257 | @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9] |
---|
258 | cd $(srcdir) \ |
---|
259 | && $(MAKEINFO) `echo $< | sed 's,.*/,,'` |
---|
260 | |
---|
261 | .texi.dvi: |
---|
262 | TEXINPUTS=.:$$TEXINPUTS \ |
---|
263 | MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $< |
---|
264 | |
---|
265 | .texi: |
---|
266 | @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9] |
---|
267 | cd $(srcdir) \ |
---|
268 | && $(MAKEINFO) `echo $< | sed 's,.*/,,'` |
---|
269 | |
---|
270 | .texinfo.info: |
---|
271 | @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9] |
---|
272 | cd $(srcdir) \ |
---|
273 | && $(MAKEINFO) `echo $< | sed 's,.*/,,'` |
---|
274 | |
---|
275 | .texinfo: |
---|
276 | @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9] |
---|
277 | cd $(srcdir) \ |
---|
278 | && $(MAKEINFO) `echo $< | sed 's,.*/,,'` |
---|
279 | |
---|
280 | .texinfo.dvi: |
---|
281 | TEXINPUTS=.:$$TEXINPUTS \ |
---|
282 | MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $< |
---|
283 | |
---|
284 | .txi.info: |
---|
285 | @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9] |
---|
286 | cd $(srcdir) \ |
---|
287 | && $(MAKEINFO) `echo $< | sed 's,.*/,,'` |
---|
288 | |
---|
289 | .txi.dvi: |
---|
290 | TEXINPUTS=.:$$TEXINPUTS \ |
---|
291 | MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $< |
---|
292 | |
---|
293 | .txi: |
---|
294 | @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9] |
---|
295 | cd $(srcdir) \ |
---|
296 | && $(MAKEINFO) `echo $< | sed 's,.*/,,'` |
---|
297 | .dvi.ps: |
---|
298 | $(DVIPS) $< -o $@ |
---|
299 | |
---|
300 | install-info-am: $(INFO_DEPS) |
---|
301 | @$(NORMAL_INSTALL) |
---|
302 | $(mkinstalldirs) $(DESTDIR)$(infodir) |
---|
303 | @list='$(INFO_DEPS)'; \ |
---|
304 | for file in $$list; do \ |
---|
305 | d=$(srcdir); \ |
---|
306 | for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \ |
---|
307 | if test -f $$d/$$ifile; then \ |
---|
308 | echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \ |
---|
309 | $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \ |
---|
310 | else : ; fi; \ |
---|
311 | done; \ |
---|
312 | done |
---|
313 | @$(POST_INSTALL) |
---|
314 | @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \ |
---|
315 | list='$(INFO_DEPS)'; \ |
---|
316 | for file in $$list; do \ |
---|
317 | echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\ |
---|
318 | install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\ |
---|
319 | done; \ |
---|
320 | else : ; fi |
---|
321 | |
---|
322 | uninstall-info: |
---|
323 | $(PRE_UNINSTALL) |
---|
324 | @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \ |
---|
325 | ii=yes; \ |
---|
326 | else ii=; fi; \ |
---|
327 | list='$(INFO_DEPS)'; \ |
---|
328 | for file in $$list; do \ |
---|
329 | test -z "$ii" \ |
---|
330 | || install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \ |
---|
331 | done |
---|
332 | @$(NORMAL_UNINSTALL) |
---|
333 | list='$(INFO_DEPS)'; \ |
---|
334 | for file in $$list; do \ |
---|
335 | (cd $(DESTDIR)$(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \ |
---|
336 | done |
---|
337 | |
---|
338 | dist-info: $(INFO_DEPS) |
---|
339 | list='$(INFO_DEPS)'; \ |
---|
340 | for base in $$list; do \ |
---|
341 | d=$(srcdir); \ |
---|
342 | for file in `cd $$d && eval echo $$base*`; do \ |
---|
343 | test -f $(distdir)/$$file \ |
---|
344 | || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ |
---|
345 | || cp -p $$d/$$file $(distdir)/$$file; \ |
---|
346 | done; \ |
---|
347 | done |
---|
348 | |
---|
349 | mostlyclean-aminfo: |
---|
350 | -rm -f make.aux make.cp make.cps make.dvi make.fn make.fns make.ky \ |
---|
351 | make.kys make.ps make.log make.pg make.toc make.tp make.tps \ |
---|
352 | make.vr make.vrs make.op make.tr make.cv make.cn |
---|
353 | |
---|
354 | clean-aminfo: |
---|
355 | |
---|
356 | distclean-aminfo: |
---|
357 | |
---|
358 | maintainer-clean-aminfo: |
---|
359 | cd $(srcdir) && for i in $(INFO_DEPS); do \ |
---|
360 | rm -f $$i; \ |
---|
361 | if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \ |
---|
362 | rm -f $$i-[0-9]*; \ |
---|
363 | fi; \ |
---|
364 | done |
---|
365 | |
---|
366 | install-man1: |
---|
367 | $(mkinstalldirs) $(DESTDIR)$(man1dir) |
---|
368 | @list='$(man1_MANS)'; \ |
---|
369 | l2='$(man_MANS)'; for i in $$l2; do \ |
---|
370 | case "$$i" in \ |
---|
371 | *.1*) list="$$list $$i" ;; \ |
---|
372 | esac; \ |
---|
373 | done; \ |
---|
374 | for i in $$list; do \ |
---|
375 | if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ |
---|
376 | else file=$$i; fi; \ |
---|
377 | ext=`echo $$i | sed -e 's/^.*\\.//'`; \ |
---|
378 | inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ |
---|
379 | inst=`echo $$inst | sed '$(transform)'`.$$ext; \ |
---|
380 | echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \ |
---|
381 | $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \ |
---|
382 | done |
---|
383 | |
---|
384 | uninstall-man1: |
---|
385 | @list='$(man1_MANS)'; \ |
---|
386 | l2='$(man_MANS)'; for i in $$l2; do \ |
---|
387 | case "$$i" in \ |
---|
388 | *.1*) list="$$list $$i" ;; \ |
---|
389 | esac; \ |
---|
390 | done; \ |
---|
391 | for i in $$list; do \ |
---|
392 | ext=`echo $$i | sed -e 's/^.*\\.//'`; \ |
---|
393 | inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ |
---|
394 | inst=`echo $$inst | sed '$(transform)'`.$$ext; \ |
---|
395 | echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \ |
---|
396 | rm -f $(DESTDIR)$(man1dir)/$$inst; \ |
---|
397 | done |
---|
398 | install-man: $(MANS) |
---|
399 | @$(NORMAL_INSTALL) |
---|
400 | $(MAKE) $(AM_MAKEFLAGS) install-man1 |
---|
401 | uninstall-man: |
---|
402 | @$(NORMAL_UNINSTALL) |
---|
403 | $(MAKE) $(AM_MAKEFLAGS) uninstall-man1 |
---|
404 | |
---|
405 | # This directory's subdirectories are mostly independent; you can cd |
---|
406 | # into them and run `make' without going through this Makefile. |
---|
407 | # To change the values of `make' variables: instead of editing Makefiles, |
---|
408 | # (1) if the variable is set in `config.status', edit `config.status' |
---|
409 | # (which will cause the Makefiles to be regenerated when you run `make'); |
---|
410 | # (2) otherwise, pass the desired values on the `make' command line. |
---|
411 | |
---|
412 | @SET_MAKE@ |
---|
413 | |
---|
414 | all-recursive install-data-recursive install-exec-recursive \ |
---|
415 | installdirs-recursive install-recursive uninstall-recursive \ |
---|
416 | check-recursive installcheck-recursive info-recursive dvi-recursive: |
---|
417 | @set fnord $(MAKEFLAGS); amf=$$2; \ |
---|
418 | dot_seen=no; \ |
---|
419 | target=`echo $@ | sed s/-recursive//`; \ |
---|
420 | list='$(SUBDIRS)'; for subdir in $$list; do \ |
---|
421 | echo "Making $$target in $$subdir"; \ |
---|
422 | if test "$$subdir" = "."; then \ |
---|
423 | dot_seen=yes; \ |
---|
424 | local_target="$$target-am"; \ |
---|
425 | else \ |
---|
426 | local_target="$$target"; \ |
---|
427 | fi; \ |
---|
428 | (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ |
---|
429 | || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ |
---|
430 | done; \ |
---|
431 | if test "$$dot_seen" = "no"; then \ |
---|
432 | $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ |
---|
433 | fi; test -z "$$fail" |
---|
434 | |
---|
435 | mostlyclean-recursive clean-recursive distclean-recursive \ |
---|
436 | maintainer-clean-recursive: |
---|
437 | @set fnord $(MAKEFLAGS); amf=$$2; \ |
---|
438 | dot_seen=no; \ |
---|
439 | rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ |
---|
440 | rev="$$subdir $$rev"; \ |
---|
441 | test "$$subdir" = "." && dot_seen=yes; \ |
---|
442 | done; \ |
---|
443 | test "$$dot_seen" = "no" && rev=". $$rev"; \ |
---|
444 | target=`echo $@ | sed s/-recursive//`; \ |
---|
445 | for subdir in $$rev; do \ |
---|
446 | echo "Making $$target in $$subdir"; \ |
---|
447 | if test "$$subdir" = "."; then \ |
---|
448 | local_target="$$target-am"; \ |
---|
449 | else \ |
---|
450 | local_target="$$target"; \ |
---|
451 | fi; \ |
---|
452 | (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ |
---|
453 | || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ |
---|
454 | done && test -z "$$fail" |
---|
455 | tags-recursive: |
---|
456 | list='$(SUBDIRS)'; for subdir in $$list; do \ |
---|
457 | test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ |
---|
458 | done |
---|
459 | |
---|
460 | tags: TAGS |
---|
461 | |
---|
462 | ID: $(HEADERS) $(SOURCES) $(LISP) |
---|
463 | list='$(SOURCES) $(HEADERS)'; \ |
---|
464 | unique=`for i in $$list; do echo $$i; done | \ |
---|
465 | awk ' { files[$$0] = 1; } \ |
---|
466 | END { for (i in files) print i; }'`; \ |
---|
467 | here=`pwd` && cd $(srcdir) \ |
---|
468 | && mkid -f$$here/ID $$unique $(LISP) |
---|
469 | |
---|
470 | TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP) |
---|
471 | tags=; \ |
---|
472 | here=`pwd`; \ |
---|
473 | list='$(SUBDIRS)'; for subdir in $$list; do \ |
---|
474 | if test "$$subdir" = .; then :; else \ |
---|
475 | test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ |
---|
476 | fi; \ |
---|
477 | done; \ |
---|
478 | list='$(SOURCES) $(HEADERS)'; \ |
---|
479 | unique=`for i in $$list; do echo $$i; done | \ |
---|
480 | awk ' { files[$$0] = 1; } \ |
---|
481 | END { for (i in files) print i; }'`; \ |
---|
482 | test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \ |
---|
483 | || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS) |
---|
484 | |
---|
485 | mostlyclean-tags: |
---|
486 | |
---|
487 | clean-tags: |
---|
488 | |
---|
489 | distclean-tags: |
---|
490 | -rm -f TAGS ID |
---|
491 | |
---|
492 | maintainer-clean-tags: |
---|
493 | |
---|
494 | distdir = $(PACKAGE)-$(VERSION) |
---|
495 | top_distdir = $(distdir) |
---|
496 | |
---|
497 | # This target untars the dist file and tries a VPATH configuration. Then |
---|
498 | # it guarantees that the distribution is self-contained by making another |
---|
499 | # tarfile. |
---|
500 | distcheck: dist |
---|
501 | -rm -rf $(distdir) |
---|
502 | GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz |
---|
503 | mkdir $(distdir)/=build |
---|
504 | mkdir $(distdir)/=inst |
---|
505 | dc_install_base=`cd $(distdir)/=inst && pwd`; \ |
---|
506 | cd $(distdir)/=build \ |
---|
507 | && ../configure --srcdir=.. --prefix=$$dc_install_base \ |
---|
508 | && $(MAKE) $(AM_MAKEFLAGS) \ |
---|
509 | && $(MAKE) $(AM_MAKEFLAGS) dvi \ |
---|
510 | && $(MAKE) $(AM_MAKEFLAGS) check \ |
---|
511 | && $(MAKE) $(AM_MAKEFLAGS) install \ |
---|
512 | && $(MAKE) $(AM_MAKEFLAGS) installcheck \ |
---|
513 | && $(MAKE) $(AM_MAKEFLAGS) dist |
---|
514 | -rm -rf $(distdir) |
---|
515 | @banner="$(distdir).tar.gz is ready for distribution"; \ |
---|
516 | dashes=`echo "$$banner" | sed s/./=/g`; \ |
---|
517 | echo "$$dashes"; \ |
---|
518 | echo "$$banner"; \ |
---|
519 | echo "$$dashes" |
---|
520 | dist: distdir |
---|
521 | -chmod -R a+r $(distdir) |
---|
522 | GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) |
---|
523 | -rm -rf $(distdir) |
---|
524 | dist-all: distdir |
---|
525 | -chmod -R a+r $(distdir) |
---|
526 | GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) |
---|
527 | -rm -rf $(distdir) |
---|
528 | distdir: $(DISTFILES) |
---|
529 | -rm -rf $(distdir) |
---|
530 | mkdir $(distdir) |
---|
531 | -chmod 777 $(distdir) |
---|
532 | $(mkinstalldirs) $(distdir)/glob |
---|
533 | @for file in $(DISTFILES); do \ |
---|
534 | d=$(srcdir); \ |
---|
535 | if test -d $$d/$$file; then \ |
---|
536 | cp -pr $$/$$file $(distdir)/$$file; \ |
---|
537 | else \ |
---|
538 | test -f $(distdir)/$$file \ |
---|
539 | || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ |
---|
540 | || cp -p $$d/$$file $(distdir)/$$file || :; \ |
---|
541 | fi; \ |
---|
542 | done |
---|
543 | for subdir in $(SUBDIRS); do \ |
---|
544 | if test "$$subdir" = .; then :; else \ |
---|
545 | test -d $(distdir)/$$subdir \ |
---|
546 | || mkdir $(distdir)/$$subdir \ |
---|
547 | || exit 1; \ |
---|
548 | chmod 777 $(distdir)/$$subdir; \ |
---|
549 | (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \ |
---|
550 | || exit 1; \ |
---|
551 | fi; \ |
---|
552 | done |
---|
553 | $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info |
---|
554 | $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook |
---|
555 | alloca.o: alloca.c config.h |
---|
556 | ar.o: ar.c make.h config.h gettext.h filedef.h dep.h glob/fnmatch.h |
---|
557 | arscan.o: arscan.c make.h config.h gettext.h |
---|
558 | commands.o: commands.c make.h config.h gettext.h dep.h filedef.h \ |
---|
559 | variable.h job.h commands.h |
---|
560 | default.o: default.c make.h config.h gettext.h rule.h dep.h filedef.h \ |
---|
561 | job.h commands.h variable.h |
---|
562 | dir.o: dir.c make.h config.h gettext.h glob/glob.h |
---|
563 | expand.o: expand.c make.h config.h gettext.h filedef.h job.h commands.h \ |
---|
564 | variable.h rule.h |
---|
565 | file.o: file.c make.h config.h gettext.h dep.h filedef.h job.h \ |
---|
566 | commands.h variable.h |
---|
567 | function.o: function.c make.h config.h gettext.h filedef.h variable.h \ |
---|
568 | dep.h job.h commands.h debug.h |
---|
569 | getloadavg.o: getloadavg.c config.h |
---|
570 | getopt.o: getopt.c config.h gettext.h getopt.h |
---|
571 | getopt1.o: getopt1.c config.h getopt.h |
---|
572 | gettext.o: gettext.c config.h gettext.h |
---|
573 | implicit.o: implicit.c make.h config.h gettext.h rule.h dep.h filedef.h \ |
---|
574 | debug.h |
---|
575 | job.o: job.c make.h config.h gettext.h job.h debug.h filedef.h \ |
---|
576 | commands.h variable.h |
---|
577 | main.o: main.c make.h config.h gettext.h dep.h filedef.h variable.h \ |
---|
578 | job.h commands.h rule.h debug.h getopt.h |
---|
579 | misc.o: misc.c make.h config.h gettext.h dep.h debug.h |
---|
580 | read.o: read.c make.h config.h gettext.h glob/glob.h dep.h filedef.h \ |
---|
581 | job.h commands.h variable.h rule.h debug.h |
---|
582 | remake.o: remake.c make.h config.h gettext.h filedef.h job.h commands.h \ |
---|
583 | dep.h variable.h debug.h |
---|
584 | remote-stub.o: remote-stub.c make.h config.h gettext.h filedef.h job.h \ |
---|
585 | commands.h |
---|
586 | rule.o: rule.c make.h config.h gettext.h dep.h filedef.h job.h \ |
---|
587 | commands.h variable.h rule.h |
---|
588 | signame.o: signame.c make.h config.h gettext.h signame.h |
---|
589 | variable.o: variable.c make.h config.h gettext.h dep.h filedef.h job.h \ |
---|
590 | commands.h variable.h rule.h |
---|
591 | version.o: version.c config.h |
---|
592 | vpath.o: vpath.c make.h config.h gettext.h filedef.h variable.h |
---|
593 | |
---|
594 | info-am: $(INFO_DEPS) |
---|
595 | info: info-recursive |
---|
596 | dvi-am: $(DVIS) |
---|
597 | dvi: dvi-recursive |
---|
598 | check-am: all-am |
---|
599 | $(MAKE) $(AM_MAKEFLAGS) check-local |
---|
600 | check: check-recursive |
---|
601 | installcheck-am: |
---|
602 | installcheck: installcheck-recursive |
---|
603 | all-recursive-am: config.h |
---|
604 | $(MAKE) $(AM_MAKEFLAGS) all-recursive |
---|
605 | |
---|
606 | install-exec-am: install-binPROGRAMS install-exec-local |
---|
607 | install-exec: install-exec-recursive |
---|
608 | |
---|
609 | install-data-am: install-info-am install-man |
---|
610 | install-data: install-data-recursive |
---|
611 | |
---|
612 | install-am: all-am |
---|
613 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
---|
614 | install: install-recursive |
---|
615 | uninstall-am: uninstall-binPROGRAMS uninstall-info uninstall-man |
---|
616 | uninstall: uninstall-recursive |
---|
617 | all-am: Makefile $(INFO_DEPS) $(PROGRAMS) $(MANS) $(HEADERS) config.h \ |
---|
618 | all-local |
---|
619 | all-redirect: all-recursive-am |
---|
620 | install-strip: |
---|
621 | $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install |
---|
622 | installdirs: installdirs-recursive |
---|
623 | installdirs-am: |
---|
624 | $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(infodir) \ |
---|
625 | $(DESTDIR)$(mandir)/man1 |
---|
626 | |
---|
627 | |
---|
628 | mostlyclean-generic: |
---|
629 | -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) |
---|
630 | |
---|
631 | clean-generic: |
---|
632 | -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) |
---|
633 | |
---|
634 | distclean-generic: |
---|
635 | -rm -f Makefile $(CONFIG_CLEAN_FILES) |
---|
636 | -rm -f config.cache config.log stamp-h stamp-h[0-9]* |
---|
637 | |
---|
638 | maintainer-clean-generic: |
---|
639 | mostlyclean-am: mostlyclean-hdr mostlyclean-binPROGRAMS \ |
---|
640 | mostlyclean-compile mostlyclean-aminfo mostlyclean-tags \ |
---|
641 | mostlyclean-generic |
---|
642 | |
---|
643 | mostlyclean: mostlyclean-recursive |
---|
644 | |
---|
645 | clean-am: clean-hdr clean-binPROGRAMS clean-compile clean-aminfo \ |
---|
646 | clean-tags clean-generic mostlyclean-am |
---|
647 | |
---|
648 | clean: clean-recursive |
---|
649 | |
---|
650 | distclean-am: distclean-hdr distclean-binPROGRAMS distclean-compile \ |
---|
651 | distclean-aminfo distclean-tags distclean-generic \ |
---|
652 | clean-am |
---|
653 | |
---|
654 | distclean: distclean-recursive |
---|
655 | -rm -f config.status |
---|
656 | |
---|
657 | maintainer-clean-am: maintainer-clean-hdr maintainer-clean-binPROGRAMS \ |
---|
658 | maintainer-clean-compile maintainer-clean-aminfo \ |
---|
659 | maintainer-clean-tags maintainer-clean-generic \ |
---|
660 | distclean-am maintainer-clean-local |
---|
661 | @echo "This command is intended for maintainers to use;" |
---|
662 | @echo "it deletes files that may require special tools to rebuild." |
---|
663 | |
---|
664 | maintainer-clean: maintainer-clean-recursive |
---|
665 | -rm -f config.status |
---|
666 | |
---|
667 | .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \ |
---|
668 | mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \ |
---|
669 | maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \ |
---|
670 | mostlyclean-compile distclean-compile clean-compile \ |
---|
671 | maintainer-clean-compile install-info-am uninstall-info \ |
---|
672 | mostlyclean-aminfo distclean-aminfo clean-aminfo \ |
---|
673 | maintainer-clean-aminfo install-man1 uninstall-man1 install-man \ |
---|
674 | uninstall-man install-data-recursive uninstall-data-recursive \ |
---|
675 | install-exec-recursive uninstall-exec-recursive installdirs-recursive \ |
---|
676 | uninstalldirs-recursive all-recursive check-recursive \ |
---|
677 | installcheck-recursive info-recursive dvi-recursive \ |
---|
678 | mostlyclean-recursive distclean-recursive clean-recursive \ |
---|
679 | maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ |
---|
680 | distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ |
---|
681 | dvi-am dvi check-local check check-am installcheck-am installcheck \ |
---|
682 | all-recursive-am install-exec-local install-exec-am install-exec \ |
---|
683 | install-data-am install-data install-am install uninstall-am uninstall \ |
---|
684 | all-local all-redirect all-am all installdirs-am installdirs \ |
---|
685 | mostlyclean-generic distclean-generic clean-generic \ |
---|
686 | maintainer-clean-generic clean mostlyclean distclean maintainer-clean |
---|
687 | |
---|
688 | |
---|
689 | all-local: $(srcdir)/stamp-pot |
---|
690 | |
---|
691 | $(srcdir)/stamp-pot: $(POTFILES) |
---|
692 | @echo "$(POTFILES)" > $@ |
---|
693 | |
---|
694 | install-exec-local: |
---|
695 | @if $(inst_setgid); then \ |
---|
696 | app=$(DESTDIR)$(bindir)/`echo $(bin_PROGRAMS)|sed '$(transform)'`; \ |
---|
697 | if chgrp $(inst_group) $$app && chmod g+s $$app; then \ |
---|
698 | echo "chgrp $(inst_group) $$app && chmod g+s $$app"; \ |
---|
699 | else \ |
---|
700 | echo "$$app needs to be owned by group $(inst_group) and setgid;"; \ |
---|
701 | echo "otherwise the \`-l' option will probably not work."; \ |
---|
702 | echo "You may need special privileges to complete the installation"; \ |
---|
703 | echo "of $$app."; \ |
---|
704 | fi; \ |
---|
705 | else true; fi |
---|
706 | |
---|
707 | # --------------- Local DIST Section |
---|
708 | |
---|
709 | # Install the w32 and tests subdirectories |
---|
710 | # |
---|
711 | dist-hook: |
---|
712 | (cd $(srcdir); \ |
---|
713 | sub=`find w32 tests -follow \( -name CVS -prune -o -name work -prune \) -o \( -name \*.orig -o -name \*.rej -o -name \*~ -prune \) -o -type f -print`; \ |
---|
714 | tar chf - $$sub) \ |
---|
715 | | (cd $(distdir); tar xfBp -) |
---|
716 | |
---|
717 | # --------------- Local CHECK Section |
---|
718 | |
---|
719 | check-local: check-regression check-loadavg |
---|
720 | @banner=" Regression PASSED: GNU Make $(VERSION) ($(MAKE_HOST)) built with $(CC) "; \ |
---|
721 | dashes=`echo "$$banner" | sed s/./=/g`; \ |
---|
722 | echo; \ |
---|
723 | echo "$$dashes"; \ |
---|
724 | echo "$$banner"; \ |
---|
725 | echo "$$dashes"; \ |
---|
726 | echo |
---|
727 | |
---|
728 | .PHONY: check-loadavg check-regression |
---|
729 | |
---|
730 | # > check-loadavg |
---|
731 | # |
---|
732 | loadavg: loadavg.c config.h |
---|
733 | @rm -f loadavg |
---|
734 | $(LINK) -DTEST $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(make_LDFLAGS) loadavg.c $(LIBS) |
---|
735 | |
---|
736 | # We copy getloadavg.c into a different file rather than compiling it |
---|
737 | # directly because some compilers clobber getloadavg.o in the process. |
---|
738 | # |
---|
739 | loadavg.c: getloadavg.c |
---|
740 | ln $(srcdir)/getloadavg.c loadavg.c || \ |
---|
741 | cp $(srcdir)/getloadavg.c loadavg.c |
---|
742 | |
---|
743 | check-loadavg: loadavg |
---|
744 | @echo The system uptime program believes the load average to be: |
---|
745 | -uptime |
---|
746 | @echo The GNU load average checking code believes: |
---|
747 | -./loadavg |
---|
748 | |
---|
749 | check-regression: |
---|
750 | @if test -f "$(srcdir)/tests/run_make_tests"; then \ |
---|
751 | if $(PERL) -v >/dev/null 2>&1; then \ |
---|
752 | case `cd $(srcdir); pwd` in `pwd`) : ;; \ |
---|
753 | *) test -d tests || mkdir tests; \ |
---|
754 | rm -f srctests; \ |
---|
755 | if ln -s "$(srcdir)/tests" srctests; then \ |
---|
756 | for f in run_make_tests run_make_tests.pl test_driver.pl scripts; do \ |
---|
757 | rm -f tests/$$f; ln -s ../srctests/$$f tests; \ |
---|
758 | done; fi ;; \ |
---|
759 | esac; \ |
---|
760 | echo "cd tests && $(PERL) ./run_make_tests.pl -make ../make $(MAKETESTFLAGS)"; \ |
---|
761 | cd tests && $(PERL) ./run_make_tests.pl -make ../make $(MAKETESTFLAGS); \ |
---|
762 | else \ |
---|
763 | echo "Can't find a working Perl ($(PERL)); the test suite requires Perl."; \ |
---|
764 | fi; \ |
---|
765 | else \ |
---|
766 | echo "Can't find the GNU Make test suite ($(srcdir)/tests)."; \ |
---|
767 | fi |
---|
768 | |
---|
769 | # --------------- Local CLEAN section |
---|
770 | |
---|
771 | maintainer-clean-local: |
---|
772 | -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) |
---|
773 | |
---|
774 | # --------------- Maintainer's Section |
---|
775 | |
---|
776 | @MAINT_MAKEFILE@ |
---|
777 | |
---|
778 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
---|
779 | # Otherwise a system limit (for SysV at least) may be exceeded. |
---|
780 | .NOEXPORT: |
---|