| /freebsd/sys/contrib/openzfs/config/ | 
| H A D | config.rpath | 5 #   Copyright 1996-2019 Free Software Foundation, Inc.14 #    CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
 16 #    CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
 23 # - On IRIX 6.5 with CC="cc", the run time search patch must not be longer
 34 host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 35 host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 36 host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 44     \-*) ;;
 48 cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'`
 54   wl='-Wl,'
 [all …]
 
 | 
| H A D | lib-link.m4 | 1 # lib-link.m4 serial 282 dnl Copyright (C) 2001-2019 Free Software Foundation, Inc.
 21   pushdef([Name],[m4_translit([$1],[./+-], [____])])
 22   pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-],
 46 dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode, [missing-message])
 49 dnl the ability to compile and link the specified testcode. The missing-message
 61   pushdef([Name],[m4_translit([$1],[./+-], [____])])
 62   pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-],
 71   dnl disabled via --without-lib[]Name-prefix).
 77     dnl If $LIB[]NAME contains some -l options, add it to the end of LIBS,
 [all …]
 
 | 
| /freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pragma/ | 
| H A D | tst.libdep.ksh | 29 	echo expected one argument: '<'dtrace-path'>'33 libdir=${TMPDIR:-/tmp}/libdep.$$
 38         mkdir $libdir
 39         cat > $libdir/liba.$$.d <<EOF
 44         cat > $libdir/libb.$$.d <<EOF
 47         cat > $libdir/libc.$$.d <<EOF
 49         cat > $libdir/libd.$$.d <<EOF
 51         cat > $libdir/libe.$$.d <<EOF
 54         cat > $libdir/libf.$$.d <<EOF
 61 $dtrace -L$libdir -e
 [all …]
 
 | 
