summaryrefslogtreecommitdiff
path: root/Makeconf
AgeCommit message (Collapse)Author
1999-10-031999-10-03 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* Makeconf [$(makemode) = misc]: If no installationdir and no targets, set makemode-instdir so it's not empty, to avoid expanding `$(dir)'.
1999-10-011999-10-01 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* 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).
1999-09-191999-09-18 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* Makeconf [$(makemode) != misc]: Use this to protect linking rules, so we don't define any rule for $(targets) if $(makemode) is misc.
1999-09-171999-09-17 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* Makeconf [Installation section]: Last change (9 Sep 1999) broke this. Separate more clearly the library and non-library install rules.
1999-09-131999-09-09 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* 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.
1999-09-081999-09-08 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* 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).
1999-03-241999-03-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* Makeconf [$(makemode) = library] (linktarg): Append .$(hurd-version). (cleantarg): Add $(linktarg) here.
1999-02-171999-02-16 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* Makeconf (install): Fix typo in Thomas's last change. ($(libdir)/$(libname).so): Depend on ....so.$(hurd-version).
1999-02-171999-02-16 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* 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.
1999-02-16Tue Feb 16 02:31:06 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* 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.
1998-12-011998-11-29 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* Makeconf ($(libdir) installation rules): Use automatic variables. Use a static pattern rule for foo.a and foo_p.a, treated the same.
1998-10-201998-10-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* Makeconf (TAGS): Make rules cope with having no source files to tag.
1998-09-041998-09-04 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* Makeconf (objs): Don't build PIC objects unless $(makemode) library.
1998-09-041998-09-04 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* Makeconf (objs): New target, just compile w/o ar or ld. (OBJS): Remove bogus `%.o' default defn. * Makefile (objs, %-objs): New subdir target.
1998-07-201998-07-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* 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.
1998-07-07Revert last change and replace it withThomas Bushnell
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).
1998-07-07Tue Jul 7 11:39:08 1998 Thomas Bushnell, n/BSG <tb@mit.edu>Thomas Bushnell
* 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).
1997-07-23Mon Jul 21 16:18:50 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* 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.
1997-07-10Thu Jul 10 14:10:32 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* Makeconf ($(makemode) == library): If $(no_prof) is `t', then don't build _p.a versions of libraries.
1996-10-26Fri Oct 25 20:17:47 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* Makeconf (%.prof_d): Don't set no-deps. (.prof_d inclusion): Don't do it if prof-depend=t.
1996-10-24Wed Oct 23 01:36:35 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* 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.
1996-10-09($(includedir)/$(installhdrsubdir), $(installationdirlist)):Miles Bader
Suppress command echo (when mkinstalldirs actually does something, it prints the resulting commands itself).
1996-10-08Fri Oct 4 17:52:54 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* Makeconf ($(..)$(dir).d): Always include libhurdbugaddr in the list for non-libraries.
1996-09-26(%: %.sh):Miles Bader
New rule.
1996-09-21*** empty log message ***Thomas Bushnell
1996-09-19*** empty log message ***Thomas Bushnell
1996-09-17*** empty log message ***Thomas Bushnell
1996-09-04($(addprefix $(includedir)/$(installhdrsubdir)/,$(installhdrs))):Miles Bader
`$(includdir)' --> `$(includedir)'
1996-09-03*** empty log message ***Thomas Bushnell
1996-09-02($(target): %$(target-suffix)):Miles Bader
Add dependency on $(BUGADDR), and $(BUGADDR_REF) to the flags. (BUGADDR, BUGADDR_REF): New variables.
1996-08-14($(target)): Add $($@-LDLIBS) $(LDLIBS) to libs.Miles Bader
1996-08-13*** empty log message ***Thomas Bushnell
1996-08-12*** empty log message ***Thomas Bushnell
1996-08-08*** empty log message ***Thomas Bushnell
1996-07-30*** empty log message ***Thomas Bushnell
1996-07-29*** empty log message ***Thomas Bushnell
1996-07-19*** empty log message ***Michael I. Bushnell
1996-07-19(vpath -l%): Add directive to tell make where to find -l libraries.Michael I. Bushnell
1996-07-18*** empty log message ***Michael I. Bushnell
1996-07-17gs/install-hdrs/install-headers/gMichael I. Bushnell
1996-07-16(CFLAGS): Define EWOULDBLOCK here to work around new libc bug.Michael I. Bushnell
1996-07-14(install-hdrs) [library]: Depend on installed copies of headers.Michael I. Bushnell
(install-hdrs): Provide default target.
1996-07-12(install): Repair last change.Michael I. Bushnell
1996-07-12(install) [doinst==one || doinst==many]: Include file-specific optionsMichael I. Bushnell
in call to INSTALL_PROGRAM.
1996-07-08disable excessive cleverness for now...Michael I. Bushnell
1996-07-08fixupMichael I. Bushnell
1996-07-08(libs) [library]: Depend on add-to-librecord instead of $(targets).Michael I. Bushnell
(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.
1996-06-27(MKINSTALLDIRS): New variable.Michael I. Bushnell
(install) [all versions]: Add dependency on the directory being installed into. ($(installationdirlist)): New dependency.
1996-06-21($(target)):Miles Bader
Get rid of -defsym hack for ___brk_addr (there's a hack in libc now).
1996-06-17($(target)): And do it correctly, too.Michael I. Bushnell