libdeflate/libdeflate.pc.in
nick black 0a2b40203d Generate a pkg-config support file #140
We pull the version out of libdeflate.h into the
Makefile, and then sed a few macros out of the new
file libdeflate.pc.in. Set the necessary Cflags
and Libs (CFLAGS and LFLAGS) based off compile-time
definitions. Depend on the Makefile to pick up
version changes. Update uninstall target.

Signed-off-by: nick black <dankamongmen@gmail.com>
2021-11-23 23:28:38 -08:00

11 lines
223 B
PkgConfig

prefix=@PREFIX@
exec_prefix=${prefix}
includedir=@INCDIR@
libdir=@LIBDIR@
Name: libdeflate
Description: Fast implementation of DEFLATE, zlib, and gzip
Version: @VERSION@
Libs: -L${libdir} -ldeflate
Cflags: -I${includedir}