+#include "tv_t.h"
+#include "tpop_t.h"
+#include "irprog_t.h"
+#include "irnode_t.h"
+#include "irmode_t.h"
+#include "ircons_t.h"
+#include "irgraph_t.h"
+#include "type_t.h"
+#include "entity_t.h"
+#include "type_identify.h"
+#include "firmstat.h"
+#include "irreflect_t.h"
+#include "irarch.h"
+#include "reassoc_t.h"
+#include "irhooks.h"
+#include "iredges_t.h"
+#include "debugger.h"
+
+#ifdef WITH_LIBCORE
+/* returns the firm root */
+lc_opt_entry_t *firm_opt_get_root(void) {
+ static lc_opt_entry_t *grp = NULL;
+ if(!grp)
+ grp = lc_opt_get_grp(lc_opt_root_grp(), "firm");
+ return grp;
+}
+
+void firm_init_options(const char *arg_prefix, int argc, const char **argv) {
+ /* parse any init files for firm */
+ lc_opts_init("firm", firm_opt_get_root(), arg_prefix, argc, argv);
+}
+#endif /* WITH_LIBCORE */