Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: sharesrc/share/mk



Module Name:    sharesrc
Committed By:   thorpej
Date:           Fri Sep 27 21:38:00 UTC 2002

Modified Files:
        basesrc/lib/i18n_module: Makefile.inc
        basesrc/lib/libcrypto: Makefile
        basesrc/lib/libterm: Makefile
        basesrc/libexec/ld.elf_so: Makefile
        sharesrc/share/mk: Makefile bsd.README bsd.lib.mk bsd.own.mk
            bsd.prog.mk
Added Files:
        sharesrc/share/mk: bsd.shlib.mk

Log Message:
Only use the MKDYNAMICROOT semantics (i.e. -rpath=/lib,/usr/lib and
-dynamic-linker=/libexec/ld.elf_so) if the BINDIR of the program being
built is /bin or /sbin.

The reason we do this is because now all programs *except* those in
/bin and /sbin (i.e. the "special cases") match the default the compiler
uses, which is what is used for things in e.g. xsrc, pkgsrc, and other
random 3rd party programs.

This is done by decoupling where a shlib is installed from how it
is located.  Two new variables, SHLIBINSTALLDIR and SHLINKINSTALLDIR,
contain the former information, and key off MKDYNAMICROOT only.  SHLIBDIR
and SHLINKDIR contain the latter, and key off MKDYNAMICROOT and BINDIR.

The SHLIBINSTALLDIR, SHLIBDIR, _LIBSODIR, SHLINKINSTALLDIR, and
SHLINKDIR parameters are moved to a new <bsd.shlib.mk>; see bsd.README
for usage details.


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 basesrc/lib/i18n_module/Makefile.inc
cvs rdiff -r1.25 -r1.26 basesrc/lib/libcrypto/Makefile
cvs rdiff -r1.27 -r1.28 basesrc/lib/libterm/Makefile
cvs rdiff -r1.56 -r1.57 basesrc/libexec/ld.elf_so/Makefile
cvs rdiff -r1.34 -r1.35 sharesrc/share/mk/Makefile
cvs rdiff -r1.105 -r1.106 sharesrc/share/mk/bsd.README
cvs rdiff -r1.206 -r1.207 sharesrc/share/mk/bsd.lib.mk
cvs rdiff -r1.314 -r1.315 sharesrc/share/mk/bsd.own.mk
cvs rdiff -r1.158 -r1.159 sharesrc/share/mk/bsd.prog.mk
cvs rdiff -r0 -r1.1 sharesrc/share/mk/bsd.shlib.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index