Initial s390-tools-2.0.0 import

This commit is based on the s390-tools-1.39.0 version.

Changes on top of s390-tools-1.39.0:

 - Add MIT license to all source files
 - Add LICENSE file
 - Transform REAMDE to README.md (markdown)
 - Add AUTHORS.md file
 - Add CONTRIBUTING.md file
 - Move changelog from README to CHANGELOG.md file

Reviewed-by: Stefan Haberland <sth@linux.vnet.ibm.com>
Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
This commit is contained in:
Michael Holzheu
2017-08-07 16:13:17 +02:00
commit b627b8d8e1
647 changed files with 168974 additions and 0 deletions

45
systemd/Makefile Normal file
View File

@@ -0,0 +1,45 @@
include ../common.mak
SYSTEM_UNITS = ttyrun-getty@.service iucvtty-login@.service \
cpacfstatsd.service cpuplugd.service \
dumpconf.service cpi.service \
mon_fsstatd.service mon_procd.service
all:
system_units: $(SYSTEM_UNITS)
check:
ifneq (${SYSTEMDSYSTEMUNITDIR},)
install: system_units
for unit in $(SYSTEM_UNITS); do \
$(INSTALL) -g $(GROUP) -o $(OWNER) \
-m 644 $$unit $(DESTDIR)$(SYSTEMDSYSTEMUNITDIR) ; \
done
# For systemd install dumpconf to TOOLS_LIBDIR
$(INSTALL) -m 755 ../etc/init.d/dumpconf $(DESTDIR)$(TOOLS_LIBDIR)
else
install:
endif
clean:
rm -f $(SYSTEM_UNITS)
%: %.in
real_bin_dir=$(BINDIR); \
real_usrbin_dir=$(USRBINDIR); \
real_usrsbin_dir=$(USRSBINDIR); \
real_toolslib_dir=$(TOOLS_LIBDIR); \
$(SED) -e "s#@bin_path@#$$real_bin_dir#g" \
-e "s#@usrbin_path@#$$real_usrbin_dir#g" \
-e "s#@usrsbin_path@#$$real_usrsbin_dir#g" \
-e "s#@toolslib_path@#$$real_toolslib_dir#g" \
-e 's#@S390_TOOLS_RELEASE@#$(S390_TOOLS_RELEASE)#g' \
< $< > $@
.PHONY: all check install clean system_units