X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dfef07e929a51f264050985b6e8f5f302103dab2..58ea41e6eaffe2381aac9c717969754792921127:/src/Makefile.am diff --git a/src/Makefile.am b/src/Makefile.am index 0440b669c4..806125ab1e 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,3 +1,10 @@ +# 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. @@ -25,6 +32,7 @@ EXTRA_DIST= \ xbt/graphxml.c \ xbt/graphxml.dtd \ xbt/context_private.h \ + xbt/log_private.h \ xbt/ex_interface.h \ \ surf/maxmin_private.h \ @@ -112,7 +120,7 @@ VERSION_INFO= -version-info 2:0:0 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 \ @@ -342,10 +350,12 @@ clean-local: 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