mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
With the latest kernel comes an extension for the zcrypt device driver to support multiple zcrypt device nodes. Here is the userspace part of this which adds a new application zcryptctl for user friendly management of this feature. Signed-off-by: Harald Freudenberger <freude@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
25 lines
777 B
Makefile
25 lines
777 B
Makefile
include ../../common.mak
|
|
|
|
all: chzcrypt lszcrypt zcryptctl
|
|
|
|
libs = $(rootdir)/libutil/libutil.a
|
|
|
|
chzcrypt: chzcrypt.o misc.o $(libs)
|
|
lszcrypt: lszcrypt.o misc.o $(libs)
|
|
zcryptctl: zcryptctl.o misc.o $(libs)
|
|
|
|
install: all
|
|
$(INSTALL) -d -m 755 $(DESTDIR)$(BINDIR)
|
|
$(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 chzcrypt $(DESTDIR)$(BINDIR)
|
|
$(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 lszcrypt $(DESTDIR)$(BINDIR)
|
|
$(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 zcryptctl $(DESTDIR)$(BINDIR)
|
|
$(INSTALL) -d -m 755 $(DESTDIR)$(MANDIR)/man8
|
|
$(INSTALL) -m 644 -c chzcrypt.8 $(DESTDIR)$(MANDIR)/man8
|
|
$(INSTALL) -m 644 -c lszcrypt.8 $(DESTDIR)$(MANDIR)/man8
|
|
$(INSTALL) -m 644 -c zcryptctl.8 $(DESTDIR)$(MANDIR)/man8
|
|
|
|
clean:
|
|
rm -f *.o chzcrypt lszcrypt zcryptctl
|
|
|
|
.PHONY: all install clean
|