Commit 5e602354 authored by Federico Vaga's avatar Federico Vaga

bld: add install target for headers

I've created this in a lib/ directory because these headers will be used
by other libraries or tools. If any zio library would ever exist, that
thsis will make even more sense.
Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 945862d7
......@@ -6,6 +6,7 @@
-include $(REPO_PARENT)/parent_common.mk
C_DIRS = drivers/zio \
lib \
tools
DIRS = $(C_DIRS) \
......
# SPDX-FileCopyrightText: 2023 CERN (home.cern)
#
# SPDX-License-Identifier: CC0-1.0
CPPCHECK ?= cppcheck
FLAWFINDER ?= flawfinder
all:
DESTDIR ?=
prefix ?= /usr/local
includedir ?= $(prefix)/include
deploy install:
mkdir -m 0775 -p $(DESTDIR)$(includedir)/zio
install -D -t $(DESTDIR)$(includedir)/zio -m 0644 ../include/linux/zio.h
install -D -t $(DESTDIR)$(includedir)/zio -m 0644 ../include/linux/zio-user.h
modules_install:
cppcheck:
flawfinder:
.PHONY: all clean install cppcheck flawfinder
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment