pyocf: move C wrappers to newly added "c" diretory
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
This commit is contained in:
parent
f66eefb3bd
commit
978620f9e3
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright(c) 2019-2021 Intel Corporation
|
||||
# Copyright(c) 2019-2022 Intel Corporation
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
#
|
||||
|
||||
@ -8,13 +8,14 @@ OCFDIR=$(PWD)/../../
|
||||
ADAPTERDIR=$(PWD)/pyocf
|
||||
SRCDIR=$(ADAPTERDIR)/ocf/src
|
||||
INCDIR=$(ADAPTERDIR)/ocf/include
|
||||
WRAPDIR=$(ADAPTERDIR)/wrappers
|
||||
WRAPDIR=$(ADAPTERDIR)/c/wrappers
|
||||
HELPDIR=$(ADAPTERDIR)/c/helpers
|
||||
|
||||
CC=gcc
|
||||
CFLAGS=-g -Wall -I$(INCDIR) -I$(SRCDIR)/ocf/env
|
||||
LDFLAGS=-pthread -lz
|
||||
|
||||
SRC=$(shell find $(SRCDIR) $(WRAPDIR) -name \*.c)
|
||||
SRC=$(shell find $(SRCDIR) $(WRAPDIR) $(HELPDIR) -name \*.c)
|
||||
OBJS=$(patsubst %.c, %.o, $(SRC))
|
||||
OCFLIB=$(ADAPTERDIR)/libocf.so
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user