new files, used by other programs linking against this
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9174 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
5
tools/Makefile.am
Normal file
5
tools/Makefile.am
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
# $Id$
|
||||||
|
|
||||||
|
include $(top_srcdir)/Makefile.am.common
|
||||||
|
|
||||||
|
bin_SCRIPTS = krb5-config
|
32
tools/krb5-config.in
Executable file
32
tools/krb5-config.in
Executable file
@@ -0,0 +1,32 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# $Id$
|
||||||
|
prefix=@prefix@
|
||||||
|
exec_prefix=@exec_prefix@
|
||||||
|
libdir=@libdir@
|
||||||
|
includedir=@includedir@
|
||||||
|
for i in $*; do
|
||||||
|
case $i in
|
||||||
|
--help)
|
||||||
|
echo "usage: $0 [--ldflags] [--cflags]"
|
||||||
|
exit 0
|
||||||
|
;;
|
||||||
|
--version)
|
||||||
|
echo "@PACKAGE@ @VERSION@"
|
||||||
|
echo "$Id$"
|
||||||
|
exit 0
|
||||||
|
;;
|
||||||
|
--ldflags)
|
||||||
|
echo "-L${libdir} -lkrb5 -lasn1 -ldes -lroken @LIB_crypt@ @LIB_dbopen@ @LIBS@"
|
||||||
|
exit 0
|
||||||
|
;;
|
||||||
|
--cflags)
|
||||||
|
echo "-I${includedir}"
|
||||||
|
exit 0
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "unknown option: $i"
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
exit 0
|
Reference in New Issue
Block a user