- 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:
30
tools/mcstat/Makefile.in
Normal file
30
tools/mcstat/Makefile.in
Normal 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)
|
||||
|
||||
Reference in New Issue
Block a user