summaryrefslogtreecommitdiffstats
path: root/src/build-tools/Makefile.in
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2013-01-03 11:07:15 -0500
committerGreg Hudson <ghudson@mit.edu>2013-01-04 01:32:49 -0500
commit5adaa8f50af31056a06934bc219e7f5ca33c1ae5 (patch)
tree297efb51b0d1d093654bd8f558c4a96d06834530 /src/build-tools/Makefile.in
parent9b702abe222d4b279d5869f96f09074452478b1e (diff)
downloadkrb5-5adaa8f50af31056a06934bc219e7f5ca33c1ae5.tar.gz
krb5-5adaa8f50af31056a06934bc219e7f5ca33c1ae5.tar.xz
krb5-5adaa8f50af31056a06934bc219e7f5ca33c1ae5.zip
Move krb5-config to new src/build-tools directory
In preparation for adding a bunch of pkg-config data files, move krb5-config into a new source tree subdirectory containing tools we provide as outputs to other build systems.
Diffstat (limited to 'src/build-tools/Makefile.in')
-rw-r--r--src/build-tools/Makefile.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/build-tools/Makefile.in b/src/build-tools/Makefile.in
new file mode 100644
index 0000000000..fa5690006f
--- /dev/null
+++ b/src/build-tools/Makefile.in
@@ -0,0 +1,15 @@
+mydir=build-tools
+BUILDTOP=$(REL)..
+
+all-unix:: krb5-config
+
+krb5-config: $(srcdir)/krb5-config.in $(BUILDTOP)/config.status
+ cd $(BUILDTOP) && $(SHELL) config.status $(mydir)/$@
+
+install-unix::
+ $(INSTALL_SCRIPT) krb5-config $(DESTDIR)$(CLIENT_BINDIR)/krb5-config
+
+# Test to ensure that krb5-config does not spit out things like
+# $(PURE) or $(LDFLAGS) in case someone changes config/shlib.conf
+check-unix:: krb5-config
+ $(SHELL) $(srcdir)/t_krbconf