mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
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>
21 lines
328 B
Makefile
21 lines
328 B
Makefile
include ../common.mak
|
|
|
|
lib = libzpci.a
|
|
|
|
all: $(lib)
|
|
|
|
objects = pci_list.o pci_sclp.o
|
|
|
|
examples := $(patsubst %.c,%,$(wildcard *_example.c))
|
|
|
|
examples: $(examples)
|
|
$(examples): %: %.o $(lib) $(rootdir)/libutil/libutil.a
|
|
|
|
$(lib): ALL_CFLAGS += -fPIC -std=c11
|
|
$(lib): $(objects)
|
|
|
|
install: all
|
|
|
|
clean:
|
|
rm -f *.o $(lib) $(examples)
|