Changeset 3138 in kBuild for vendor/gnumake/current/Makefile.am
- Timestamp:
- Mar 12, 2018 7:32:29 PM (7 years ago)
- File:
-
- 1 edited
-
vendor/gnumake/current/Makefile.am (modified) (15 diffs)
Legend:
- Unmodified
- Added
- Removed
-
vendor/gnumake/current/Makefile.am
r2596 r3138 1 1 # This is a -*-Makefile-*-, or close enough 2 2 # 3 # Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 4 # 2007, 2008, 2009, 2010 Free Software Foundation, Inc. 3 # Copyright (C) 1997-2016 Free Software Foundation, Inc. 5 4 # This file is part of GNU Make. 6 5 # … … 18 17 # this program. If not, see <http://www.gnu.org/licenses/>. 19 18 20 AUTOMAKE_OPTIONS = 1.8 dist-bzip2 check-news21 ACLOCAL_AMFLAGS =-I config19 AUTOMAKE_OPTIONS = dist-bzip2 silent-rules std-options 20 ACLOCAL_AMFLAGS = -I config 22 21 23 22 MAKE_HOST = @MAKE_HOST@ … … 28 27 W32INC = -I $(top_srcdir)/w32/include 29 28 W32LIB = -Lw32 -lw32 29 ossrc = 30 else 31 ossrc = posixos.c 30 32 endif 31 33 … … 33 35 34 36 bin_PROGRAMS = make 37 include_HEADERS = gnumake.h 35 38 36 39 if USE_CUSTOMS … … 40 43 endif 41 44 42 43 45 make_SOURCES = ar.c arscan.c commands.c default.c dir.c expand.c file.c \ 44 function.c getopt.c getopt1.c implicit.c job.c main.c \ 45 misc.c read.c remake.c $(remote) rule.c signame.c \ 46 strcache.c variable.c version.c vpath.c hash.c 46 function.c getopt.c getopt1.c guile.c implicit.c job.c load.c \ 47 loadapi.c main.c misc.c $(ossrc) output.c read.c remake.c \ 48 rule.c signame.c strcache.c variable.c version.c vpath.c \ 49 hash.c $(remote) 47 50 48 51 EXTRA_make_SOURCES = vmsjobs.c remote-stub.c remote-cstms.c 49 52 50 noinst_HEADERS = commands.h dep.h filedef.h job.h make.h rule.h variable.h \ 51 debug.h getopt.h gettext.h hash.h 52 53 make_LDADD = @LIBOBJS@ @ALLOCA@ $(GLOBLIB) @GETLOADAVG_LIBS@ @LIBINTL@ 53 noinst_HEADERS = commands.h dep.h filedef.h job.h makeint.h rule.h variable.h \ 54 debug.h getopt.h gettext.h hash.h output.h os.h 55 56 make_LDADD = @LIBOBJS@ @ALLOCA@ $(GLOBLIB) @GETLOADAVG_LIBS@ @LIBINTL@ \ 57 $(GUILE_LIBS) 54 58 # Only process if target is MS-Windows 55 59 if WINDOWSENV … … 62 66 63 67 AM_CPPFLAGS = $(GLOBINC) 68 AM_CFLAGS = $(GUILE_CFLAGS) 64 69 # Only process if target is MS-Windows 65 70 if WINDOWSENV … … 70 75 # Extra stuff to include in the distribution. 71 76 72 EXTRA_DIST = README build.sh.in $(man_MANS) \77 EXTRA_DIST = ChangeLog README build.sh.in $(man_MANS) \ 73 78 README.customs README.OS2 \ 74 79 SCOPTIONS SMakefile \ … … 77 82 README.W32 NMakefile config.h.W32 build_w32.bat subproc.bat \ 78 83 make_msvc_net2003.sln make_msvc_net2003.vcproj \ 79 readme.vms makefile.vms makefile.com config.h-vms \ 80 vmsdir.h vmsfunctions.c vmsify.c 84 README.VMS makefile.vms makefile.com config.h-vms \ 85 vmsdir.h vmsfunctions.c vmsify.c vms_exit.c vms_progname.c \ 86 vms_export_symbol.c vms_export_symbol_test.com \ 87 gmk-default.scm gmk-default.h 81 88 82 89 # This is built during configure, but behind configure's back … … 84 91 DISTCLEANFILES = build.sh 85 92 86 # Forward targets87 88 html:89 cd doc && $(MAKE) $(AM_MAKEFLAGS) $@90 91 .PHONY: html92 93 93 # --------------- Internationalization Section 94 94 … … 101 101 102 102 # Whether or not make needs to be installed setgid. 103 # The value should be either `true' or `false'.104 # On many systems, the getloadavg function (used to implement the `-l'103 # The value should be either 'true' or 'false'. 104 # On many systems, the getloadavg function (used to implement the '-l' 105 105 # switch) will not work unless make is installed setgid kmem. 106 106 # … … 118 118 else \ 119 119 echo "$$app needs to be owned by group $(inst_group) and setgid;"; \ 120 echo "otherwise the \`-l' option will probably not work."; \120 echo "otherwise the '-l' option will probably not work."; \ 121 121 echo "You may need special privileges to complete the installation"; \ 122 122 echo "of $$app."; \ … … 124 124 else true; fi 125 125 126 # --------------- Generate the Guile default module content 127 128 guile.$(OBJEXT): gmk-default.h 129 gmk-default.h: $(srcdir)/gmk-default.scm 130 (echo 'static const char *const GUILE_module_defn = " '\\ \ 131 && sed -e 's/;.*//' -e '/^[ \t]*$$/d' -e 's/"/\\"/g' -e 's/$$/ \\/' \ 132 $(srcdir)/gmk-default.scm \ 133 && echo '";') > $@ 134 126 135 # --------------- Local DIST Section 127 136 … … 130 139 dist-hook: 131 140 (cd $(srcdir); \ 132 sub=`find w32 tests -follow \( -name CVS -prune -o -name .cvsignore -o -name work -prune \) -o \( -name \*.orig -o -name \*.rej -o -name \*~ -prune \)-o -type f -print`; \141 sub=`find w32 tests -follow \( -name .git -o -name .deps -o -name work -o -name .gitignore -o -name \*.orig -o -name \*.rej -o -name \*~ -o -name Makefile \) -prune -o -type f -print`; \ 133 142 tar chf - $$sub) \ 134 143 | (cd $(distdir); tar xfBp -) … … 168 177 MAKETESTFLAGS = 169 178 170 check-regression: 171 @if test -f "$(srcdir)/tests/run_make_tests"; then \ 179 check-regression: tests/config-flags.pm 180 @if test -f '$(srcdir)/tests/run_make_tests'; then \ 181 ulimit -n 128; \ 172 182 if $(PERL) -v >/dev/null 2>&1; then \ 173 case `cd $(srcdir); pwd` in `pwd`) : ;; \183 case `cd '$(srcdir)'; pwd` in `pwd`) : ;; \ 174 184 *) test -d tests || mkdir tests; \ 175 185 rm -f srctests; \ 176 if ln -s "$(srcdir)/tests"srctests; then \186 if ln -s '$(srcdir)/tests' srctests; then \ 177 187 for f in run_make_tests run_make_tests.pl test_driver.pl scripts; do \ 178 188 rm -f tests/$$f; ln -s ../srctests/$$f tests; \ 179 189 done; fi ;; \ 180 190 esac; \ 181 echo "cd tests && $(PERL) ./run_make_tests.pl - make ../make$(EXEEXT) $(MAKETESTFLAGS)"; \182 cd tests && $(PERL) ./run_make_tests.pl - make ../make$(EXEEXT)$(MAKETESTFLAGS); \191 echo "cd tests && $(PERL) ./run_make_tests.pl -srcdir $(abs_srcdir) -make ../make$(EXEEXT) $(MAKETESTFLAGS)"; \ 192 cd tests && $(PERL) ./run_make_tests.pl -srcdir '$(abs_srcdir)' -make '../make$(EXEEXT)' $(MAKETESTFLAGS); \ 183 193 else \ 184 194 echo "Can't find a working Perl ($(PERL)); the test suite requires Perl."; \ 185 195 fi; \ 186 else \196 else \ 187 197 echo "Can't find the GNU Make test suite ($(srcdir)/tests)."; \ 188 fi198 fi 189 199 190 200 … … 192 202 193 203 # Tell automake that I haven't forgotten about this file and it will be 194 # created before we build a distribution (see maintMakefile in the CVS204 # created before we build a distribution (see maintMakefile in the Git 195 205 # distribution). 196 206
Note:
See TracChangeset
for help on using the changeset viewer.

