New shell script Addmodule.sh makes it easier to add a new optional
module by editing Makefile and config.c in all the right places. Used it to add most modules currently known. Added markers to help the script to Makefile and config.c.
This commit is contained in:
parent
7c4eb40a1a
commit
3a40ae4ef3
|
@ -220,6 +220,7 @@ extern void initcl();
|
||||||
#ifdef USE_TIME
|
#ifdef USE_TIME
|
||||||
extern void inittime();
|
extern void inittime();
|
||||||
#endif
|
#endif
|
||||||
|
/* -- ADDMODULE MARKER 1 -- */
|
||||||
|
|
||||||
struct {
|
struct {
|
||||||
char *name;
|
char *name;
|
||||||
|
@ -350,5 +351,7 @@ struct {
|
||||||
{"time", inittime},
|
{"time", inittime},
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* -- ADDMODULE MARKER 2 -- */
|
||||||
|
|
||||||
{0, 0} /* Sentinel */
|
{0, 0} /* Sentinel */
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue