summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-04-09 17:42:47 -0400
committermidipix <writeonce@midipix.org>2016-04-09 19:01:00 -0400
commitca15b925768ff6910ed667b7e713b82043c0dee5 (patch)
treecaa9cd7efe7d941d85f094aa3bc9963aa1eb3054
parent2a7f1c397f3476a5e3b7aede06f1415954a0c16d (diff)
downloadslibtool-ca15b925768ff6910ed667b7e713b82043c0dee5.tar.bz2
slibtool-ca15b925768ff6910ed667b7e713b82043c0dee5.tar.xz
utility: output: added slbt_output_install().
-rw-r--r--include/slibtool/slibtool.h1
-rw-r--r--src/output/slbt_output_exec.c7
2 files changed, 8 insertions, 0 deletions
diff --git a/include/slibtool/slibtool.h b/include/slibtool/slibtool.h
index bf85763..8618e3b 100644
--- a/include/slibtool/slibtool.h
+++ b/include/slibtool/slibtool.h
@@ -201,6 +201,7 @@ slbt_api int slbt_unmap_input (struct slbt_input *);
slbt_api int slbt_output_config (const struct slbt_driver_ctx *);
slbt_api int slbt_output_exec (const struct slbt_driver_ctx *, const struct slbt_exec_ctx *, const char *);
slbt_api int slbt_output_compile (const struct slbt_driver_ctx *, const struct slbt_exec_ctx *);
+slbt_api int slbt_output_install (const struct slbt_driver_ctx *, const struct slbt_exec_ctx *);
slbt_api int slbt_output_link (const struct slbt_driver_ctx *, const struct slbt_exec_ctx *);
#ifdef __cplusplus
diff --git a/src/output/slbt_output_exec.c b/src/output/slbt_output_exec.c
index e0df34a..ff14064 100644
--- a/src/output/slbt_output_exec.c
+++ b/src/output/slbt_output_exec.c
@@ -34,6 +34,13 @@ int slbt_output_compile(
return slbt_output_exec(dctx,ectx,"compile");
}
+int slbt_output_install(
+ const struct slbt_driver_ctx * dctx,
+ const struct slbt_exec_ctx * ectx)
+{
+ return slbt_output_exec(dctx,ectx,"install");
+}
+
int slbt_output_link(
const struct slbt_driver_ctx * dctx,
const struct slbt_exec_ctx * ectx)