mirror of
https://github.com/cuberite/libdeflate.git
synced 2025-08-03 17:56:17 -04:00

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>
11 lines
223 B
PkgConfig
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}
|