2014-02-13 16:04:35 +00:00
|
|
|
SHELL = /bin/sh
|
|
|
|
CC = gcc
|
|
|
|
|
|
|
|
INSTALL = /usr/bin/install
|
|
|
|
|
2017-08-18 12:48:43 +00:00
|
|
|
ARCH = $(shell uname -m)
|
2017-06-09 05:16:33 +00:00
|
|
|
|
2014-02-13 16:04:35 +00:00
|
|
|
PREFIX ?= /usr/local
|
2014-07-15 17:45:29 +00:00
|
|
|
LIBDIR ?= lib
|
2016-01-13 02:12:59 +00:00
|
|
|
LIBEXEC ?= libexec
|
2014-03-10 14:24:40 +00:00
|
|
|
BINDIR = $(DESTDIR)$(PREFIX)/bin
|
2014-02-13 16:04:35 +00:00
|
|
|
SBINDIR = $(DESTDIR)$(PREFIX)/sbin
|
2014-07-28 21:05:31 +00:00
|
|
|
MODULESDIR = $(DESTDIR)$(PREFIX)/$(LIBDIR)/kpatch
|
2016-01-13 02:12:59 +00:00
|
|
|
LIBEXECDIR = $(DESTDIR)$(PREFIX)/$(LIBEXEC)/kpatch
|
2014-02-13 16:04:35 +00:00
|
|
|
DATADIR = $(DESTDIR)$(PREFIX)/share/kpatch
|
2014-03-25 07:36:20 +00:00
|
|
|
MANDIR = $(DESTDIR)$(PREFIX)/share/man/man1
|
2015-04-29 14:43:50 +00:00
|
|
|
SYSTEMDDIR = $(DESTDIR)$(PREFIX)/lib/systemd/system
|
2018-03-27 14:09:44 +00:00
|
|
|
UPSTARTDIR = $(DESTDIR)/etc/init
|
2017-06-09 05:16:33 +00:00
|
|
|
|
2014-02-13 16:04:35 +00:00
|
|
|
.PHONY: all install clean
|
|
|
|
.DEFAULT: all
|