Files
s390-tools/zconf/chp/chpstat/Makefile
Peter Oberparleiter 482bd93e2e chpstat: Add support for new CMG types
New machine models introduce CHPIDs with two new CMG types 4 and 5.
Add support for decoding the associated channel-measurement data.

Reviewed-by: Vineeth Vijayan <vneethv@linux.ibm.com>
Signed-off-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
2024-11-29 15:52:24 +01:00

20 lines
465 B
Makefile

include ../../../common.mak
all: chpstat
libs = $(rootdir)/libutil/libutil.a
chpstat: chpstat.o $(libs) column.o key.o cmg.o cmg_helper.o \
cmg1.o cmg2.o cmg3.o cmg4.o cmg5.o
install: all
$(INSTALL) -d -m 755 $(DESTDIR)$(BINDIR)
$(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 chpstat $(DESTDIR)$(BINDIR)
$(INSTALL) -d -m 755 $(DESTDIR)$(MANDIR)/man8
$(INSTALL) -m 644 -c chpstat.8 $(DESTDIR)$(MANDIR)/man8
clean:
rm -f *.o chpstat
.PHONY: all install clean