From 4e7f5d85e500f4d8f7b087e4eb121f87d12df666 Mon Sep 17 00:00:00 2001 From: pg Date: Thu, 13 Feb 2025 14:53:00 +0300 Subject: [PATCH] =?UTF-8?q?make=20=D0=A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B9=20?= =?UTF-8?q?=D0=9F=D1=80=D0=B5=D0=B9=D1=81=20happy=20after=20commit=5Fhash:?= =?UTF-8?q?7c26c5713a728d63364122eea5eb9dff8820070c?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/ymake.core.conf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/build/ymake.core.conf b/build/ymake.core.conf index 3f5f5b3a..f100865d 100644 --- a/build/ymake.core.conf +++ b/build/ymake.core.conf @@ -3140,10 +3140,19 @@ macro _SRC_f_old(SRC, SRCFLAGS...) { .CMD=$YMAKE_PYTHON ${input:"build/scripts/f2c.py"} -t ${tool:"contrib/tools/f2c"} -c ${input:SRC} -o ${output:SRC.c} ${hide;output_include:"f2c.h"} ${hide;kv:"p FT"} ${hide;kv:"pc light-green"} } +### @usage: AR_PLUGIN(plugin_name) +### +### Register script, which will process module's .a (archive) output +### Script will receive path to archive, which it should modify in place macro AR_PLUGIN(name) { SET(_AR_PLUGIN $name.pyplugin) } +### @usage: LD_PLUGIN(plugin_name) +### +### Register script, which will process all inputs to any link_exe.py call with modules's library +### Script will receive all arguments to link_exe.py, and can output into stdout preprocessed list +### of all arguments, in JSON format macro LD_PLUGIN(name) { SRCS(GLOBAL $name.pyplugin) }