|
@@ -97,6 +97,13 @@ if BUILD_STARPU_TOP
|
|
|
starpu-top/starpu_top$(EXEEXT): all-local
|
|
|
all-local:
|
|
|
cd starpu-top ; $(QMAKE) ; $(MAKE)
|
|
|
+if STARPU_DEVEL
|
|
|
+ @if grep -r sys/time.h $$( find $(srcdir)/src $(srcdir)/mpi/src $(srcdir)/include -name \*.[ch] -a \! -name starpu_util.h ) ; \
|
|
|
+ then \
|
|
|
+ echo "Please do not include sys/time, it is not available on Windows, include starpu_util.h and use starpu_timing_now() instead" ; \
|
|
|
+ false ; \
|
|
|
+ fi
|
|
|
+endif
|
|
|
clean-local:
|
|
|
cd starpu-top ; $(QMAKE) ; $(MAKE) clean ; $(RM) Makefile
|
|
|
$(RM) starpu-top/starpu_top.1 starpu-top/starpu_top$(EXEEXT)
|
|
@@ -127,14 +134,6 @@ EXTRA_DIST = AUTHORS COPYING.LGPL README STARPU-VERSION STARPU-REVISION build-au
|
|
|
|
|
|
DISTCLEANFILES = STARPU-REVISION
|
|
|
|
|
|
-if STARPU_DEVEL
|
|
|
-all-local:
|
|
|
- @if grep -r sys/time.h $$( find $(srcdir)/src $(srcdir)/mpi/src $(srcdir)/include -name \*.[ch] -a \! -name starpu_util.h ) ; \
|
|
|
- then \
|
|
|
- echo "Please do not include sys/time, it is not available on Windows, include starpu_util.h and use starpu_timing_now() instead" ; \
|
|
|
- false ; \
|
|
|
- fi
|
|
|
-endif
|
|
|
|
|
|
include starpu-top/extradist
|
|
|
|