+# Copyright (c) 2004-2007. The SimGrid team. All right reserved.
+
+# This file is part of the SimGrid project. This is free software:
+# You can redistribute and/or modify it under the terms of the
+# GNU LGPL (v2.1) licence.
+
+
#AM_CFLAGS= -DNDEBUG
# -DNLOG cuts absolutely all logs at compilation time.
xbt/graphxml.c \
xbt/graphxml.dtd \
xbt/context_private.h \
+ xbt/log_private.h \
xbt/ex_interface.h \
\
surf/maxmin_private.h \
XBT_SRC=\
\
- xbt/snprintf.c xbt/xbt_str.c \
+ xbt/snprintf.c xbt/xbt_str.c xbt/xbt_strbuff.c \
xbt/ex.c \
\
xbt_modinter.h gras_modinter.h \
jardir = $(prefix)/jar
jar_DATA = simgrid.jar
-simgrid.jar: $(JMSG_JAVA_SRC) ./surf/surfxml.dtd
+simgrid.jar: $(JMSG_JAVA_SRC) $(srcdir)/surf/surfxml.dtd
[ -e .classes ] || mkdir .classes
- $(JAVAC) -sourcepath java -d .classes $(JMSG_JAVA_SRC)
- $(JAR) cvf simgrid.jar -C .classes . ./surf/surfxml.dtd;
+ $(JAVAC) -d .classes $(foreach file,$(JMSG_JAVA_SRC),$(srcdir)/$(file))
+ [ -e .classes/surf ] || mkdir .classes/surf
+ cp $(srcdir)/surf/surfxml.dtd .classes/surf
+ $(JAR) cvf simgrid.jar -C .classes .
else
EXTRA_DIST += $(JCTX_SRC) $(JMSG_C_SRC) $(MSG_SRC)
endif