2 Copyright © 1995-2005, The AROS Development Team. All rights reserved.
5 Main for genmodule. A tool to generate files for building modules.
9 int main(int argc
, char **argv
)
12 struct config
*cfg
= initconfig(argc
, argv
);
17 if (!(cfg
->intcfg
& CFG_NOREADREF
))
21 if (cfg
->modtype
== LIBRARY
)
27 if (!(cfg
->intcfg
& CFG_NOREADREF
))
45 /* Ignore the functionlist and the methodlist that are available in the
49 if (cfg
->classlist
!= NULL
)
50 cfg
->classlist
->methlist
= NULL
;
57 fprintf(stderr
, "Internal error in main: Unhandled command type\n");