-AM_CFLAGS = -g
+AM_CFLAGS = -g3
INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/src/include -I$(top_srcdir)/src
target_vendor = @target_vendor@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
-AM_CFLAGS = -g
+AM_CFLAGS = -g3
INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/src/include -I$(top_srcdir)/src
# skel_rewriter
gras_stub_generator_SOURCES = stub_generator.c unix_stub_generator.c windows_stub_generator.c
void generate_makefile_am(char *project, char *deployment);
void generate_makefile_local(char *project, char *deployment);
+/* the gras.h header directory (used only in windows)*/
+extern char* __gras_path;
/*
* Generate a borland simulation poject file.
#include <stdarg.h>
-
+#ifdef _WIN32
+/* stupid stubs so that it compiles on windows */
+void generate_sim(char *project) {}
+void generate_rl(char *project) {}
+void generate_makefile_local(char *project, char *deployment) {}
+#else
+/* real implementation */
XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(stubgen);
{
printf("%p",p);
}
+#endif
#ifdef _WIN32
+char* __gras_path = NULL;
+
/* tabulation level (used to indent the lines of the borland project file */
static unsigned int level = 0;
-
-/* the gras.h header directory */
-static char* __gras_path = NULL;
-
-
#ifndef MAX_PATH
#define MAX_PATH 260
#endif
borland_project.encoding ="utf-8";
borland_project.comment ="C++Builder XML Project";
borland_project.version = "BCB.06.00";
- borland_project.lib_dir = " ";
borland_project.lib_dir = xbt_new0(char,MAX_PATH);