diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-02-01 18:08:26 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-02-01 18:08:26 +0000 |
commit | edf81b0d16322e5d49ec22f394b669d9094daac1 (patch) | |
tree | 04b1a40a5af1c8d95978e0e85d96cb8e5cb061bb /package | |
parent | 5b5f5e507db58c5005cd8a572f761ef2f002cb0f (diff) | |
download | execline-edf81b0d16322e5d49ec22f394b669d9094daac1.tar.xz |
Add a multicall target. If you use it, you're on your own.
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'package')
-rw-r--r-- | package/deps.mak | 2 | ||||
-rw-r--r-- | package/targets.mak | 10 |
2 files changed, 12 insertions, 0 deletions
diff --git a/package/deps.mak b/package/deps.mak index d9ab00a..fa81ab3 100644 --- a/package/deps.mak +++ b/package/deps.mak @@ -181,6 +181,8 @@ libexecline.a.xyzzy: src/libexecline/el_execsequence.lo src/libexecline/el_getst endif libexecline.so.xyzzy: EXTRA_LIBS := -lskarnet libexecline.so.xyzzy: src/libexecline/el_execsequence.lo src/libexecline/el_getstrict.lo src/libexecline/el_modif_and_exec.lo src/libexecline/el_modif_and_spawn.lo src/libexecline/el_parse.lo src/libexecline/el_parse_from_buffer.lo src/libexecline/el_parse_from_string.lo src/libexecline/el_popenv.lo src/libexecline/el_pushenv.lo src/libexecline/el_semicolon.lo src/libexecline/el_spawn0.lo src/libexecline/el_spawn1.lo src/libexecline/el_substandrun.lo src/libexecline/el_substandrun_str.lo src/libexecline/el_substitute.lo src/libexecline/el_transform.lo src/libexecline/el_vardupl.lo src/libexecline/exlsn_define.lo src/libexecline/exlsn_elglob.lo src/libexecline/exlsn_importas.lo src/libexecline/exlsn_multidefine.lo src/libexecline/exlsn_exlp.lo src/libexecline/exlsn_main.lo src/libexecline/exlsn_free.lo src/libexecline/exlp.lo +execline: EXTRA_LIBS := -lskarnet ${SPAWN_LIB} ${MAYBEPTHREAD_LIB} +execline: src/multicall/execline.o ${LIBEXECLINE} ${LIBNSSS} posix-cd: EXTRA_LIBS := -lskarnet posix-cd: src/posix/posix-cd.o posix-umask: EXTRA_LIBS := -lskarnet diff --git a/package/targets.mak b/package/targets.mak index 0b41b79..258ed41 100644 --- a/package/targets.mak +++ b/package/targets.mak @@ -67,3 +67,13 @@ $(DESTDIR)$(bindir)/cd: $(DESTDIR)$(bindir)/$(PEDANTIC_PREFIX)-cd $(DESTDIR)$(bindir)/umask: $(DESTDIR)$(bindir)/$(PEDANTIC_PREFIX)-umask exec ./tools/install.sh -l $(PEDANTIC_PREFIX)-umask $(DESTDIR)$(bindir)/umask + + +EXTRA_BINS := execline +EXTRA_TEMP := src/multicall/execline.c + +multicall: execline +.PHONY: multicall + +src/multicall/execline.c: tools/gen-multicall.sh src/execline/deps-exe src/include/execline/config.h src/include/execline/execline.h + ./tools/gen-multicall.sh > src/multicall/execline.c |