mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
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>
24 lines
537 B
Makefile
24 lines
537 B
Makefile
include ../common.mak
|
|
|
|
all: cpuplugd
|
|
|
|
LDLIBS += -lm
|
|
|
|
OBJECTS = daemon.o cpu.o info.o terms.o config.o main.o getopt.o mem.o
|
|
|
|
cpuplugd: $(OBJECTS)
|
|
$(LINK) $(ALL_LDFLAGS) $^ $(LOADLIBES) $(LDLIBS) -o $@
|
|
|
|
clean:
|
|
rm -f cpuplugd $(OBJECTS)
|
|
|
|
install: all
|
|
$(INSTALL) -g $(GROUP) -o $(OWNER) -m 755 cpuplugd \
|
|
$(DESTDIR)$(USRSBINDIR)
|
|
$(INSTALL) -g $(GROUP) -o $(OWNER) -m 644 man/cpuplugd.8 \
|
|
$(DESTDIR)$(MANDIR)/man8
|
|
$(INSTALL) -g $(GROUP) -o $(OWNER) -m 644 man/cpuplugd.conf.5 \
|
|
$(DESTDIR)$(MANDIR)/man5
|
|
|
|
.PHONY: all install clean
|