/usr/share/ptlib/make/ptlib-config is in libpt-dev 2.10.11~dfsg-1ubuntu1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | #!/bin/sh
#
# Shamelessly ripped from imlib-config that was
# apparently shamelessly ripped from gtk's gtk-config.in
#
prefix=/usr
exec_prefix=${prefix}
VERSION="2.10.11"
CCFLAGS=" -DP_64BIT -DPTRACING=1 -D_REENTRANT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -fexceptions"
LDFLAGS=" "
LIBS=" -lpthread -lrt -lsasl2 -lldap -llber -lldap_r -lssl -lcrypto -lexpat -lSDL -lodbc -lresolv -ldl -lpt"
LIBDIR="${exec_prefix}/lib"
PTINSTDIR="/usr/share/ptlib"
MACHTYPE="x86_64"
OSTYPE="linux"
OSRELEASE=""3.19.0-31-generic""
SHAREDLIBEXT="so"
# usage="Usage: ptlib-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags]"
usage="Usage: ptlib-config [--version] [--ptlibdir] [--ccflags] [--ldflags] [--libs] [--machtype] [--ostype] [--osrelease] [--sharedlibext] [--prefix] [--libdir]"
if test $# -eq 0; then
echo "${usage}" 1>&2
exit 1
fi
while test $# -gt 0; do
case "$1" in
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
*) optarg= ;;
esac
case $1 in
--version)
echo $VERSION
;;
--ptlibdir)
echo $PTINSTDIR
;;
--ldflags)
echo $LDFLAGS
;;
--ccflags)
echo $CCFLAGS
;;
--libs)
echo $LIBS
;;
--machtype)
echo $MACHTYPE
;;
--ostype)
echo $OSTYPE
;;
--osrelease)
echo $OSRELEASE
;;
--sharedlibext)
echo $SHAREDLIBEXT
;;
--prefix)
echo $prefix
;;
--libdir)
echo $LIBDIR
;;
--all)
echo VERSION = $VERSION
echo PTLIBDIR = $PTINSTDIR
echo LDFLAGS = $LDFLAGS
echo CCFLAGS = $CCFLAGS
echo LIBS = $LIBS
echo MACHTYPE = $MACHTYPE
echo OSTYPE = $OSTYPE
echo OSRELEASE = $OSRELEASE
echo SHAREDLIBEXT = $SHAREDLIBEXT
echo PREFIX = $prefix
echo LIBDIR = $LIBDIR
;;
*)
echo "${usage}" 1>&2
exit 1
;;
esac
shift
done
exit 0
|