VirtualBox

Changeset 3138 in kBuild for vendor/gnumake/current/Makefile.am


Ignore:
Timestamp:
Mar 12, 2018 7:32:29 PM (7 years ago)
Author:
bird
Message:

Imported make 4.2.1 (2e55f5e4abdc0e38c1d64be703b446695e70b3b6) from https://git.savannah.gnu.org/git/make.git.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/gnumake/current/Makefile.am

    r2596 r3138  
    11# This is a -*-Makefile-*-, or close enough
    22#
    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.
    54# This file is part of GNU Make.
    65#
     
    1817# this program.  If not, see <http://www.gnu.org/licenses/>.
    1918
    20 AUTOMAKE_OPTIONS = 1.8 dist-bzip2 check-news
    21 ACLOCAL_AMFLAGS = -I config
     19AUTOMAKE_OPTIONS = dist-bzip2 silent-rules std-options
     20ACLOCAL_AMFLAGS = -I config
    2221
    2322MAKE_HOST =     @MAKE_HOST@
     
    2827  W32INC =      -I $(top_srcdir)/w32/include
    2928  W32LIB =      -Lw32 -lw32
     29  ossrc =
     30else
     31  ossrc =       posixos.c
    3032endif
    3133
     
    3335
    3436bin_PROGRAMS =  make
     37include_HEADERS = gnumake.h
    3538
    3639if USE_CUSTOMS
     
    4043endif
    4144
    42 
    4345make_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)
    4750
    4851EXTRA_make_SOURCES = vmsjobs.c remote-stub.c remote-cstms.c
    4952
    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@
     53noinst_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
     56make_LDADD =    @LIBOBJS@ @ALLOCA@ $(GLOBLIB) @GETLOADAVG_LIBS@ @LIBINTL@ \
     57                $(GUILE_LIBS)
    5458# Only process if target is MS-Windows
    5559if WINDOWSENV
     
    6266
    6367AM_CPPFLAGS =   $(GLOBINC)
     68AM_CFLAGS =     $(GUILE_CFLAGS)
    6469# Only process if target is MS-Windows
    6570if WINDOWSENV
     
    7075# Extra stuff to include in the distribution.
    7176
    72 EXTRA_DIST =    README build.sh.in $(man_MANS) \
     77EXTRA_DIST =    ChangeLog README build.sh.in $(man_MANS) \
    7378                README.customs README.OS2 \
    7479                SCOPTIONS SMakefile \
     
    7782                README.W32 NMakefile config.h.W32 build_w32.bat subproc.bat \
    7883                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
    8188
    8289# This is built during configure, but behind configure's back
     
    8491DISTCLEANFILES = build.sh
    8592
    86 # Forward targets
    87 
    88 html:
    89         cd doc && $(MAKE) $(AM_MAKEFLAGS) $@
    90 
    91 .PHONY: html
    92 
    9393# --------------- Internationalization Section
    9494
     
    101101
    102102# 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'
    105105# switch) will not work unless make is installed setgid kmem.
    106106#
     
    118118           else \
    119119             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."; \
    121121             echo "You may need special privileges to complete the installation"; \
    122122             echo "of $$app."; \
     
    124124         else true; fi
    125125
     126# --------------- Generate the Guile default module content
     127
     128guile.$(OBJEXT): gmk-default.h
     129gmk-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
    126135# --------------- Local DIST Section
    127136
     
    130139dist-hook:
    131140        (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`; \
    133142         tar chf - $$sub) \
    134143        | (cd $(distdir); tar xfBp -)
     
    168177MAKETESTFLAGS =
    169178
    170 check-regression:
    171         @if test -f "$(srcdir)/tests/run_make_tests"; then \
     179check-regression: tests/config-flags.pm
     180        @if test -f '$(srcdir)/tests/run_make_tests'; then \
     181          ulimit -n 128; \
    172182          if $(PERL) -v >/dev/null 2>&1; then \
    173             case `cd $(srcdir); pwd` in `pwd`) : ;; \
     183            case `cd '$(srcdir)'; pwd` in `pwd`) : ;; \
    174184              *) test -d tests || mkdir tests; \
    175185                 rm -f srctests; \
    176                  if ln -s "$(srcdir)/tests" srctests; then \
     186                 if ln -s '$(srcdir)/tests' srctests; then \
    177187                   for f in run_make_tests run_make_tests.pl test_driver.pl scripts; do \
    178188                     rm -f tests/$$f; ln -s ../srctests/$$f tests; \
    179189                   done; fi ;; \
    180190            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); \
    183193          else \
    184194            echo "Can't find a working Perl ($(PERL)); the test suite requires Perl."; \
    185195          fi; \
    186          else \
     196        else \
    187197          echo "Can't find the GNU Make test suite ($(srcdir)/tests)."; \
    188          fi
     198        fi
    189199
    190200
     
    192202
    193203# 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 CVS
     204# created before we build a distribution (see maintMakefile in the Git
    195205# distribution).
    196206
Note: See TracChangeset for help on using the changeset viewer.

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