| H A D | tst.libdepfullyconnected.ksh | 37 	echo expected one argument: '<'dtrace-path'>'42 libdir=${TMPDIR:-/tmp}/libdep.$$
 47 	mkdir $libdir
 48 	cat > $libdir/liba.$$.d <<EOF
 51 	cat > $libdir/libb.$$.d <<EOF
 53 	cat > $libdir/libc.$$.d <<EOF
 56 	cat > $libdir/libd.$$.d <<EOF
 59 	cat > $libdir/libe.$$.d <<EOF
 67 DTRACE_DEBUG=1 $dtrace -L$libdir -e >$tmpfile 2>&1
 74 		if (\$_ =~ /lib[a-e]\.[0-9]+.d/) {
 [all …]
 
 | 
| H A D | err.circlibdep.ksh | 29 	echo expected one argument: '<'dtrace-path'>'33 libdir=${TMPDIR:-/tmp}/libdep.$$
 38 	mkdir $libdir
 39 	cat > $libdir/liba.$$.d <<EOF
 42 	cat > $libdir/libb.$$.d <<EOF
 45 	cat > $libdir/libc.$$.d <<EOF
 53 $dtrace -L$libdir -e
 56 rm -rf $libdir
 
 | 
| H A D | err.invalidlibdep.ksh | 29 	echo expected one argument: '<'dtrace-path'>'33 libdir=${TMPDIR:-/tmp}/libdep.$$
 38 	mkdir $libdir
 39 	cat > $libdir/liba.$$.d <<EOF
 42 	cat > $libdir/libb.$$.d <<EOF
 45 	cat > $libdir/libc.$$.d <<EOF
 53 $dtrace -L$libdir -e
 56 rm -rf $libdir
 
 | 
| H A D | tst.libchain.ksh | 29 	echo expected one argument: '<'dtrace-path'>'33 libdir=${TMPDIR:-/tmp}/libdep.$$
 38         mkdir $libdir
 39         cat > $libdir/liba.$$.d <<EOF
 44         cat > $libdir/libb.$$.d <<EOF
 54 $dtrace -L$libdir -e
 57 rm -rf $libdir
 
 | 
| /freebsd/contrib/libpcap/ | 
| H A D | Makefile.in | 35 libdir =  @libdir@55 INCLS = -I. @V_INCLS@
 56 DEFS = -DBUILDING_PCAP -Dpcap_EXPORTS @DEFS@ @V_DEFS@
 86 	@rm -f $@
 87 	$(CC) $(FULL_CFLAGS) -c $(srcdir)/$*.c
 93 		fmtutils.c pcap-util.c \
 94 		savefile.c sf-pcap.c sf-pcapng.c pcap-common.c \
 112 	pcap-bpf.h \
 113 	pcap-namedb.h \
 117 	pcap/compiler-tests.h \
 [all …]
 
 | 
| H A D | libpcap.pc.in | 2 # pkg-config file for libpcap.5 # libdir may be defined in terms of prefix and exec_prefix, so the
 11 libdir="@libdir@"
 14 Description: Platform-independent network traffic capture library
 17 Libs: -L${libdir} @RPATH@ -l@PACKAGE_NAME@
 19 Cflags: -I${includedir}
 
 | 
| /freebsd/sys/contrib/zstd/lib/ | 
| H A D | Makefile | 5 # This source code is licensed under both the BSD-style license (found in the8 # You may select, at your option, one of the above-listed licenses.
 54 # Note: by default, the static library is built single-threaded and dynamic library is built
 55 # multi-threaded. It is possible to force multi or single threaded builds by appending
 56 # -mt or -nomt to the build target (like lib-mt for multi-threaded, lib-nomt for single-threaded).
 58 default: lib-release
 60 CPPFLAGS_DYNLIB  += -DZSTD_MULTITHREAD # dynamic library build defaults to multi-threaded
 61 LDFLAGS_DYNLIB   += -pthread
 62 CPPFLAGS_STATLIB +=                    # static library build defaults to single-threaded
 66 decompress/zstd_decompress_block.o : CFLAGS+=-fno-tree-vectorize
 [all …]
 
 | 
| /freebsd/contrib/ncurses/ | 
| H A D | mk-1st.awk | 1 # $Id: mk-1st.awk,v 1.125 2023/04/22 15:49:59 tom Exp $3 # Copyright 2018-2021,2023 Thomas E. Dickey                                  #
 4 # Copyright 1998-2016,2017 Free Software Foundation, Inc.                    #
 42 #	prefix		  (e.g., "lib", for Unix-style libraries)
 45 #	driver		  ("yes" or "no", depends on --enable-term-driver)
 48 #	SymLink		  ("ln -s", etc)
 56 #	make_phony    ("yes" if the make-program accepts ".PHONY" directive.
 59 #	host		  (cross-compile host, if any)
 60 #	libtool_version (libtool "-version-info" or "-version-number")
 63 #	CLIXs nawk does not like underscores in command-line variable names.
 [all …]
 
 | 
| H A D | Makefile.os2 | 3 # Copyright 1998-2000,2006 Free Software Foundation, Inc.                    #41 #   make -f Makefile.os2 config
 42 #   make -f Makefile.os2 CC=gcc HOSTCC=gcc CXX=gcc
 53 #   make -f Makefile.os2 make.defs
 58 # generate the EMX-specific configure script (see README.emx), and run the
 61 #   make -f Makefile.os2 make.dlls
 73 # them --_nc_panel_hook, _nc_ada*, etc-- are needed outside ncurses.dll.
 95 CONFIG_OPTS	= --enable-termcap
 96 WWWGET		= lynx -source
 97 MV_F		= mv -f
 [all …]
 
 | 
| /freebsd/crypto/openssl/exporters/pkg-config/ | 
| H A D | libcrypto.pc.in | 1 prefix={- $OpenSSL::safe::installdata::PREFIX[0] -}3 libdir={- if (defined $OpenSSL::safe::installdata::LIBDIR_REL_PREFIX[0]) {  var
 9               $OpenSSL::safe::installdata::libdir[0];
 10           } -}
 11 includedir={- $OUT = '';
 13                   foreach (@OpenSSL::safe::installdata::INCLUDEDIR_REL_PREFIX); -}
 14 enginesdir=${libdir}/{- $OpenSSL::safe::installdata::ENGINESDIR_REL_LIBDIR[0] -}
 15 modulesdir=${libdir}/{- $OpenSSL::safe::installdata::MODULESDIR_REL_LIBDIR[0] -}
 17 Name: OpenSSL-libcrypto
 19 Version: {- $OpenSSL::safe::installdata::VERSION -}
 [all …]
 
 | 
| /freebsd/contrib/bmake/mk/ | 
| H A D | lib.mk | 23 print-shlib-$x:44 # Originally derrived from NetBSD-1.6
 46 # Set PICFLAGS to cc flags for producing position-independent code,
 47 # if not already set.  Includes -DPIC, if required.
 49 # Data-driven table using make variables to control how shared libraries
 53 #			via -soname. Usually ${SHLIB_MAJOR} on ELF.
 57 #			with ELF, also set shared-lib version for ld.so.
 58 # SHLIB_LDSTARTFILE:	support .o file, call C++ file-level constructors
 59 # SHLIB_LDENDFILE:	support .o file, call C++ file-level destructors
 73 		# Alpha-specific shared library flags
 [all …]
 
 | 
| /freebsd/contrib/ncurses/misc/ | 
| H A D | gen-pkgconfig.in | 2 # $Id: gen-pkgconfig.in,v 1.56 2022/10/08 16:45:20 tom Exp $4 # Copyright 2018-2021,2022 Thomas E. Dickey                                  #
 5 # Copyright 2009-2015,2018 Free Software Foundation, Inc.                    #
 34 # The complete configure script for ncurses is the ncurses5-config (or similar
 35 # name, depending on the flavor, e.g., ncursesw5-config, ncurses6-config, etc).
 36 # That provides more information than pkg-config, and is the portable and
 56 libdir="@libdir@"
 64 show_libdir='@libdir@'
 76 	includetop=`echo "$includedir" | sed -e 's,/include/[^/]*$,/include,'`
 78 	CFLAGS="$CFLAGS -I\${includedir}"
 [all …]
 
 | 
| H A D | ncurses-config.in | 2 # $Id: ncurses-config.in,v 1.52 2022/07/26 21:36:28 tom Exp $4 # Copyright 2018-2021,2022 Thomas E. Dickey                                  #
 5 # Copyright 2006-2015,2017 Free Software Foundation, Inc.                    #
 32 # Author: Thomas E. Dickey, 2006-on
 44 libdir="@libdir@"
 56 # We cannot filter it out within the build-process since the variable is used
 58 if [ -n "$RPATH_LIST" ]
 69 			[ -n "$filtered" ] && filtered="${filtered}@PATH_SEPARATOR@"
 79 # with --disable-overwrite, we installed into a subdirectory, but transformed
 85 		includedir=`echo "$includedir" | sed -e 's,/[^/]*$,,'`
 [all …]
 
 | 
| /freebsd/crypto/openssl/exporters/ | 
| H A D | libcrypto.pc | 3 libdir=${exec_prefix}/lib  var5 enginesdir=${libdir}/engines-3
 6 modulesdir=${libdir}/ossl-modules
 8 Name: OpenSSL-libcrypto
 11 Libs: -L${libdir} -lcrypto
 12 Libs.private: -pthread
 13 Cflags: -I${includedir}
 
 | 
| /freebsd/contrib/dialog/package/debian/ | 
| H A D | rules | 1 #!/usr/bin/make -f10 # These are used for cross-compiling and for saving the configure script
 12 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 13 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 15 CPPFLAGS	:= $(shell dpkg-buildflags --get CPPFLAGS)
 16 CFLAGS		:= $(shell dpkg-buildflags --get CFLAGS)
 17 LDFLAGS		:= $(shell dpkg-buildflags --get LDFLAGS)
 22 DEV_PACKAGE	= $(ACTUAL_PROG)-dev
 25 LIBDIR		= /usr/lib  macro
 31         CFLAGS += -O0
 [all …]
 
 | 
| /freebsd/contrib/libxo/ | 
| H A D | libxo-config.in | 5 # Copyright 2011-2014, Juniper Networks, Inc.15 libdir=@libdir@
 20 Usage: libxo-config [OPTION]
 24   --prefix=DIR		change libxo prefix [default $prefix]
 25   --exec-prefix=DIR	change libxo exec prefix [default $exec_prefix]
 26   --libs		print library linking information
 27   --bindir              print the bin directory
 28   --cflags		print pre-processor and compiler flags
 29   --share		print share directory
 30   --help		display this help and exit
 [all …]
 
 | 
| /freebsd/contrib/dialog/ | 
| H A D | dialog-config.in | 2 # $Id: dialog-config.in,v 1.13 2019/09/26 00:50:46 tom Exp $4 # Copyright (c) 2007-2012,2019 Thomas E. Dickey                              #
 40 test $# = 0 && exec @SHELL@ "$0" --error
 42 while test $# -gt 0; do
 56 	eval libdir='"@libdir@"'
 60 	[ -z "$includedir" ] && includedir="${prefix}/include"
 64 	LIBS="-l${THIS} $LIBS"
 66 	# If the directory given by --libdir is not in the LDFLAGS+LIBS set,
 71 		if [ "x$-L${libdir}" = "x$opt" ]
 79 		[ -n "$LFLAGS" ] && LDFLAGS=" $LFDLAGS"
 [all …]
 
 | 
| /freebsd/tools/ | 
| H A D | make_libdeps.sh | 1 #!/bin/sh -e30 set -e
 36 USRSRC=${1:-/usr/src}		# source root
 48 # convert -lfoo to foo
 51     sed -e "s/\-l//g" -e "s/pthread/thr/g" -e "s/ncurses.*/ncurses/g"
 84 		echo -n > $LIBDIRS
 86 		# First pass - generate list of directories
 88 		find -s ${LIBS} -name Makefile |
 89 		xargs grep -l 'bsd\.lib\.mk' |
 91 			libdir=$(dirname ${makefile})
 [all …]
 
 | 
| /freebsd/lib/ncurses/ncurses/ | 
| H A D | Makefile | 148 SYMLINKS+=	libncursesw.a ${LIBDIR}/libcursesw.a150 SYMLINKS+=	libncursesw.a ${LIBDIR}/libncurses.a
 151 SYMLINKS+=	libncursesw.a ${LIBDIR}/libcurses.a
 154 # no need for major at all, it's an ld-time redirection only
 155 SYMLINKS+=	libncursesw.so ${LIBDIR}/libcursesw.so
 157 SYMLINKS+=	libncursesw.so ${LIBDIR}/libncurses.so
 158 SYMLINKS+=	libncursesw.so ${LIBDIR}/libcurses.so
 169 	sed -e 's,@@LIB@@,${LIB},g' \
 170 	    -e 's,@@STATICLIB_SUFFIX@@,${_STATICLIB_SUFFIX},g' \
 178 	sh ${NCURSES_DIR}/ncurses/tty/MKexpanded.sh "${CC:N${CCACHE_BIN}} -E" ${CFLAGS} >expanded.c
 [all …]
 
 | 
| /freebsd/contrib/ldns/packaging/ | 
| H A D | ldns-config.in | 12 LIBDIR="@libdir@"19     if [ $arg = "--cflags" ]
 21         echo "-I${INCLUDEDIR}"
 23     if [ $arg = "--python-cflags" ]
 25         echo "${PYTHON_CPPFLAGS} -I${INCLUDEDIR}"
 27     if [ $arg = "--libs" ]
 29         echo "${LDFLAGS} -L${LIBDIR} ${LIBS} -lldns"
 31     if [ $arg = "--python-libs" ]
 33         echo "${LDFLAGS} ${PYTHON_LDFLAGS} -L${LIBDIR} ${LIBS} -lldns"
 35     if [ $arg = "-h" ] || [ $arg = "--help" ]
 [all …]
 
 | 
| /freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/ | 
| H A D | Linux.cpp | 1 //===--- Linux.h - Linux ToolChain Implementations --------------*- C++ -*-===//5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 7 //===----------------------------------------------------------------------===//
 37 /// Debian-based systems are starting to use a multiarch setup where they use
 38 /// a target-triple directory in the library and header search paths.
 58   // 32-bit and 64-bit targets. Multiarch fixes its install triples to these  in getMultiarchTriple()
 63       return "arm-linux-androideabi";  in getMultiarchTriple()
 67       return "arm-linux-gnueabihf";  in getMultiarchTriple()
 68     return "arm-linux-gnueabi";  in getMultiarchTriple()
 74       return "armeb-linux-gnueabihf";  in getMultiarchTriple()
 [all …]
 
 | 
| /freebsd/sbin/nvmecontrol/tests/ | 
| H A D | basic.sh | 1 # SPDX-License-Identifier: BSD-2-Clause35 TEST_DEV=$(cd /dev/; ls -1 nvme[0-9]* 2> /dev/null | grep -E 'nvme[0-9][0-9]*$' | head -n 1)
 36 TEST_DEV=${TEST_DEV:-nvme0}
 38 INV_OPT="-z"
 39 INV_OPT_MSG="invalid option -- z"
 50 	local libdir="/lib/nvmecontrol"
 51 	local fakelib="${libdir}/fake.so"
 52 	if [ -d ${libdir} ] ; then
 54 		atf_check -s not-exit:0 -o ignore -e match:"Can't load ${fakelib}" nvmecontrol
 55 		rm -f ${fakelib}
 [all …]
 
 |