瀏覽代碼

Makefile.am,tools/Makefile.am: fix rules

Nathalie Furmento 11 年之前
父節點
當前提交
1732ff58a3
共有 2 個文件被更改,包括 5 次插入2 次删除
  1. 4 1
      Makefile.am
  2. 1 1
      tools/Makefile.am

+ 4 - 1
Makefile.am

@@ -97,7 +97,11 @@ noinst_HEADERS = \
 	include/pthread_win32/pthread.h		\
 	include/pthread_win32/semaphore.h
 
+if BUILD_STARPU_TOP
+all-local: starpu-top/starpu_top$(EXEEXT)
+elif
 all-local:
+endif
 if STARPU_DEVEL
 	@if grep -r sys/time.h $$( find $(srcdir)/examples $(srcdir)/tests $(srcdir)/src $(srcdir)/mpi/src $(srcdir)/include -name \*.[ch] -a \! -name starpu_util.h -a \! -name timer.h -a \! -name loader.c ) ; \
 	then \
@@ -112,7 +116,6 @@ if STARPU_DEVEL
 endif
 
 if BUILD_STARPU_TOP
-all-local: starpu-top/starpu_top$(EXEEXT)
 starpu-top/starpu_top$(EXEEXT):
 	cd starpu-top ; $(QMAKE) ; $(MAKE)
 clean-local:

+ 1 - 1
tools/Makefile.am

@@ -246,7 +246,7 @@ clean-local:
 endif
 
 if STARPU_SIMGRID
-dist_pkgdata_DATA = starpu_smpi.xslt
+dist_pkgdata_DATA += starpu_smpi.xslt
 dist_bin_SCRIPTS += starpu_smpirun
 endif