Files
s390-tools/zpcictl/Makefile
Niklas Schnelle 8704c9c80e zpcictl: Pull SCLP handling out and into libzpci
The upcoming optics monitoring tool will have to issue SCLP Write Event
data just like zpcictl so pull that functionality out and into libzpci.
While at it decouple getting SMART data from the actual SCLP handling.
No change in behavior intended.

Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
2024-12-06 10:57:34 +01:00

19 lines
426 B
Makefile

include ../common.mak
all: zpcictl
libs = $(rootdir)/libzpci/libzpci.a $(rootdir)/libutil/libutil.a
zpcictl: zpcictl.o $(libs)
install: all
$(INSTALL) -d -m 755 $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man8
$(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 zpcictl $(DESTDIR)$(BINDIR)
$(INSTALL) -g $(GROUP) -o $(OWNER) -m 644 zpcictl.8 \
$(DESTDIR)$(MANDIR)/man8
clean:
rm -f *.o *~ zpcictl core
.PHONY: all install clean