linux/tools/crypto/ccp/Makefile
Mario Limonciello febe3ed322 crypto: ccp - Add a sample library for ioctl use
Add a small shared library that demonstrates the usage of the
IOCTL interface.  This library can be linked to but, is
intended to be loaded and used by higher level languages

Acked-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2023-07-20 22:14:41 +12:00

14 lines
263 B
Makefile

# SPDX-License-Identifier: GPL-2.0-only
CFLAGS += -D__EXPORTED_HEADERS__ -I../../../include/uapi -I../../../include
TARGET = dbc_library.so
all: $(TARGET)
dbc_library.so: dbc.c
$(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $<
chmod -x $@
clean:
$(RM) $(TARGET)