fieker-DuValspielwiese
Last change
on this file since d770e6 was
810238,
checked in by Oleksandr Motsak <motsak@…>, 10 years ago
|
List internal builtins in m4/options.m4
|
-
Property mode set to
100644
|
File size:
1.0 KB
|
Line | |
---|
1 | #ifndef MOD_LIB_H |
---|
2 | #define MOD_LIB_H |
---|
3 | |
---|
4 | #define SI_MOD_INIT0(name) name##_mod_init |
---|
5 | |
---|
6 | #ifdef STATIC_VERSION |
---|
7 | # define SI_MOD_INIT(name) SI_MOD_INIT0(name) |
---|
8 | #elif defined(DYNAMIC_VERSION) |
---|
9 | # define SI_MOD_INIT(name) mod_init |
---|
10 | #endif |
---|
11 | |
---|
12 | // Note that STATIC_VERSION and DYNAMIC_VERSION should not be defined in the following config header mod2.h! |
---|
13 | #include <kernel/mod2.h> /* for SI_BUILTINMODULES_ADD */ |
---|
14 | |
---|
15 | /// Data for @c type_of_LIB to determine built-in modules, |
---|
16 | /// use @c add(name) to add built-in library to macro |
---|
17 | #define SI_FOREACH_BUILTIN(add) SI_BUILTINMODULES_ADD(add) |
---|
18 | |
---|
19 | #include <polys/mod_raw.h> /* for lib_types */ |
---|
20 | lib_types type_of_LIB(const char *newlib, char *fullname); |
---|
21 | |
---|
22 | #endif |
---|
23 | |
---|
24 | /* |
---|
25 | #if HAVE_GFANLIB |
---|
26 | #define SI_BUILTIN_GFANLIB(add) add(gfanlib) |
---|
27 | #endif |
---|
28 | #ifdef HAVE_MATHICGB |
---|
29 | # define SI_BUILTIN_MATHIC(add) add(singmathic) |
---|
30 | #endif |
---|
31 | #ifdef EMBED_PYTHON |
---|
32 | //TODO: the line above means that syzextra should be staticly embedded IFF pyobjects do so :((((( |
---|
33 | #define SI_BUILTIN_PYOBJECT(add) add(pyobject) add(syzextra) SI_BUILTIN_GFANLIB(add) SI_BUILTIN_MATHIC(add) |
---|
34 | #endif |
---|
35 | */ |
---|
Note: See
TracBrowser
for help on using the repository browser.