- mcstat is a tool to report McKernel statistics from Linux side.

This is a response to a CEA's request.
	- The tools directory is created under the mckernel directory.
	- Some include files are now installed in the install directory,
	  but we should rethink of it.
This commit is contained in:
Yutaka Ishikawa
2018-02-25 10:57:28 +09:00
parent a9dfcd9a89
commit 4ac1efae6c
8 changed files with 411 additions and 1 deletions

30
tools/mcstat/Makefile.in Normal file
View File

@@ -0,0 +1,30 @@
# Makefile.in COPYRIGHT FUJITSU LIMITED 2015-2016
CC=@CC@
MCC=mpicc
BINDIR=@BINDIR@
SBINDIR=@SBINDIR@
prefix=@prefix@
exec_prefix=@exec_prefix@
LIBDIR=@libdir@
MANDIR=@MANDIR@
MCKERNEL_INCDIR=@MCKERNEL_INCDIR@
KDIR ?= @KDIR@
ARCH=@ARCH@
CFLAGS=-Wall -O -I. -I${MCKERNEL_INCDIR}
LDFLAGS=@LDFLAGS@
VPATH=@abs_srcdir@
TARGET=mcstat
all: $(TARGET)
mcexec: mcstat.c libmcexec.a
$(CC) -I${KDIR} $(CFLAGS) $(EXTRA_CFLAGS) $(LDFLAGS) -o $@ $^
clean::
$(RM) $(TARGET) *.o
.PHONY: all clean install
install::
install -m 755 mcstat $(BINDIR)