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/install -c
52
INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
53
INSTALL_DATA = ${INSTALL} -m 644
54
INSTALL_SCRIPT = ${INSTALL_PROGRAM}
63
host_alias = powerpc-apple-darwin8.6.0
69
GLOBLIB = glob/libglob.a
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 = glob/libglob.a
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
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 \
141
CFLAGS = -O3 -no-cpp-precomp -flat_namespace -Wall -Werror -Wstrict-prototypes -DFD_SETSIZE=8192 -DDARWIN -DDARWIN8 -DGETHOSTBYNAME -DGETHOSTBYADDR_M -DLOAD_OPENSSL -I/vol2/SW/db-4.4.20/darwin-ppc/include/ -DTARGET_32BIT -DQCONF_FLATFILE -DSPOOLING_dynamic -DSECURE -I/vol2/tools/SW/openssl-0.9.7e/darwin-ppc/include -DCOMPILE_DC -D__SGE_NO_USERMAPPING__ -Wno-error
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)
168
.SUFFIXES: .S .c .dvi .info .o .ps .s .texi .texinfo .txi
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
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
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
touch $(srcdir)/stamp-h.in
202
#@echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
211
maintainer-clean-hdr:
212
build.sh: $(top_builddir)/config.status build.sh.in
213
cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
215
mostlyclean-binPROGRAMS:
218
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
220
distclean-binPROGRAMS:
222
maintainer-clean-binPROGRAMS:
224
install-binPROGRAMS: $(bin_PROGRAMS)
226
$(mkinstalldirs) $(DESTDIR)$(bindir)
227
@list='$(bin_PROGRAMS)'; for p in $$list; do \
228
if test -f $$p; then \
229
echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
230
$(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
234
uninstall-binPROGRAMS:
236
list='$(bin_PROGRAMS)'; for p in $$list; do \
237
rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
241
@echo "No depends target for qmake yet"
253
-rm -f *.o core *.core
260
maintainer-clean-compile:
262
make: $(make_OBJECTS) $(make_DEPENDENCIES)
264
$(LINK) $(make_LDFLAGS) $(make_OBJECTS) $(make_LDADD) $(LIBS)
266
make.info: make.texinfo
267
make.dvi: make.texinfo
273
@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
275
&& $(MAKEINFO) `echo $< | sed 's,.*/,,'`
278
TEXINPUTS=.:$$TEXINPUTS \
279
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
282
@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
284
&& $(MAKEINFO) `echo $< | sed 's,.*/,,'`
287
@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
289
&& $(MAKEINFO) `echo $< | sed 's,.*/,,'`
292
@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
294
&& $(MAKEINFO) `echo $< | sed 's,.*/,,'`
297
TEXINPUTS=.:$$TEXINPUTS \
298
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
301
@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
303
&& $(MAKEINFO) `echo $< | sed 's,.*/,,'`
306
TEXINPUTS=.:$$TEXINPUTS \
307
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
310
@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
312
&& $(MAKEINFO) `echo $< | sed 's,.*/,,'`
316
install-info-am: $(INFO_DEPS)
318
$(mkinstalldirs) $(DESTDIR)$(infodir)
319
@list='$(INFO_DEPS)'; \
320
for file in $$list; do \
322
for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
323
if test -f $$d/$$ifile; then \
324
echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
325
$(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
330
@if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
331
list='$(INFO_DEPS)'; \
332
for file in $$list; do \
333
echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
334
install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
340
@if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
343
list='$(INFO_DEPS)'; \
344
for file in $$list; do \
346
|| install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \
349
list='$(INFO_DEPS)'; \
350
for file in $$list; do \
351
(cd $(DESTDIR)$(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
354
dist-info: $(INFO_DEPS)
355
list='$(INFO_DEPS)'; \
356
for base in $$list; do \
358
for file in `cd $$d && eval echo $$base*`; do \
359
test -f $(distdir)/$$file \
360
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
361
|| cp -p $$d/$$file $(distdir)/$$file; \
366
-rm -f make.aux make.cp make.cps make.dvi make.fn make.fns make.ky \
367
make.kys make.ps make.log make.pg make.toc make.tp make.tps \
368
make.vr make.vrs make.op make.tr make.cv make.cn
374
maintainer-clean-aminfo:
375
cd $(srcdir) && for i in $(INFO_DEPS); do \
377
if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
383
$(mkinstalldirs) $(DESTDIR)$(man1dir)
384
@list='$(man1_MANS)'; \
385
l2='$(man_MANS)'; for i in $$l2; do \
387
*.1*) list="$$list $$i" ;; \
390
for i in $$list; do \
391
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
393
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
394
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
395
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
396
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
397
$(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
401
@list='$(man1_MANS)'; \
402
l2='$(man_MANS)'; for i in $$l2; do \
404
*.1*) list="$$list $$i" ;; \
407
for i in $$list; do \
408
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
409
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
410
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
411
echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
412
rm -f $(DESTDIR)$(man1dir)/$$inst; \
416
$(MAKE) $(AM_MAKEFLAGS) install-man1
419
$(MAKE) $(AM_MAKEFLAGS) uninstall-man1
421
# This directory's subdirectories are mostly independent; you can cd
422
# into them and run `make' without going through this Makefile.
423
# To change the values of `make' variables: instead of editing Makefiles,
424
# (1) if the variable is set in `config.status', edit `config.status'
425
# (which will cause the Makefiles to be regenerated when you run `make');
426
# (2) otherwise, pass the desired values on the `make' command line.
430
all-recursive install-data-recursive install-exec-recursive \
431
installdirs-recursive install-recursive uninstall-recursive \
432
check-recursive installcheck-recursive info-recursive dvi-recursive:
433
@set fnord $(MAKEFLAGS); amf=$$2; \
435
target=`echo $@ | sed s/-recursive//`; \
436
list='$(SUBDIRS)'; for subdir in $$list; do \
437
echo "Making $$target in $$subdir"; \
438
if test "$$subdir" = "."; then \
440
local_target="$$target-am"; \
442
local_target="$$target"; \
444
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
445
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
447
if test "$$dot_seen" = "no"; then \
448
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
451
mostlyclean-recursive clean-recursive distclean-recursive \
452
maintainer-clean-recursive:
453
@set fnord $(MAKEFLAGS); amf=$$2; \
455
rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
456
rev="$$subdir $$rev"; \
457
test "$$subdir" = "." && dot_seen=yes; \
459
test "$$dot_seen" = "no" && rev=". $$rev"; \
460
target=`echo $@ | sed s/-recursive//`; \
461
for subdir in $$rev; do \
462
echo "Making $$target in $$subdir"; \
463
if test "$$subdir" = "."; then \
464
local_target="$$target-am"; \
466
local_target="$$target"; \
468
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
469
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
470
done && test -z "$$fail"
472
list='$(SUBDIRS)'; for subdir in $$list; do \
473
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
478
ID: $(HEADERS) $(SOURCES) $(LISP)
479
list='$(SOURCES) $(HEADERS)'; \
480
unique=`for i in $$list; do echo $$i; done | \
481
awk ' { files[$$0] = 1; } \
482
END { for (i in files) print i; }'`; \
483
here=`pwd` && cd $(srcdir) \
484
&& mkid -f$$here/ID $$unique $(LISP)
486
TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
489
list='$(SUBDIRS)'; for subdir in $$list; do \
490
if test "$$subdir" = .; then :; else \
491
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
494
list='$(SOURCES) $(HEADERS)'; \
495
unique=`for i in $$list; do echo $$i; done | \
496
awk ' { files[$$0] = 1; } \
497
END { for (i in files) print i; }'`; \
498
test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
499
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
508
maintainer-clean-tags:
510
distdir = $(PACKAGE)-$(VERSION)
511
top_distdir = $(distdir)
513
# This target untars the dist file and tries a VPATH configuration. Then
514
# it guarantees that the distribution is self-contained by making another
518
GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
519
mkdir $(distdir)/=build
520
mkdir $(distdir)/=inst
521
dc_install_base=`cd $(distdir)/=inst && pwd`; \
522
cd $(distdir)/=build \
523
&& ../configure --srcdir=.. --prefix=$$dc_install_base \
524
&& $(MAKE) $(AM_MAKEFLAGS) \
525
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
526
&& $(MAKE) $(AM_MAKEFLAGS) check \
527
&& $(MAKE) $(AM_MAKEFLAGS) install \
528
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
529
&& $(MAKE) $(AM_MAKEFLAGS) dist
531
@banner="$(distdir).tar.gz is ready for distribution"; \
532
dashes=`echo "$$banner" | sed s/./=/g`; \
537
-chmod -R a+r $(distdir)
538
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
541
-chmod -R a+r $(distdir)
542
GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
544
distdir: $(DISTFILES)
547
-chmod 777 $(distdir)
548
@for file in $(DISTFILES); do \
550
if test -d $$d/$$file; then \
551
cp -pr $$d/$$file $(distdir)/$$file; \
553
test -f $(distdir)/$$file \
554
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
555
|| cp -p $$d/$$file $(distdir)/$$file || :; \
558
for subdir in $(SUBDIRS); do \
559
if test "$$subdir" = .; then :; else \
560
test -d $(distdir)/$$subdir \
561
|| mkdir $(distdir)/$$subdir \
563
chmod 777 $(distdir)/$$subdir; \
564
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
568
$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
569
$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
570
info-am: $(INFO_DEPS)
575
$(MAKE) $(AM_MAKEFLAGS) check-local
576
check: check-recursive
578
installcheck: installcheck-recursive
579
all-recursive-am: config.h
580
$(MAKE) $(AM_MAKEFLAGS) all-recursive
582
install-exec-am: install-binPROGRAMS install-exec-local
583
install-exec: install-exec-recursive
585
install-data-am: install-info-am install-man
586
install-data: install-data-recursive
589
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
590
install: install-recursive
591
uninstall-am: uninstall-binPROGRAMS uninstall-info uninstall-man
592
uninstall: uninstall-recursive
593
all-am: Makefile $(INFO_DEPS) $(PROGRAMS) $(MANS) config.h
594
all-redirect: all-recursive-am
596
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
597
installdirs: installdirs-recursive
599
$(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(infodir) \
600
$(DESTDIR)$(mandir)/man1
604
-test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
607
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
610
-rm -f Makefile $(CONFIG_CLEAN_FILES)
611
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
613
maintainer-clean-generic:
614
mostlyclean-am: mostlyclean-hdr mostlyclean-binPROGRAMS \
615
mostlyclean-compile mostlyclean-aminfo mostlyclean-tags \
618
mostlyclean: mostlyclean-recursive
620
clean-am: clean-hdr clean-binPROGRAMS clean-compile clean-aminfo \
621
clean-tags clean-generic mostlyclean-am
623
clean: clean-recursive
625
distclean-am: distclean-hdr distclean-binPROGRAMS distclean-compile \
626
distclean-aminfo distclean-tags distclean-generic \
629
distclean: distclean-recursive
632
maintainer-clean-am: maintainer-clean-hdr maintainer-clean-binPROGRAMS \
633
maintainer-clean-compile maintainer-clean-aminfo \
634
maintainer-clean-tags maintainer-clean-generic \
635
distclean-am maintainer-clean-local
636
@echo "This command is intended for maintainers to use;"
637
@echo "it deletes files that may require special tools to rebuild."
639
maintainer-clean: maintainer-clean-recursive
642
.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
643
mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
644
maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
645
mostlyclean-compile distclean-compile clean-compile \
646
maintainer-clean-compile install-info-am uninstall-info \
647
mostlyclean-aminfo distclean-aminfo clean-aminfo \
648
maintainer-clean-aminfo install-man1 uninstall-man1 install-man \
649
uninstall-man install-data-recursive uninstall-data-recursive \
650
install-exec-recursive uninstall-exec-recursive installdirs-recursive \
651
uninstalldirs-recursive all-recursive check-recursive \
652
installcheck-recursive info-recursive dvi-recursive \
653
mostlyclean-recursive distclean-recursive clean-recursive \
654
maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
655
distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
656
dvi-am dvi check-local check check-am installcheck-am installcheck \
657
all-recursive-am install-exec-local install-exec-am install-exec \
658
install-data-am install-data install-am install uninstall-am uninstall \
659
all-redirect all-am all installdirs-am installdirs mostlyclean-generic \
660
distclean-generic clean-generic maintainer-clean-generic clean \
661
mostlyclean distclean maintainer-clean
665
@if $(inst_setgid); then \
666
app=$(DESTDIR)$(bindir)/`echo $(bin_PROGRAMS)|sed '$(transform)'`; \
667
if chgrp $(inst_group) $$app && chmod g+s $$app; then \
668
echo "chgrp $(inst_group) $$app && chmod g+s $$app"; \
670
echo "$$app needs to be owned by group $(inst_group) and setgid;"; \
671
echo "otherwise the \`-l' option will probably not work."; \
672
echo "You may need special privileges to complete the installation"; \
677
# --------------- Local DIST Section
679
# Install the w32 and tests subdirectories
683
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`; \
685
| (cd $(distdir); tar xfBp -)
687
# --------------- Local CHECK Section
689
check-local: check-regression check-loadavg
690
@banner=" Regression PASSED: GNU Make $(VERSION) ($(MAKE_HOST)) built with $(CC) "; \
691
dashes=`echo "$$banner" | sed s/./=/g`; \
698
.PHONY: check-loadavg check-regression
702
loadavg: loadavg.c config.h
704
$(LINK) $(DEFS) $(CPPFLAGS) -DTEST $(make_LDFLAGS) loadavg.c $(LIBS)
706
# We copy getloadavg.c into a different file rather than compiling it
707
# directly because some compilers clobber getloadavg.o in the process.
709
loadavg.c: getloadavg.c
710
ln $(srcdir)/getloadavg.c loadavg.c || \
711
cp $(srcdir)/getloadavg.c loadavg.c
713
check-loadavg: loadavg
714
@echo The system uptime program believes the load average to be:
716
@echo The GNU load average checking code believes:
720
@if test -f "$(srcdir)/tests/run_make_tests"; then \
721
if $(PERL) -v >/dev/null 2>&1; then \
722
case `cd $(srcdir); pwd` in `pwd`) : ;; \
723
*) test -d tests || mkdir tests; \
725
if ln -s "$(srcdir)/tests" srctests; then \
726
for f in run_make_tests run_make_tests.pl test_driver.pl scripts; do \
727
rm -f tests/$$f; ln -s ../srctests/$$f tests; \
730
echo "cd tests && $(PERL) ./run_make_tests.pl -make ../make $(MAKETESTFLAGS)"; \
731
cd tests && $(PERL) ./run_make_tests.pl -make ../make $(MAKETESTFLAGS); \
733
echo "Can't find a working Perl ($(PERL)); the test suite requires Perl."; \
736
echo "Can't find the GNU Make test suite ($(srcdir)/tests)."; \
739
# --------------- Local CLEAN section
741
maintainer-clean-local:
742
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
744
# --------------- Maintainer's Section
748
# Tell versions [3.59,3.63) of GNU make to not export all variables.
749
# Otherwise a system limit (for SysV at least) may be exceeded.