summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2020-02-06 18:07:56 +0100
committerJens Axboe <axboe@kernel.dk>2020-02-06 12:11:08 -0700
commitb57dbc2d308a849bdd532c4b7348bbbfdbf381f4 (patch)
tree6320c486f0ae7851293a5d361e501386c6cad090 /Makefile
parentad428769bc85b2d02fac6e385baa58d2afe6effe (diff)
downloadliburing-b57dbc2d308a849bdd532c4b7348bbbfdbf381f4.tar.gz
liburing-b57dbc2d308a849bdd532c4b7348bbbfdbf381f4.tar.bz2
configure/Makefile: introduce libdevdir defaults to $(libdir)
This makes it possible to install runtime libraries to /lib/* and developement libraries to /usr/lib/* Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 89b3f1d..3b582f1 100644
--- a/Makefile
+++ b/Makefile
@@ -13,6 +13,9 @@ all:
@$(MAKE) -C test
@$(MAKE) -C examples
+partcheck: all
+ @echo "make partcheck => TODO add tests with out kernel support"
+
runtests: all
@$(MAKE) -C test runtests
runtests-loop:
@@ -40,8 +43,8 @@ endif
$< >$@
install: $(NAME).pc
- @$(MAKE) -C src install prefix=$(DESTDIR)$(prefix) includedir=$(DESTDIR)$(includedir) libdir=$(DESTDIR)$(libdir)
- $(INSTALL) -D -m 644 $(NAME).pc $(DESTDIR)$(libdir)/pkgconfig/$(NAME).pc
+ @$(MAKE) -C src install prefix=$(DESTDIR)$(prefix) includedir=$(DESTDIR)$(includedir) libdir=$(DESTDIR)$(libdir) libdevdir=$(DESTDIR)$(libdevdir)
+ $(INSTALL) -D -m 644 $(NAME).pc $(DESTDIR)$(libdevdir)/pkgconfig/$(NAME).pc
$(INSTALL) -m 755 -d $(DESTDIR)$(mandir)/man2
$(INSTALL) -m 644 man/*.2 $(DESTDIR)$(mandir)/man2