mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Reading DASD specific sysfs attributes should be collected in one library. Move get_host_access_count() to libdasd/dasd_sys. Remove the old implementation and update any user accordingly. Also, fix the build order for zdsfs. Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
24 lines
522 B
Makefile
24 lines
522 B
Makefile
include ../common.mak
|
|
|
|
ALL_CPPFLAGS += -DSYSFS
|
|
|
|
all: dasdview
|
|
|
|
libs = $(rootdir)/libdasd/libdasd.a \
|
|
$(rootdir)/libzds/libzds.a \
|
|
$(rootdir)/libvtoc/libvtoc.a \
|
|
$(rootdir)/libutil/libutil.a
|
|
|
|
dasdview: dasdview.o $(libs)
|
|
|
|
install: all
|
|
$(INSTALL) -d -m 755 $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man8
|
|
$(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 dasdview $(DESTDIR)$(BINDIR)
|
|
$(INSTALL) -g $(GROUP) -o $(OWNER) -m 644 dasdview.8 \
|
|
$(DESTDIR)$(MANDIR)/man8
|
|
|
|
clean:
|
|
rm -f *.o *~ dasdview core
|
|
|
|
.PHONY: all install clean
|