A bug for not installing mcstat is fixed.

This commit is contained in:
Yutaka Ishikawa
2018-02-25 11:46:16 +09:00
parent 0da5b76916
commit 1796c20b88
2 changed files with 8 additions and 5 deletions

View File

@ -4,7 +4,7 @@ INCDIR = @INCDIR@
ETCDIR = @ETCDIR@
MANDIR = @MANDIR@
all: executer-mcctrl executer-mcoverlayfs executer-user mckernel
all: executer-mcctrl executer-mcoverlayfs executer-user mckernel mck-tools
executer-mcctrl:
+@(cd executer/kernel/mcctrl; $(MAKE) modules)
@ -26,6 +26,9 @@ mckernel:
;; \
esac
mck-tools:
+@(cd tools/mcstat; $(MAKE))
install:
@(cd executer/kernel/mcctrl; $(MAKE) install)
@(cd executer/kernel/mcoverlayfs; $(MAKE) install)
@ -75,3 +78,4 @@ clean:
exit 1 \
;; \
esac
@(cd tools/mcstat; $(MAKE) clean)

View File

@ -15,16 +15,15 @@ LDFLAGS=@LDFLAGS@
VPATH=@abs_srcdir@
TARGET=mcstat
.PHONY: all clean install
all: $(TARGET)
mcexec: mcstat.c libmcexec.a
mcstat: mcstat.c
$(CC) -I${KDIR} $(CFLAGS) $(EXTRA_CFLAGS) $(LDFLAGS) -o $@ $^
clean::
$(RM) $(TARGET) *.o
.PHONY: all clean install
install::
install -m 755 mcstat $(BINDIR)