git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4015
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/src/include -I$(top_srcdir)/src
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@
target_vendor = @target_vendor@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
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
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);
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.
/*
* Generate a borland simulation poject file.
+#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);
XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(stubgen);
+char* __gras_path = NULL;
+
/* tabulation level (used to indent the lines of the borland project file */
static unsigned int level = 0;
/* 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
#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.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);
borland_project.lib_dir = xbt_new0(char,MAX_PATH);