Age | Commit message (Collapse) | Author |
|
* Makeconf [$(makemode) = misc]: If no installationdir and no targets,
set makemode-instdir so it's not empty, to avoid expanding `$(dir)'.
|
|
* Makeconf [Decode makemode page]: Clean up variable usage in each
cases, as follows:
(installationdir): Don't test and set this directly.
(makemode-instdir): New variable, set instead for each makemode.
(linktarg): Don't this for each program-linking makemode.
(targets): Make sure this is always set, i.e. = $(target) in singular
modes.
[$(makemode) != library] (progtarg): New variable.
[$(makemode) != library] (linktarg): Set from $(progtarg), including
.static versions.
(installationdir): Test and default once, using $(makemode-instdir).
[linking and dep rules]: Use $(linktarg) and $(progtarg) as
appropriate instead of $(targets) or $(target).
|
|
* Makeconf [$(makemode) != misc]: Use this to protect linking rules,
so we don't define any rule for $(targets) if $(makemode) is misc.
|
|
* Makeconf [Installation section]: Last change (9 Sep 1999) broke
this. Separate more clearly the library and non-library install
rules.
|
|
* Makeconf (link-executable): New variable, partial linking
commands for executables.
($(target)): Use it. Move .o's before -Wl,-(, just cause.
($(addsuffix .static,$(target))): New static pattern rule,
use `$(link-executable) -static' and static hurd libs.
[$(doinst) = one]: Give deps to $(target).static too.
{"Decode makemode" page}: Set linktarg instead of cleantarg for each
makemode that sets only one.
[$(makemode) != library]: Append $(linktarg:=.static) to linktarg.
[$(cleantarg) empty]: Set cleantarg to $(linktarg).
[Installation section] (targets): Set to $(target) if empty.
(installable): New variable, union of $(linktarg) and $(targets).
Remove conditionals on $(doinst), leaving only multi-target version.
Use $(installable) rather than $(targets) to compute list of
targets for static pattern rule that does the install.
(install-targets): New variable, $(targets) plus subset of $(linktarg)
matching $(build-static:=.static).
(all): Depend on $(install-targets) rather than $(targets).
(install): Likewise for computed list of targets in $(installationdir).
* config.make.in (build-static): New variable.
* configure.in: Support --enable-static-progs=LIST.
|
|
* Makeconf (cleantarg): Add `$(libname)_pic.a'.
[$(makemode) = library] (targets): Likewise.
($(libname)_pic.a): New rule.
($(libdir)/$(libname)_pic.a): Extended from the previous _p.a and
.a rules.
Submitted by Marcus Brinkmann (Marcus.Brinkmann@ruhr-uni-bochum.de).
|
|
* Makeconf [$(makemode) = library]
(linktarg): Append .$(hurd-version).
(cleantarg): Add $(linktarg) here.
|
|
* Makeconf (install): Fix typo in Thomas's last change.
($(libdir)/$(libname).so): Depend on ....so.$(hurd-version).
|
|
* Makeconf ($(libname).so): Make it a symlink to
$(libname).so.$(hurd-version).
($(libname).so.$(hurd-version)): New target, renamed from
$(libname).so; link the actual shared object with this name.
|
|
* Makeconf ($(libname).so): Include $(hurd-version) as part of the
soname.
($(libdir)/$(libname).so.$(hurd-version)): New rule.
($(libdir)/$(libname).so): Only create a symlink to the
version-numbered name.
(install) [makemode == library]: Add
the versioned name $(libdir)/$(libname.so).$(hurd-version).
* version.h.in: New file.
* versioh.h, sh-version.sed: Deleted files.
* Makeconf (hurd-version): New variable.
* Makefile ($(subdirs)): Depend on version.h.
(version.h): New rule.
(DIST_FILES): Delete version.h and sh-version.sed. Add version.h.in.
|
|
* Makeconf ($(libdir) installation rules): Use automatic variables.
Use a static pattern rule for foo.a and foo_p.a, treated the same.
|
|
* Makeconf (TAGS): Make rules cope with having no source files to tag.
|
|
* Makeconf (objs): Don't build PIC objects unless $(makemode) library.
|
|
* Makeconf (objs): New target, just compile w/o ar or ld.
(OBJS): Remove bogus `%.o' default defn.
* Makefile (objs, %-objs): New subdir target.
|
|
* config.make.in (build-profiled): New variable, subst @profile@.
* Makeconf (no_prof): Set to t if $(build-profiled) is not no.
* Makeconf: Inhibit $(target).prof_d include if no_prof=t.
|
|
Tue Jul 7 11:39:08 1998 Thomas Bushnell, n/BSG <tb@mit.edu>
* Makeconf (CPPFLAGS): Include $($*-CPPFLAGS). Reported by Gordon
Matzigkeit (gord@gnu.org).
|
|
* Makeconf (%.o): New rules (from %.c and %.S) so that we can
specify file-specific CPPFLAGS (already in use by utils/Makefile
for utils/ping.c).
(%_pic.o, $_p.o, make-deps): Also grok file-specific CPPFLAGS.
Reported by Gordon Matzigkeit (gord@gnu.org).
* INSTALL-cross: Updated by Gordon Matzigkeit (gord@gnu.org).
|
|
* Makeconf (linking .prof executable): Don't mutate library names
here.
(making %.prof_d special target): Mutate library names here.
(%.prof_d): Depend on Makefile in srcdir.
|
|
* Makeconf ($(makemode) == library): If $(no_prof) is `t', then
don't build _p.a versions of libraries.
|
|
* Makeconf (%.prof_d): Don't set no-deps.
(.prof_d inclusion): Don't do it if prof-depend=t.
|
|
* Makeconf ($(target)): Repair rule for building of .prof_d
files.
($(target), $(target).prof): Refer to generated variables
(-CFLAGS, -LFLAGS, -LDLIBS) by the base name ($*) not $@.
(_libext): Likewise.
Mon Oct 21 22:22:49 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* Makeconf (cleantarg) [makemode == library]: Add $(libname)_p.a.
(targets) [makemode == library]: Include $(libname)_p.a in default
value.
($(libdir)/$(libname)_p.a) [makemode == library]: New rule.
($(libname)_p.a) [makemode == library]: New rule.
(%_p.o): Two new rules (depend on %.c or %.S).
(make_deps): Make dependency now specify $*_p.o too.
($(addsuffix .prof,$(target))): New rule to link profiled objects.
($(target)): Surround usual build rule with if prof-depend == nil.
($(addsuffix .prof_d, $(target))): Include this if not a library.
Also a new rule to build them.
($(target)) [prof-depend == t]: Kludge to write out its dependencies.
Tue Oct 15 12:29:26 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* Makeconf (relink): Remove $(linktarg) always.
(linktarg) [makemode == library]: Set variable.
(linktarg): And also a default.
* Makefile (%-relink): Set no_deps=t here.
(relink): Do $(lib-subdirs) too.
|
|
Suppress command echo (when mkinstalldirs actually does something, it
prints the resulting commands itself).
|
|
* Makeconf ($(..)$(dir).d): Always include libhurdbugaddr in the
list for non-libraries.
|
|
New rule.
|
|
|
|
|
|
|
|
`$(includdir)' --> `$(includedir)'
|
|
|
|
Add dependency on $(BUGADDR), and $(BUGADDR_REF) to the flags.
(BUGADDR, BUGADDR_REF): New variables.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(install-hdrs): Provide default target.
|
|
|
|
in call to INSTALL_PROGRAM.
|
|
|
|
|
|
(install) [library]: Add dependency on add-to-librecord.
(add-to-librecord) [library]: Depend on $(targets).
(librecord) [MAKELEVEL == 0]: Define and export.
(include librecord): New inclusion.
($(librecord)): New target.
(add-to-librecord): New target.
|
|
(install) [all versions]: Add dependency on the directory being
installed into.
($(installationdirlist)): New dependency.
|
|
Get rid of -defsym hack for ___brk_addr (there's a hack in libc now).
|
|
|