VirtualBox

source: kBuild/vendor/gnumake/2008-10-28/Makefile.DOS.template

Last change on this file was 1989, checked in by bird, 16 years ago

Load gnumake-2008-10-28-CVS into vendor/gnumake/current.

File size: 18.0 KB
Line 
1# -*-Makefile-*- template for DJGPP
2# Makefile.in generated automatically by automake 1.2 from Makefile.am
3#
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
5# 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
6# This file is part of GNU Make.
7#
8# GNU Make is free software; you can redistribute it and/or modify it under
9# the terms of the GNU General Public License as published by the Free Software
10# Foundation; either version 3 of the License, or (at your option) any later
11# version.
12#
13# GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
14# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
15# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
16# details.
17#
18# You should have received a copy of the GNU General Public License along with
19# this program. If not, see <http://www.gnu.org/licenses/>.
20
21SHELL = /bin/sh
22
23srcdir = .
24VPATH = $(srcdir)
25# $DJDIR is defined automatically by DJGPP to point
26# to the root of the DJGPP installation tree.
27prefix = /dev/env/DJDIR
28exec_prefix = ${prefix}
29
30bindir = /bin
31datadir = /share
32libdir = /lib
33infodir = /info
34mandir = /man
35includedir = /include
36oldincludedir = c:/djgpp/include
37
38DESTDIR = /dev/env/DJDIR
39
40pkgdatadir = $(datadir)/make
41pkglibdir = $(libdir)/make
42pkgincludedir = $(includedir)/make
43localedir = $(datadir)/locale
44
45INSTALL = ${exec_prefix}/bin/ginstall -c
46INSTALL_PROGRAM = ${exec_prefix}/bin/ginstall -c
47INSTALL_DATA = ${exec_prefix}/bin/ginstall -c -m 644
48INSTALL_SCRIPT = ${exec_prefix}/bin/ginstall -c
49transform = s,x,x,
50
51# This will fail even if they don't have a Unix-like shell (stock DOS
52# shell doesn't know about `false'). The only difference is that they
53# get "Error -1" instead of "Error 1".
54EXIT_FAIL = false
55
56NORMAL_INSTALL = :
57PRE_INSTALL = :
58POST_INSTALL = :
59NORMAL_UNINSTALL = :
60PRE_UNINSTALL = :
61POST_UNINSTALL = :
62EXEEXT = .exe
63OBJEXT = o
64
65AR = ar
66AWK = gawk
67CC = gcc
68CPP = gcc -E
69LIBOBJS =
70MAKEINFO = ${exec_prefix}/bin/makeinfo
71PACKAGE = make
72PERL = perl
73RANLIB = ranlib
74REMOTE = stub
75VERSION = %VERSION%
76
77AUTOMAKE_OPTIONS = 1.2
78
79bin_PROGRAMS = %PROGRAMS%$(EXEEXT)
80
81make_SOURCES = %SOURCES%
82# This should include the glob/ prefix
83libglob_a_SOURCES = %GLOB_SOURCES%
84make_LDADD = glob/libglob.a
85
86man_MANS = make.1
87
88INCLUDES = -I$(srcdir)/glob -DLIBDIR=\"c:/djgpp/lib\" -DINCLUDEDIR=\"c:/djgpp/include\" -DLOCALEDIR=\"$(localedir)\"
89
90BUILT_SOURCES = README build.sh-in
91
92EXTRA_DIST = $(BUILT_SOURCES) $(man_MANS) README.customs remote-cstms.c make-stds.texi texinfo.tex SCOPTIONS SMakefile Makefile.ami README.Amiga config.ami amiga.c amiga.h NMakefile README.DOS configh.dos configure.bat makefile.com README.W32 build_w32.bat config.h-W32 subproc.bat make.lnk config.h-vms makefile.vms readme.vms vmsdir.h vmsfunctions.c vmsify.c
93
94SUBDIRS = glob
95mkinstalldirs = ${exec_prefix}/bin/gmkdir -p
96CONFIG_HEADER = config.h
97CONFIG_CLEAN_FILES = build.sh
98PROGRAMS = $(bin_PROGRAMS)
99
100MAKE_HOST = i386-pc-msdosdjgpp
101
102
103DEFS = -I. -I$(srcdir) -I.
104CPPFLAGS = -DHAVE_CONFIG_H
105LDFLAGS =
106LIBS =
107make_OBJECTS = %OBJECTS%
108make_DEPENDENCIES = glob/libglob.a
109make_LDFLAGS =
110libglob_a_LIBADD =
111libglob_a_OBJECTS = %GLOB_OBJECTS%
112noinst_LIBRARIES = glob/libglob.a
113CFLAGS = -O2 -g
114COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
115LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
116TEXI2DVI = texi2dvi
117TEXINFO_TEX = $(srcdir)/config/texinfo.tex
118INFO_DEPS = make.info
119DVIS = make.dvi
120TEXINFOS = doc/make.texi
121noinst_TEXINFOS = doc/fdl.texi doc/make-stds.texi
122man1dir = $(mandir)/man1
123MANS = $(man_MANS)
124
125TEXI2HTML = texi2html
126TEXI2HTML_FLAGS = -split_chapter
127
128NROFF = nroff
129DIST_COMMON = README ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL Makefile.am Makefile.in NEWS acconfig.h aclocal.m4 alloca.c build.sh-in config.h-in configure configure.in getloadavg.c
130
131DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
132
133TAR = gtar
134GZIP = --best
135SOURCES = $(make_SOURCES)
136OBJECTS = $(make_OBJECTS)
137HEADERS = $(wildcard $(srcdir)/*.h)
138
139default: all
140
141.SUFFIXES:
142.SUFFIXES: .c .dvi .info .o .obj .ps .texi .tex .html
143
144mostlyclean-hdr:
145
146clean-hdr:
147
148distclean-hdr:
149 -rm -f config.h
150
151maintainer-clean-hdr:
152
153mostlyclean-binPROGRAMS:
154
155clean-binPROGRAMS:
156 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
157
158distclean-binPROGRAMS:
159
160maintainer-clean-binPROGRAMS:
161
162install-binPROGRAMS: $(bin_PROGRAMS)
163 @$(NORMAL_INSTALL)
164 $(mkinstalldirs) $(DESTDIR)$(bindir)
165 @list='$(bin_PROGRAMS)'; for p in $$list; do if test -f $$p; then echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p | sed '$(transform)'`"; $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p | sed '$(transform)'`; else :; fi; done
166
167uninstall-binPROGRAMS:
168 $(NORMAL_UNINSTALL)
169 list='$(bin_PROGRAMS)'; for p in $$list; do rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`.exe; done
170
171.c.o:
172 $(COMPILE) -c $<
173
174clean-noinstLIBRARIES:
175 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
176
177mostlyclean-compile:
178 -rm -f *.$(OBJEXT) *$(EXEEXT) make.new core
179
180clean-compile:
181
182distclean-compile:
183 -rm -f *.tab.c *_tab.c
184
185maintainer-clean-compile:
186
187make$(EXEEXT): $(make_OBJECTS) $(make_DEPENDENCIES)
188 @command.com /c if exist make del make
189 @command.com /c if exist make.exe del make.exe
190 $(LINK) $(make_LDFLAGS) $(make_OBJECTS) $(make_LDADD) $(LIBS)
191
192# Documentation
193
194make.info: doc/make.texi
195make.dvi: doc/make.texi
196
197
198DVIPS = dvips
199
200.texi.info:
201 @command.com /c if exist make.info* del make.info*
202 @command.com /c if exist make.i* del make.i*
203 $(MAKEINFO) -I$(srcdir)/doc --no-split $< -o ./$@
204
205.texi:
206 @command.com /c if exist make.info* del make.info*
207 @command.com /c if exist make.i* del make.i*
208 $(MAKEINFO) -I$(srcdir)/doc --no-split $< -o ./$@
209
210.texi.dvi:
211 TEXINPUTS="$(srcdir)/doc;$$TEXINPUTS" MAKEINFO='$(MAKEINFO) -I $(srcdir)/doc' $(TEXI2DVI) $<
212
213.dvi.ps:
214 $(DVIPS) $< -o $@
215
216# Other documentation formats
217
218html: make_1.html
219
220make_1.html: $(TEXINFOS) $(noinst_TEXINFOS)
221 $(TEXI2HTML) $(TEXI2HTML_FLAGS) $(srcdir)/doc/make.texi
222
223install-info-am: $(INFO_DEPS)
224 @$(NORMAL_INSTALL)
225 $(mkinstalldirs) $(DESTDIR)$(infodir)
226 @for file in $(INFO_DEPS); do d=$(srcdir); for ifile in `cd $$d && echo $$file`; do if test -f $$d/$$ifile; then echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; else : ; fi; done; done
227 @$(POST_INSTALL)
228 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then for file in $(INFO_DEPS); do echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file"; install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :; done; else : ; fi
229
230uninstall-info:
231 $(PRE_UNINSTALL)
232 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then ii=yes; else ii=; fi; for file in $(INFO_DEPS); do test -z $ii || install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; done
233 $(NORMAL_UNINSTALL)
234 for file in $(INFO_DEPS); do (cd $(DESTDIR)$(infodir) && rm -f $$file); done
235
236dist-info: $(INFO_DEPS)
237 for base in $(INFO_DEPS); do d=$(srcdir); for file in `cd $$d && eval echo $$base*`; do test -f $(distdir)/$$file || ln $$d/$$file $(distdir)/$$file 2> /dev/null || cp -p $$d/$$file $(distdir)/$$file; done; done
238
239mostlyclean-aminfo:
240 -rm -f make.aux make.cp make.cps make.dvi make.fn make.fns make.ky \
241 make.kys make.ps make.log make.pg make.toc make.tp make.tps \
242 make.vr make.vrs make.op make.tr make.cv make.cn
243
244clean-aminfo:
245
246distclean-aminfo:
247
248maintainer-clean-aminfo:
249 for i in $(INFO_DEPS); do rm -f $$i*; done
250
251install-man1:
252 $(mkinstalldirs) $(DESTDIR)$(man1dir)
253 @list='$(man1_MANS)'; \
254 l2='$(man_MANS)'; for i in $$l2; do \
255 case "$$i" in \
256 *.1*) list="$$list $$i" ;; \
257 esac; \
258 done; \
259 for i in $$list; do \
260 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
261 else file=$$i; fi; \
262 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
263 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
264 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
265 echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
266 $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
267 done
268
269uninstall-man1:
270 @list='$(man1_MANS)'; \
271 l2='$(man_MANS)'; for i in $$l2; do \
272 case "$$i" in \
273 *.1*) list="$$list $$i" ;; \
274 esac; \
275 done; \
276 for i in $$list; do \
277 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
278 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
279 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
280 echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
281 rm -f $(DESTDIR)$(man1dir)/$$inst; \
282 done
283install-man: $(MANS)
284 @$(NORMAL_INSTALL)
285 $(MAKE) install-man1
286uninstall-man:
287 @$(NORMAL_UNINSTALL)
288 $(MAKE) uninstall-man1
289
290# Assume that the only thing to do in glob is to build libglob.a,
291# but do a sanity check: if $SUBDIRS will ever have more than
292# a single directory, yell bloody murder.
293all-recursive:
294ifeq ($(words $(SUBDIRS)), 1)
295 @command.com /c if not exist glob\\nul md glob
296 @echo Making all in $(SUBDIRS)
297 $(MAKE) -C $(SUBDIRS) -f ../Makefile INCLUDES='-I$(srcdir) -I$(srcdir)/glob' DEFS='-I.. -I$(srcdir)' VPATH=$(srcdir)/glob libglob.a
298else
299 @echo FATAL: There is more than one directory in "($(SUBDIRS))"
300 @$(EXIT_FAIL)
301endif
302
303$(SUBDIRS):
304 command.com /c md $@
305
306libglob.a: $(libglob_a_OBJECTS)
307 command.com /c if exist libglob.a del libglob.a
308 $(AR) cru libglob.a $(libglob_a_OBJECTS) $(libglob_a_LIBADD)
309 $(RANLIB) libglob.a
310
311mostlyclean-recursive clean-recursive distclean-recursive \
312maintainer-clean-recursive check-recursive:
313ifeq ($(words $(SUBDIRS)), 1)
314 @echo Making $(shell echo $@ | sed s/-recursive//) in $(SUBDIRS)
315 $(MAKE) -C $(SUBDIRS) -f ../Makefile $(shell echo $@ | sed s/-recursive//)-am
316else
317 @echo FATAL: There is more than one directory in "($(SUBDIRS))"
318 @$(EXIT_FAIL)
319endif
320
321tags-in-glob: $(libglob_a_SOURCES)
322 etags $(addprefix $(srcdir)/,$^) -o ./glob/TAGS
323
324tags-recursive:
325ifeq ($(words $(SUBDIRS)), 1)
326 $(MAKE) tags-in-glob
327else
328 @echo FATAL: There is more than one directory in "($(SUBDIRS))"
329 @$(EXIT_FAIL)
330endif
331
332tags: TAGS
333
334ID: $(HEADERS) $(SOURCES)
335 mkid $(srcdir)/$(SOURCES) $(srcdir)/$(libglob_a_SOURCES) ./config.h $(HEADERS)
336
337TAGS: tags-recursive $(HEADERS) $(srcdir)/$(SOURCES) config.h $(TAGS_DEPENDENCIES)
338 etags -i ./glob/TAGS $(ETAGS_ARGS) $(srcdir)/$(SOURCES) ./config.h $(HEADERS)
339
340mostlyclean-tags:
341
342clean-tags:
343
344distclean-tags:
345 -rm -f TAGS ID
346
347maintainer-clean-tags:
348
349distdir = $(PACKAGE)-$(VERSION)
350top_distdir = $(distdir)
351
352# This target untars the dist file and tries a VPATH configuration. Then
353# it guarantees that the distribution is self-contained by making another
354# tarfile.
355distcheck: dist
356 rm -rf $(distdir)
357 GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz
358 mkdir $(distdir)/=build
359 mkdir $(distdir)/=inst
360 dc_install_base=`cd $(distdir)/=inst && pwd`; cd $(distdir)/=build && ../configure --srcdir=.. --prefix=$$dc_install_base && $(MAKE) && $(MAKE) dvi && $(MAKE) check && $(MAKE) install && $(MAKE) installcheck && $(MAKE) dist
361 rm -rf $(distdir)
362 @echo "========================"; echo "$(distdir).tar.gz is ready for distribution"; echo "========================"
363dist: distdir
364 -chmod -R a+r $(distdir)
365 GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
366 rm -rf $(distdir)
367dist-all: distdir
368 -chmod -R a+r $(distdir)
369 GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
370 rm -rf $(distdir)
371distdir: $(DISTFILES)
372 rm -rf $(distdir)
373 mkdir $(distdir)
374 -chmod 777 $(distdir)
375 @for file in $(DISTFILES); do d=$(srcdir); test -f $(distdir)/$$file || ln $$d/$$file $(distdir)/$$file 2> /dev/null || cp -p $$d/$$file $(distdir)/$$file; done; for subdir in $(SUBDIRS); do test -d $(distdir)/$$subdir || mkdir $(distdir)/$$subdir || exit 1; chmod 777 $(distdir)/$$subdir; (cd $$subdir && $(MAKE) top_distdir=../$(top_distdir)/$$subdir distdir=../$(distdir)/$$subdir distdir) || exit 1; done
376 $(MAKE) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
377 $(MAKE) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
378
379info: $(INFO_DEPS) info-recursive
380dvi: $(DVIS) dvi-recursive
381check: all-am check-recursive check-local
382 @:
383installcheck: installcheck-recursive
384all-recursive-am: config.h
385 $(MAKE) all-recursive
386
387all-am: Makefile $(INFO_DEPS) $(PROGRAMS) config.h
388
389install-exec-am: install-binPROGRAMS
390
391install-data-am: install-info-am
392
393uninstall-am: uninstall-binPROGRAMS uninstall-info
394
395install-exec: install-exec-recursive install-exec-am
396 @$(NORMAL_INSTALL)
397
398install-data: install-data-recursive install-data-am
399 @$(NORMAL_INSTALL)
400
401install-recursive uninstall-recursive:
402 @:
403
404install: install-recursive install-exec-am install-data-am
405 @:
406
407uninstall: uninstall-recursive uninstall-am
408
409all: all-recursive-am all-am
410
411install-strip:
412 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
413installdirs: installdirs-recursive
414 $(mkinstalldirs) $(bindir) $(infodir)
415
416
417mostlyclean-generic:
418 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
419
420clean-generic:
421 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
422
423distclean-generic:
424 -rm -f Makefile $(DISTCLEANFILES)
425 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
426 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
427
428maintainer-clean-generic:
429 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
430 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
431mostlyclean-am: mostlyclean-hdr mostlyclean-binPROGRAMS mostlyclean-compile mostlyclean-aminfo mostlyclean-tags mostlyclean-generic
432
433clean-am: clean-hdr clean-binPROGRAMS clean-compile clean-aminfo clean-tags clean-generic mostlyclean-am
434
435distclean-am: distclean-hdr distclean-binPROGRAMS distclean-compile distclean-aminfo distclean-tags distclean-generic clean-am
436
437maintainer-clean-am: maintainer-clean-hdr maintainer-clean-binPROGRAMS maintainer-clean-compile maintainer-clean-aminfo maintainer-clean-tags maintainer-clean-generic distclean-am
438
439mostlyclean: mostlyclean-recursive mostlyclean-am
440
441clean: clean-noinstLIBRARIES clean-recursive clean-am
442
443distclean: distclean-recursive distclean-am
444 rm -f config.status
445
446maintainer-clean: maintainer-clean-recursive maintainer-clean-am
447 @echo "This command is intended for maintainers to use;"
448 @echo "it deletes files that may require special tools to rebuild."
449 rm -f config.status
450
451.PHONY: default mostlyclean-hdr distclean-hdr clean-hdr \
452maintainer-clean-hdr mostlyclean-binPROGRAMS distclean-binPROGRAMS \
453clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
454install-binPROGRAMS mostlyclean-compile distclean-compile clean-compile \
455maintainer-clean-compile install-info-am uninstall-info \
456mostlyclean-aminfo distclean-aminfo clean-aminfo \
457maintainer-clean-aminfo install-data-recursive uninstall-data-recursive \
458install-exec-recursive uninstall-exec-recursive installdirs-recursive \
459uninstalldirs-recursive all-recursive check-recursive check-am \
460installcheck-recursive info-recursive dvi-recursive \
461mostlyclean-recursive distclean-recursive clean-recursive \
462maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
463distclean-tags clean-tags maintainer-clean-tags distdir \
464mostlyclean-depend distclean-depend clean-depend \
465maintainer-clean-depend info dvi check-local installcheck \
466all-recursive-am all-am install-exec-am install-data-am uninstall-am \
467install-exec install-data install uninstall all installdirs \
468mostlyclean-generic distclean-generic clean-generic \
469maintainer-clean-generic clean mostlyclean distclean maintainer-clean \
470html
471
472
473# --------------- Local DIST Section
474
475# Install the w32 subdirectory
476#
477dist-hook:
478 (cd $(srcdir); \
479 w32=`find w32 -follow \( -name CVS -prune \) -o -type f -print`; \
480 tar chf - $$w32) \
481 | (cd $(distdir); tar xfBp -)
482
483# --------------- Local CHECK Section
484
485# Note: check-loadavg is NOT a prerequisite of check-local, since
486# there's no uptime utility, and the test it does doesn't make sense
487# on MSDOS anyway.
488check-local: check-shell check-regression
489 @banner=" Regression PASSED: GNU Make $(VERSION) ($(MAKE_HOST)) built with $(CC) "; \
490 dashes=`echo "$$banner" | sed s/./=/g`; \
491 echo; \
492 echo "$$dashes"; \
493 echo "$$banner"; \
494 echo "$$dashes"; \
495 echo
496
497.PHONY: check-loadavg check-shell check-regression
498
499# > check-shell
500#
501# check-shell is designed to fail if they don't have a Unixy shell
502# installed. The test suite requires such a shell.
503check-shell:
504 @echo If Make says Error -1, you do not have Unix-style shell installed
505 @foo=bar.exe :
506
507# > check-loadavg
508#
509loadavg: loadavg.c config.h
510 @rm -f loadavg
511 $(LINK) -DTEST $(make_LDFLAGS) loadavg.c $(LIBS)
512# We copy getloadavg.c into a different file rather than compiling it
513# directly because some compilers clobber getloadavg.o in the process.
514loadavg.c: getloadavg.c
515 ln $(srcdir)/getloadavg.c loadavg.c || \
516 cp $(srcdir)/getloadavg.c loadavg.c
517check-loadavg: loadavg
518 @echo The system uptime program believes the load average to be:
519 -uptime
520 @echo The GNU load average checking code believes:
521 -./loadavg
522
523# > check-regression
524#
525# Look for the make test suite, and run it if found. Look in MAKE_TEST if
526# specified, or else in the srcdir or the distdir, their parents, and _their_
527# parents.
528#
529check-regression:
530 @if test -f "$(srcdir)/tests/run_make_tests"; then \
531 if $(PERL) -v >/dev/null 2>&1; then \
532 case `cd $(srcdir); pwd` in `pwd`) : ;; \
533 *) test -d tests || mkdir tests; \
534 for f in run_make_tests run_make_tests.pl test_driver.pl scripts; do \
535 rm -rf tests/$$f; cp -pr $(srcdir)/tests/$$f tests; \
536 done ;; \
537 esac; \
538 echo "cd tests && $(PERL) ./run_make_tests.pl -make ../make.exe $(MAKETESTFLAGS)"; \
539 cd tests && $(PERL) ./run_make_tests.pl -make ../make.exe $(MAKETESTFLAGS); \
540 else \
541 echo "Can't find a working Perl ($(PERL)); the test suite requires Perl."; \
542 fi; \
543 else \
544 echo "Can't find the GNU Make test suite ($(srcdir)/tests)."; \
545 fi
546
547# --------------- Maintainer's Section
548
549# Note this requires GNU make. Not to worry, since it will only be included
550# in the Makefile if we're in the maintainer's environment.
551#include $(srcdir)/maintMakefile
552
553# Tell versions [3.59,3.63) of GNU make to not export all variables.
554# Otherwise a system limit (for SysV at least) may be exceeded.
555.NOEXPORT:
556
557# --------------- DEPENDENCIES
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette