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:
Assar Westerlund
2000-11-15 22:41:40 +00:00
parent 91178e5b3f
commit fa5f7acd5c
2 changed files with 37 additions and 0 deletions

5
tools/Makefile.am Normal file
View File

@@ -0,0 +1,5 @@
# $Id$
include $(top_srcdir)/Makefile.am.common
bin_SCRIPTS = krb5-config

32
tools/krb5-config.in Executable file
View 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