make_libdeps.sh (256281) | make_libdeps.sh (256998) |
---|---|
1#!/bin/sh -e 2# 3# Copyright (c) 2002 Ruslan Ermilov, The FreeBSD Project 4# All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions 8# are met: --- 10 unchanged lines hidden (view full) --- 19# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25# SUCH DAMAGE. 26# | 1#!/bin/sh -e 2# 3# Copyright (c) 2002 Ruslan Ermilov, The FreeBSD Project 4# All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions 8# are met: --- 10 unchanged lines hidden (view full) --- 19# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25# SUCH DAMAGE. 26# |
27# $FreeBSD: stable/10/tools/make_libdeps.sh 255454 2013-09-10 18:34:38Z des $ | 27# $FreeBSD: stable/10/tools/make_libdeps.sh 256998 2013-10-23 18:07:07Z bdrewery $ |
28 29export PATH=/bin:/usr/bin 30 31LC_ALL=C # make sort deterministic 32FS=': ' # internal field separator 33LIBDEPENDS=./_libdeps # intermediate output file 34USRSRC=${1:-/usr/src} # source root 35LIBS=" --- 7 unchanged lines hidden (view full) --- 43 44# This sed(1) filter is used to convert -lfoo to path/to/libfoo. 45# 46SED_FILTER=" 47sed -E 48 -e's; ;! ;g' 49 -e's;$;!;' 50 -e's;-lbsdxml!;lib/libexpat;g' | 28 29export PATH=/bin:/usr/bin 30 31LC_ALL=C # make sort deterministic 32FS=': ' # internal field separator 33LIBDEPENDS=./_libdeps # intermediate output file 34USRSRC=${1:-/usr/src} # source root 35LIBS=" --- 7 unchanged lines hidden (view full) --- 43 44# This sed(1) filter is used to convert -lfoo to path/to/libfoo. 45# 46SED_FILTER=" 47sed -E 48 -e's; ;! ;g' 49 -e's;$;!;' 50 -e's;-lbsdxml!;lib/libexpat;g' |
51 -e's;-lbsdyml!;lib/libyaml;g' | |
52 -e's;-lpthread!;lib/libthr;g' 53 -e's;-lm!;lib/msun;g' 54 -e's;-l(ncurses|termcap)!;lib/ncurses/ncurses;g' 55 -e's;-l(gcc)!;gnu/lib/lib\1;g' 56 -e's;-lssp_nonshared!;gnu/lib/libssp/libssp_nonshared;g' 57 -e's;-l(asn1|hdb|kdc|heimbase|heimntlm|heimsqlite|hx509|krb5|roken|wind)!;kerberos5/lib/lib\1;g' 58 -e's;-l(crypto|ssh|ssl)!;secure/lib/lib\1;g' 59 -e's;-l([^!]+)!;lib/lib\1;g' --- 62 unchanged lines hidden --- | 51 -e's;-lpthread!;lib/libthr;g' 52 -e's;-lm!;lib/msun;g' 53 -e's;-l(ncurses|termcap)!;lib/ncurses/ncurses;g' 54 -e's;-l(gcc)!;gnu/lib/lib\1;g' 55 -e's;-lssp_nonshared!;gnu/lib/libssp/libssp_nonshared;g' 56 -e's;-l(asn1|hdb|kdc|heimbase|heimntlm|heimsqlite|hx509|krb5|roken|wind)!;kerberos5/lib/lib\1;g' 57 -e's;-l(crypto|ssh|ssl)!;secure/lib/lib\1;g' 58 -e's;-l([^!]+)!;lib/lib\1;g' --- 62 unchanged lines hidden --- |