/*
- * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved.
+ * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
#include "ircgopt.h" /* Optimizations based on interprocedural graph */
/* Lowering */
-#include "lower_calls.h" /* lowering of different calls */
-#include "lower_intrinsics.h" /* lowering of intrinsic calls */
-#include "lower_dw.h" /* double word types lowering */
-#include "lower_hl.h" /* lowering of high-level constructs */
+#include "lowering.h" /* lowering of different calls parameters, intrinsic calls, double word types, high-level constructs */
/* Analyses */
#include "irouts.h" /* Graph reversal / out edges. */
#include "firmstat.h" /* statistics */
+#include "dbginfo.h" /* debug support */
#include "seqnumbers.h" /* debug support */
#include "firm_ycomp.h" /* ycomp debugging support */
-
-/* @@@ temporarily for jni builder until preprocessor works.
- Then it should be sufficient to include <file.h> instead
- of firm.h as not all enums are needed in the implementation
- files. */
#include "irdump.h"
#include "irprintf.h"
#include "irvrfy.h"
#include "iredges.h"
-/* Macros that define the old function names we decided to rename.
- Use for compatibility with old implementations. */
-/*#include "old_fctnames.h"*/
-
/**
* libFirm initialization parameters.
*/
typedef struct _firm_parameter_t firm_parameter_t;
-#define libFirm_VERSION_MAJOR 1
-#define libFirm_VERSION_MINOR 4
+/* Set a version number if it has not been set in environment */
+#ifndef libfirm_VERSION_MAJOR
+#define libfirm_VERSION_MAJOR 1
+#endif
+
+#ifndef libfirm_VERSION_MINOR
+#define libfirm_VERSION_MINOR 4
+#endif
/**
* The Firm version number.
typedef struct _firm_version_t {
unsigned major;
unsigned minor;
+ const char *revision;
+ const char *build;
} firm_version_t;
/**
*/
void firm_get_version(firm_version_t *version);
-#ifdef WITH_LIBCORE
/**
* Read initializations arguments from the .init file.
*/
void firm_init_options(const char *arg_prefix, int argc, const char **argv);
-#endif
#ifdef __cplusplus
}