Ignore:
Timestamp:
Mar 14, 2018, 10:28:10 PM (7 years ago)
Author:
bird
Message:

kmk: Merged in changes from GNU make 4.2.1 (2e55f5e4abdc0e38c1d64be703b446695e70b3b6 / https://git.savannah.gnu.org/git/make.git).

Location:
trunk/src/kmk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk

  • trunk/src/kmk/Makefile.ami

    r2591 r3140  
    11# -*-Makefile-*- for GNU make on Amiga
    22#
    3 # NOTE: If you have no `make' program at all to process this makefile, run
    4 # `build.sh' instead.
    5 #
    6 # Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
    7 # 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
     3# NOTE: If you have no 'make' program at all to process this makefile, run
     4# 'build.sh' instead.
     5#
     6# Copyright (C) 1995-2016 Free Software Foundation, Inc.
    87# This file is part of GNU Make.
    98#
     
    3332
    3433# Define these for your system as follows:
    35 #       -DNO_ARCHIVES           To disable `ar' archive support.
     34#       -DNO_ARCHIVES           To disable 'ar' archive support.
    3635#       -DNO_FLOAT              To avoid using floating-point numbers.
    3736#       -DENUM_BITFIELDS        If the compiler isn't GCC but groks enum foo:2.
     
    4039#                               so beware.
    4140# NeXT 1.0a uses an old version of GCC, which required -D__inline=inline.
    42 # See also `config.h'.
     41# See also 'config.h'.
    4342defines =
    4443
    4544# Which flavor of remote job execution support to use.
    46 # The code is found in `remote-$(REMOTE).c'.
     45# The code is found in 'remote-$(REMOTE).c'.
    4746REMOTE = stub
    4847
     
    7877exec_prefix =
    7978
    80 # Directory to install `make' in.
     79# Directory to install 'make' in.
    8180bindir = sc:c
    82 # Directory to find libraries in for `-lXXX'.
     81# Directory to find libraries in for '-lXXX'.
    8382libdir = lib:
    8483# Directory to search by default for included makefiles.
     
    9089# Number to put on the man page filename.
    9190manext = 1
    92 # Prefix to put on installed `make' binary file name.
     91# Prefix to put on installed 'make' binary file name.
    9392binprefix =
    94 # Prefix to put on installed `make' man page file name.
     93# Prefix to put on installed 'make' man page file name.
    9594manprefix = $(binprefix)
    9695
    9796# Whether or not make needs to be installed setgid.
    98 # The value should be either `true' or `false'.
    99 # On many systems, the getloadavg function (used to implement the `-l'
     97# The value should be either 'true' or 'false'.
     98# On many systems, the getloadavg function (used to implement the '-l'
    10099# switch) will not work unless make is installed setgid kmem.
    101100install_setgid = false
     
    103102group = sys
    104103
    105 # Program to install `make'.
     104# Program to install 'make'.
    106105INSTALL_PROGRAM = copy
    107106# Program to install the man page.
     
    119118CTAGS = ctags -w
    120119
    121 objs = commands.o job.o dir.o file.o misc.o main.o read.o remake.o      \
    122        rule.o implicit.o default.o variable.o expand.o function.o       \
    123        vpath.o version.o ar.o arscan.o signame.o strcache.o hash.o      \
    124        remote-$(REMOTE).o $(GETOPT) $(ALLOCA) $(extras)
     120#guile = guile.o
     121
     122objs = commands.o job.o dir.o file.o misc.o main.o read.o remake.o   \
     123       rule.o implicit.o default.o variable.o expand.o function.o    \
     124       vpath.o version.o ar.o arscan.o signame.o strcache.o hash.o   \
     125       remote-$(REMOTE).o $(GETOPT) $(ALLOCA) $(extras) $(guile)
     126
    125127srcs = $(srcdir)commands.c $(srcdir)job.c $(srcdir)dir.c             \
    126128       $(srcdir)file.c $(srcdir)getloadavg.c $(srcdir)misc.c         \
     
    129131       $(srcdir)variable.c $(srcdir)expand.c $(srcdir)function.c     \
    130132       $(srcdir)vpath.c $(srcdir)version.c $(srcdir)hash.c           \
    131        $(srcdir)remote-$(REMOTE).c                                     \
    132        $(srcdir)ar.c $(srcdir)arscan.c $(srcdir)strcache.c              \
    133        $(srcdir)signame.c $(srcdir)signame.h $(GETOPT_SRC)            \
    134        $(srcdir)commands.h $(srcdir)dep.h $(srcdir)filedep.h            \
    135        $(srcdir)job.h $(srcdir)make.h $(srcdir)rule.h                \
     133       $(srcdir)guile.c $(srcdir)remote-$(REMOTE).c                  \
     134       $(srcdir)ar.c $(srcdir)arscan.c $(srcdir)strcache.c           \
     135       $(srcdir)signame.c $(srcdir)signame.h $(GETOPT_SRC)           \
     136       $(srcdir)commands.h $(srcdir)dep.h $(srcdir)filedep.h         \
     137       $(srcdir)job.h $(srcdir)makeint.h $(srcdir)rule.h             \
    136138       $(srcdir)variable.h $(ALLOCA_SRC) $(srcdir)config.h.in
    137139
     
    143145info: make.info
    144146dvi: make.dvi
    145 # Some makes apparently use .PHONY as the default goal if it is before `all'.
     147# Some makes apparently use .PHONY as the default goal if it is before 'all'.
    146148.PHONY: all check info dvi
    147149
     
    179181        cd glob; $(MAKE) libglob.a
    180182FORCE:
    181 
    182 tagsrcs = $(srcs) $(srcdir)remote-*.c
    183183
    184184.PHONY: install installdirs
     
    197197           else \
    198198             echo "$@ needs to be owned by group $(group) and setgid;"; \
    199              echo "otherwise the \`-l' option will probably not work."; \
     199             echo "otherwise the '-l' option will probably not work."; \
    200200             echo "You may need special privileges to install $@."; \
    201201           fi; \
     
    214214        done
    215215# Run install-info only if it exists.
    216 # Use `if' instead of just prepending `-' to the
     216# Use 'if' instead of just prepending '-' to the
    217217# line so we notice real errors from install-info.
    218 # We use `$(SHELL) -c' because some shells do not
     218# We use '$(SHELL) -c' because some shells do not
    219219# fail gracefully when there is an unknown command.
    220220        if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
     
    267267
    268268# The automatically generated dependencies below may omit config.h
    269 # because it is included with ``#include <config.h>'' rather than
    270 # ``#include "config.h"''.  So we add the explicit dependency to make sure.
     269# because it is included with '#include <config.h>' rather than
     270# '#include "config.h"'.  So we add the explicit dependency to make sure.
    271271$(objs): config.h
    272272
     
    274274
    275275# Automatically generated dependencies.
    276 commands.o: commands.c make.h dep.h filedef.h variable.h job.h \
     276commands.o: commands.c makeint.h dep.h filedef.h variable.h job.h \
    277277 commands.h
    278 job.o: job.c make.h job.h filedef.h commands.h variable.h
    279 dir.o: dir.c make.h
    280 file.o: file.c make.h dep.h filedef.h job.h commands.h variable.h
    281 misc.o: misc.c make.h dep.h
    282 main.o: main.c make.h dep.h filedef.h variable.h job.h commands.h \
     278job.o: job.c makeint.h job.h filedef.h commands.h variable.h
     279dir.o: dir.c makeint.h
     280file.o: file.c makeint.h dep.h filedef.h job.h commands.h variable.h
     281misc.o: misc.c makeint.h dep.h
     282main.o: main.c makeint.h dep.h filedef.h variable.h job.h commands.h \
    283283 getopt.h
    284 read.o: read.c make.h dep.h filedef.h job.h commands.h variable.h \
     284guile.o: guile.c makeint.h dep.h debug.h variable.h gmk-default.h
     285read.o: read.c makeint.h dep.h filedef.h job.h commands.h variable.h \
    285286 glob/glob.h
    286 remake.o: remake.c make.h filedef.h job.h commands.h dep.h
    287 rule.o: rule.c make.h dep.h filedef.h job.h commands.h variable.h \
     287remake.o: remake.c makeint.h filedef.h job.h commands.h dep.h
     288rule.o: rule.c makeint.h dep.h filedef.h job.h commands.h variable.h \
    288289 rule.h
    289 implicit.o: implicit.c make.h rule.h dep.h filedef.h
    290 default.o: default.c make.h rule.h dep.h filedef.h job.h commands.h \
     290implicit.o: implicit.c makeint.h rule.h dep.h filedef.h
     291default.o: default.c makeint.h rule.h dep.h filedef.h job.h commands.h \
    291292 variable.h
    292 variable.o: variable.c make.h dep.h filedef.h job.h commands.h \
     293variable.o: variable.c makeint.h dep.h filedef.h job.h commands.h \
    293294 variable.h
    294 expand.o: expand.c make.h filedef.h job.h commands.h variable.h
    295 function.o: function.c make.h filedef.h variable.h dep.h job.h \
     295expand.o: expand.c makeint.h filedef.h job.h commands.h variable.h
     296function.o: function.c makeint.h filedef.h variable.h dep.h job.h \
    296297 commands.h amiga.h
    297 vpath.o: vpath.c make.h filedef.h variable.h
    298 strcache.o: strcache.c make.h hash.h
     298vpath.o: vpath.c makeint.h filedef.h variable.h
     299strcache.o: strcache.c makeint.h hash.h
    299300version.o: version.c
    300 ar.o: ar.c make.h filedef.h dep.h
    301 arscan.o: arscan.c make.h
     301ar.o: ar.c makeint.h filedef.h dep.h
     302arscan.o: arscan.c makeint.h
    302303signame.o: signame.c signame.h
    303 remote-stub.o: remote-stub.c make.h filedef.h job.h commands.h
     304remote-stub.o: remote-stub.c makeint.h filedef.h job.h commands.h
    304305getopt.o: getopt.c
    305306getopt1.o : getopt1.c getopt.h
    306307getloadavg.o: getloadavg.c
    307 amiga.o: amiga.c make.h variable.h amiga.h
     308amiga.o: amiga.c makeint.h variable.h amiga.h
Note: See TracChangeset for help on using the changeset viewer.