Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
do not forget headers for the dist.
[simgrid.git] / tools / gras / Makefile.am
index 78aa2eb..6cefd53 100644 (file)
@@ -1,11 +1,18 @@
-AM_CFLAGS = -g
+AM_CFLAGS = -g3
 
-INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/src/include
+INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/src/include -I$(top_srcdir)/src
 
-bin_PROGRAMS = gras_stub_generator
+EXTRA_DIST = gras_stub_generator.h
+bin_PROGRAMS = gras_stub_generator 
+# skel_rewriter
 
-LDADD_UTILS=$(top_builddir)/src/libsimgrid.la 
-LDADD_RL=   $(top_builddir)/src/libsimgrid.la   
+gras_stub_generator_SOURCES = stub_generator.c unix_stub_generator.c windows_stub_generator.c
+gras_stub_generator_LDADD   = $(top_builddir)/src/libsimgrid.la 
 
-gras_stub_generator_SOURCES = stub_generator.c
-gras_stub_generator_LDADD = $(LDADD_UTILS)
+# skel_rewriter_SOURCES = skel_rewriter.c
+# skel_rewriter_LDADD   = $(top_builddir)/src/libsimgrid.la 
+
+$(top_builddir)/src/libsimgrid.la: 
+       make -C $(top_builddir)/src libsimgrid.la
+
+include $(top_srcdir)/acmacro/dist-files.mk