From 1016272717b9c992f66f56667e767f884f0645d3 Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 13 Aug 2018 20:41:21 -0400 Subject: utility: convenience symlinks: added rclibtool, rdlibtool, and rdclibtool. --- src/driver/slbt_amain.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/driver/slbt_amain.c') diff --git a/src/driver/slbt_amain.c b/src/driver/slbt_amain.c index c060021..2e59849 100644 --- a/src/driver/slbt_amain.c +++ b/src/driver/slbt_amain.c @@ -158,6 +158,22 @@ int slbt_main(char ** argv, char ** envp, const struct slbt_fd_ctx * fdctx) if (!(strcmp(program,"rlibtool"))) flags |= SLBT_DRIVER_HEURISTICS; + /* heuristics + legabits */ + if (!(strcmp(program,"rclibtool"))) + flags |= (SLBT_DRIVER_HEURISTICS + | SLBT_DRIVER_LEGABITS); + + /* heuristics + debug */ + if (!(strcmp(program,"rdlibtool"))) + flags |= (SLBT_DRIVER_HEURISTICS + | SLBT_DRIVER_DEBUG); + + /* heuristics + debug + legabits */ + if (!(strcmp(program,"rdclibtool"))) + flags |= (SLBT_DRIVER_HEURISTICS + | SLBT_DRIVER_DEBUG + | SLBT_DRIVER_LEGABITS); + /* driver context */ if ((ret = slbt_get_driver_ctx(argv,envp,flags,fdctx,&dctx))) return (ret == SLBT_USAGE) -- cgit v1.2.3