summaryrefslogtreecommitdiffstats
path: root/src/build-tools/Makefile.in
diff options
context:
space:
mode:
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