소스 검색

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