1
# Generated automatically from Makefile.in by configure.
2
# Makefile.in generated automatically by automake 1.4 from Makefile.am
4
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
5
# This Makefile.in is free software; the Free Software Foundation
6
# gives unlimited permission to copy and/or distribute it,
7
# with or without modifications, as long as this notice is preserved.
9
# This program is distributed in the hope that it will be useful,
10
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14
# This is a -*-Makefile-*-, or close enough
23
exec_prefix = ${prefix}
25
bindir = ${exec_prefix}/bin
26
sbindir = ${exec_prefix}/sbin
27
libexecdir = ${exec_prefix}/libexec
28
datadir = ${prefix}/share
29
sysconfdir = ${prefix}/etc
30
sharedstatedir = ${prefix}/com
31
localstatedir = ${prefix}/var
32
libdir = ${exec_prefix}/lib
33
infodir = ${prefix}/info
34
mandir = ${prefix}/man
35
includedir = ${prefix}/include
36
oldincludedir = /usr/include
40
pkgdatadir = $(datadir)/make
41
pkglibdir = $(libdir)/make
42
pkgincludedir = $(includedir)/make
49
AUTOHEADER = autoheader
51
INSTALL = /usr/bin/ginstall -c
52
INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
53
INSTALL_DATA = ${INSTALL} -m 644
54
INSTALL_SCRIPT = ${INSTALL_PROGRAM}
63
host_alias = i686-pc-linux-gnu
64
host_triplet = i686-pc-linux-gnu
70
LIBOBJS = getloadavg.o
78
AUTOMAKE_OPTIONS = 1.4
82
make_SOURCES = main.c commands.c job.c dir.c file.c misc.c read.c remake.c rule.c implicit.c default.c variable.c expand.c function.c vpath.c version.c ar.c arscan.c remote-$(REMOTE).c commands.h dep.h filedef.h job.h make.h rule.h variable.h signame.c signame.h getopt.c getopt1.c getopt.h
84
make_LDADD = getloadavg.o
86
info_TEXINFOS = make.texinfo
89
INCLUDES = -DLIBDIR=\"$(libdir)\" -DINCLUDEDIR=\"$(includedir)\"
91
EXTRA_DIST = README build.sh.in $(man_MANS) README.customs remote-cstms.c make-stds.texi texinfo.tex 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
96
MOSTLYCLEANFILES = loadavg.c
99
MAKE_HOST = i686-pc-linux-gnu
101
# --------------- Local INSTALL Section
103
# If necessary, change the gid of the app and turn on the setgid flag.
106
# Whether or not make needs to be installed setgid.
107
# The value should be either `true' or `false'.
108
# On many systems, the getloadavg function (used to implement the `-l'
109
# switch) will not work unless make is installed setgid kmem.
113
# Install make setgid to this group so it can get the load average.
119
# Look for the make test suite, and run it if found and we can find perl.
120
# If we're building outside the tree, we use symlinks to make a local copy of
121
# the test suite. Unfortunately the test suite itself isn't localizable yet.
124
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
125
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
126
CONFIG_HEADER = config.h
127
CONFIG_CLEAN_FILES = build.sh
128
PROGRAMS = $(bin_PROGRAMS)
131
DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I.
135
make_OBJECTS = main.o commands.o job.o dir.o file.o misc.o read.o \
136
remake.o rule.o implicit.o default.o variable.o expand.o function.o \
137
vpath.o version.o ar.o arscan.o remote-$(REMOTE).o signame.o getopt.o \
139
make_DEPENDENCIES = getloadavg.o
141
CFLAGS = -g -O2 -Wall -DLINUX
142
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
144
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
146
INFO_DEPS = make.info
148
TEXINFOS = make.texinfo
149
man1dir = $(mandir)/man1
153
DIST_COMMON = README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \
154
Makefile.am Makefile.in NEWS acconfig.h acinclude.m4 aclocal.m4 \
155
alloca.c build.sh.in config.guess config.h.in config.sub configure \
156
configure.in getloadavg.c install-sh missing mkinstalldirs texinfo.tex
159
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
163
SOURCES = $(make_SOURCES)
164
OBJECTS = $(make_OBJECTS)
169
#$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
170
# cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps Makefile
172
#Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
173
# cd $(top_builddir) \
174
# && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
176
#$(ACLOCAL_M4): configure.in acinclude.m4
177
# cd $(srcdir) && $(ACLOCAL)
179
#config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
180
# $(SHELL) ./config.status --recheck
181
#$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
182
# cd $(srcdir) && $(AUTOCONF)
185
# @if test ! -f $@; then \
189
#stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
190
# cd $(top_builddir) \
191
# && CONFIG_FILES= CONFIG_HEADERS=config.h \
192
# $(SHELL) ./config.status
193
# @echo timestamp > stamp-h 2> /dev/null
194
#$(srcdir)/config.h.in: $(srcdir)/stamp-h.in
195
# @if test ! -f $@; then \
196
# rm -f $(srcdir)/stamp-h.in; \
197
# $(MAKE) $(srcdir)/stamp-h.in; \
199
#$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
200
# cd $(top_srcdir) && $(AUTOHEADER)
201
# @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
210
#maintainer-clean-hdr:
211
#build.sh: $(top_builddir)/config.status build.sh.in
212
# cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
214
mostlyclean-binPROGRAMS:
217
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
219
distclean-binPROGRAMS:
221
maintainer-clean-binPROGRAMS:
223
install-binPROGRAMS: $(bin_PROGRAMS)
225
$(mkinstalldirs) $(DESTDIR)$(bindir)
226
@list='$(bin_PROGRAMS)'; for p in $$list; do \
227
if test -f $$p; then \
228
echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
229
$(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
233
uninstall-binPROGRAMS:
235
list='$(bin_PROGRAMS)'; for p in $$list; do \
236
rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
240
@echo No dependencies for 3rd_party qmake
252
-rm -f *.o core *.core
259
maintainer-clean-compile:
261
make: $(make_OBJECTS) $(make_DEPENDENCIES)
263
$(LINK) $(make_LDFLAGS) $(make_OBJECTS) $(make_LDADD) $(LIBS)
265
make.info: make.texinfo
266
make.dvi: make.texinfo
272
@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
274
&& $(MAKEINFO) `echo $< | sed 's,.*/,,'`
277
TEXINPUTS=.:$$TEXINPUTS \
278
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
281
@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
283
&& $(MAKEINFO) `echo $< | sed 's,.*/,,'`
286
@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
288
&& $(MAKEINFO) `echo $< | sed 's,.*/,,'`
291
@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
293
&& $(MAKEINFO) `echo $< | sed 's,.*/,,'`
296
TEXINPUTS=.:$$TEXINPUTS \
297
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
300
@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
302
&& $(MAKEINFO) `echo $< | sed 's,.*/,,'`
305
TEXINPUTS=.:$$TEXINPUTS \
306
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
309
@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
311
&& $(MAKEINFO) `echo $< | sed 's,.*/,,'`
315
install-info-am: $(INFO_DEPS)
317
$(mkinstalldirs) $(DESTDIR)$(infodir)
318
@list='$(INFO_DEPS)'; \
319
for file in $$list; do \
321
for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
322
if test -f $$d/$$ifile; then \
323
echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
324
$(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
329
@if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
330
list='$(INFO_DEPS)'; \
331
for file in $$list; do \
332
echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
333
install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
339
@if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
342
list='$(INFO_DEPS)'; \
343
for file in $$list; do \
345
|| install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \
348
list='$(INFO_DEPS)'; \
349
for file in $$list; do \
350
(cd $(DESTDIR)$(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
353
dist-info: $(INFO_DEPS)
354
list='$(INFO_DEPS)'; \
355
for base in $$list; do \
357
for file in `cd $$d && eval echo $$base*`; do \
358
test -f $(distdir)/$$file \
359
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
360
|| cp -p $$d/$$file $(distdir)/$$file; \
365
-rm -f make.aux make.cp make.cps make.dvi make.fn make.fns make.ky \
366
make.kys make.ps make.log make.pg make.toc make.tp make.tps \
367
make.vr make.vrs make.op make.tr make.cv make.cn
373
maintainer-clean-aminfo:
374
cd $(srcdir) && for i in $(INFO_DEPS); do \
376
if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
382
$(mkinstalldirs) $(DESTDIR)$(man1dir)
383
@list='$(man1_MANS)'; \
384
l2='$(man_MANS)'; for i in $$l2; do \
386
*.1*) list="$$list $$i" ;; \
389
for i in $$list; do \
390
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
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 " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
396
$(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
400
@list='$(man1_MANS)'; \
401
l2='$(man_MANS)'; for i in $$l2; do \
403
*.1*) list="$$list $$i" ;; \
406
for i in $$list; do \
407
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
408
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
409
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
410
echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
411
rm -f $(DESTDIR)$(man1dir)/$$inst; \
415
$(MAKE) $(AM_MAKEFLAGS) install-man1
418
$(MAKE) $(AM_MAKEFLAGS) uninstall-man1
420
# This directory's subdirectories are mostly independent; you can cd
421
# into them and run `make' without going through this Makefile.
422
# To change the values of `make' variables: instead of editing Makefiles,
423
# (1) if the variable is set in `config.status', edit `config.status'
424
# (which will cause the Makefiles to be regenerated when you run `make');
425
# (2) otherwise, pass the desired values on the `make' command line.
429
all-recursive install-data-recursive install-exec-recursive \
430
installdirs-recursive install-recursive uninstall-recursive \
431
check-recursive installcheck-recursive info-recursive dvi-recursive:
432
@set fnord $(MAKEFLAGS); amf=$$2; \
434
target=`echo $@ | sed s/-recursive//`; \
435
list='$(SUBDIRS)'; for subdir in $$list; do \
436
echo "Making $$target in $$subdir"; \
437
if test "$$subdir" = "."; then \
439
local_target="$$target-am"; \
441
local_target="$$target"; \
443
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
444
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
446
if test "$$dot_seen" = "no"; then \
447
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
450
mostlyclean-recursive clean-recursive distclean-recursive \
451
maintainer-clean-recursive:
452
@set fnord $(MAKEFLAGS); amf=$$2; \
454
rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
455
rev="$$subdir $$rev"; \
456
test "$$subdir" = "." && dot_seen=yes; \
458
test "$$dot_seen" = "no" && rev=". $$rev"; \
459
target=`echo $@ | sed s/-recursive//`; \
460
for subdir in $$rev; do \
461
echo "Making $$target in $$subdir"; \
462
if test "$$subdir" = "."; then \
463
local_target="$$target-am"; \
465
local_target="$$target"; \
467
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
468
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
469
done && test -z "$$fail"
471
list='$(SUBDIRS)'; for subdir in $$list; do \
472
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
477
ID: $(HEADERS) $(SOURCES) $(LISP)
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
here=`pwd` && cd $(srcdir) \
483
&& mkid -f$$here/ID $$unique $(LISP)
485
TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
488
list='$(SUBDIRS)'; for subdir in $$list; do \
489
if test "$$subdir" = .; then :; else \
490
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
493
list='$(SOURCES) $(HEADERS)'; \
494
unique=`for i in $$list; do echo $$i; done | \
495
awk ' { files[$$0] = 1; } \
496
END { for (i in files) print i; }'`; \
497
test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
498
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
507
maintainer-clean-tags:
509
distdir = $(PACKAGE)-$(VERSION)
510
top_distdir = $(distdir)
512
# This target untars the dist file and tries a VPATH configuration. Then
513
# it guarantees that the distribution is self-contained by making another
517
GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
518
mkdir $(distdir)/=build
519
mkdir $(distdir)/=inst
520
dc_install_base=`cd $(distdir)/=inst && pwd`; \
521
cd $(distdir)/=build \
522
&& ../configure --srcdir=.. --prefix=$$dc_install_base \
523
&& $(MAKE) $(AM_MAKEFLAGS) \
524
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
525
&& $(MAKE) $(AM_MAKEFLAGS) check \
526
&& $(MAKE) $(AM_MAKEFLAGS) install \
527
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
528
&& $(MAKE) $(AM_MAKEFLAGS) dist
530
@banner="$(distdir).tar.gz is ready for distribution"; \
531
dashes=`echo "$$banner" | sed s/./=/g`; \
536
-chmod -R a+r $(distdir)
537
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
540
-chmod -R a+r $(distdir)
541
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
543
distdir: $(DISTFILES)
546
-chmod 777 $(distdir)
547
@for file in $(DISTFILES); do \
549
if test -d $$d/$$file; then \
550
cp -pr $$/$$file $(distdir)/$$file; \
552
test -f $(distdir)/$$file \
553
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
554
|| cp -p $$d/$$file $(distdir)/$$file || :; \
557
for subdir in $(SUBDIRS); do \
558
if test "$$subdir" = .; then :; else \
559
test -d $(distdir)/$$subdir \
560
|| mkdir $(distdir)/$$subdir \
562
chmod 777 $(distdir)/$$subdir; \
563
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
567
$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
568
$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
569
info-am: $(INFO_DEPS)
574
$(MAKE) $(AM_MAKEFLAGS) check-local
575
check: check-recursive
577
installcheck: installcheck-recursive
578
all-recursive-am: config.h
579
$(MAKE) $(AM_MAKEFLAGS) all-recursive
581
install-exec-am: install-binPROGRAMS install-exec-local
582
install-exec: install-exec-recursive
584
install-data-am: install-info-am install-man
585
install-data: install-data-recursive
588
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
589
install: install-recursive
590
uninstall-am: uninstall-binPROGRAMS uninstall-info uninstall-man
591
uninstall: uninstall-recursive
592
all-am: Makefile $(INFO_DEPS) $(PROGRAMS) $(MANS) config.h
593
all-redirect: all-recursive-am
595
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
596
installdirs: installdirs-recursive
598
$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(infodir) \
599
$(DESTDIR)$(mandir)/man1
603
-test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
606
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
609
-rm -f Makefile $(CONFIG_CLEAN_FILES)
610
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
612
maintainer-clean-generic:
613
mostlyclean-am: mostlyclean-hdr mostlyclean-binPROGRAMS \
614
mostlyclean-compile mostlyclean-aminfo mostlyclean-tags \
617
mostlyclean: mostlyclean-recursive
619
clean-am: clean-hdr clean-binPROGRAMS clean-compile clean-aminfo \
620
clean-tags clean-generic mostlyclean-am
622
clean: clean-recursive
624
distclean-am: distclean-hdr distclean-binPROGRAMS distclean-compile \
625
distclean-aminfo distclean-tags distclean-generic \
628
distclean: distclean-recursive
631
maintainer-clean-am: maintainer-clean-hdr maintainer-clean-binPROGRAMS \
632
maintainer-clean-compile maintainer-clean-aminfo \
633
maintainer-clean-tags maintainer-clean-generic \
634
distclean-am maintainer-clean-local
635
@echo "This command is intended for maintainers to use;"
636
@echo "it deletes files that may require special tools to rebuild."
638
maintainer-clean: maintainer-clean-recursive
641
.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
642
mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
643
maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
644
mostlyclean-compile distclean-compile clean-compile \
645
maintainer-clean-compile install-info-am uninstall-info \
646
mostlyclean-aminfo distclean-aminfo clean-aminfo \
647
maintainer-clean-aminfo install-man1 uninstall-man1 install-man \
648
uninstall-man install-data-recursive uninstall-data-recursive \
649
install-exec-recursive uninstall-exec-recursive installdirs-recursive \
650
uninstalldirs-recursive all-recursive check-recursive \
651
installcheck-recursive info-recursive dvi-recursive \
652
mostlyclean-recursive distclean-recursive clean-recursive \
653
maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
654
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
655
dvi-am dvi check-local check check-am installcheck-am installcheck \
656
all-recursive-am install-exec-local install-exec-am install-exec \
657
install-data-am install-data install-am install uninstall-am uninstall \
658
all-redirect all-am all installdirs-am installdirs mostlyclean-generic \
659
distclean-generic clean-generic maintainer-clean-generic clean \
660
mostlyclean distclean maintainer-clean
664
@if $(inst_setgid); then \
665
app=$(DESTDIR)$(bindir)/`echo $(bin_PROGRAMS)|sed '$(transform)'`; \
666
if chgrp $(inst_group) $$app && chmod g+s $$app; then \
667
echo "chgrp $(inst_group) $$app && chmod g+s $$app"; \
669
echo "$$app needs to be owned by group $(inst_group) and setgid;"; \
670
echo "otherwise the \`-l' option will probably not work."; \
671
echo "You may need special privileges to complete the installation"; \
676
# --------------- Local DIST Section
678
# Install the w32 and tests subdirectories
682
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`; \
684
| (cd $(distdir); tar xfBp -)
686
# --------------- Local CHECK Section
688
check-local: check-regression check-loadavg
689
@banner=" Regression PASSED: GNU Make $(VERSION) ($(MAKE_HOST)) built with $(CC) "; \
690
dashes=`echo "$$banner" | sed s/./=/g`; \
697
.PHONY: check-loadavg check-regression
701
loadavg: loadavg.c config.h
703
$(LINK) $(DEFS) $(CPPFLAGS) -DTEST $(make_LDFLAGS) loadavg.c $(LIBS)
705
# We copy getloadavg.c into a different file rather than compiling it
706
# directly because some compilers clobber getloadavg.o in the process.
708
loadavg.c: getloadavg.c
709
ln $(srcdir)/getloadavg.c loadavg.c || \
710
cp $(srcdir)/getloadavg.c loadavg.c
712
check-loadavg: loadavg
713
@echo The system uptime program believes the load average to be:
715
@echo The GNU load average checking code believes:
719
@if test -f "$(srcdir)/tests/run_make_tests"; then \
720
if $(PERL) -v >/dev/null 2>&1; then \
721
case `cd $(srcdir); pwd` in `pwd`) : ;; \
722
*) test -d tests || mkdir tests; \
724
if ln -s "$(srcdir)/tests" srctests; then \
725
for f in run_make_tests run_make_tests.pl test_driver.pl scripts; do \
726
rm -f tests/$$f; ln -s ../srctests/$$f tests; \
729
echo "cd tests && $(PERL) ./run_make_tests.pl -make ../make $(MAKETESTFLAGS)"; \
730
cd tests && $(PERL) ./run_make_tests.pl -make ../make $(MAKETESTFLAGS); \
732
echo "Can't find a working Perl ($(PERL)); the test suite requires Perl."; \
735
echo "Can't find the GNU Make test suite ($(srcdir)/tests)."; \
738
# --------------- Local CLEAN section
740
maintainer-clean-local:
741
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
743
# --------------- Maintainer's Section
747
# Tell versions [3.59,3.63) of GNU make to not export all variables.
748
# Otherwise a system limit (for SysV at least) may be exceeded.