mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
A small utility to display the STP information present in sysfs in a more readable way. Signed-off-by: Sven Schnelle <svens@linux.ibm.com> Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
19 lines
388 B
Makefile
19 lines
388 B
Makefile
include ../common.mak
|
|
|
|
libs = $(rootdir)/libutil/libutil.a
|
|
all: lsstp
|
|
|
|
lsstp: lsstp.o $(libs)
|
|
|
|
install: all
|
|
$(INSTALL) -d -m 755 $(DESTDIR)$(BINDIR) \
|
|
$(DESTDIR)$(MANDIR)/man8
|
|
$(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 lsstp $(DESTDIR)$(BINDIR)
|
|
$(INSTALL) -g $(GROUP) -o $(OWNER) -m 644 lsstp.8 \
|
|
$(DESTDIR)$(MANDIR)/man8
|
|
|
|
clean:
|
|
rm -f *.o *~ lsstp core
|
|
|
|
.PHONY: all install clean
|