From 7670c84f7732db29f5a9d9c145c2327f4b575f91 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Mon, 29 Oct 2012 07:05:21 +0000 Subject: Implement new "load" directive. Provides support for dynamically loadable objects in GNU make, as a "technology preview". --- make.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'make.h') diff --git a/make.h b/make.h index 87d7bdb..a1b34f3 100644 --- a/make.h +++ b/make.h @@ -472,8 +472,13 @@ const char *strcache_add_len (const char *str, unsigned int len); int strcache_setbufsize (unsigned int size); /* Guile support */ -int setup_guile (void); +#ifdef HAVE_GUILE +int guile_gmake_setup (const struct floc *flocp); +#endif +/* Loadable object support */ +typedef int (*load_func_t)(const struct floc *flocp); +int load_file (const struct floc *flocp, const char *filename, int noerror); #ifdef HAVE_VFORK_H # include -- cgit v1.2.3