pkg-config and add gitignore.
This commit is contained in:
@@ -7,6 +7,8 @@ CLOC_PSOURCES = emsha.cc sha256.cc hmac.cc internal.hh \
|
||||
emsha/emsha.hh emsha/hmac.hh emsha/sha256.hh
|
||||
CLOC_TSOURCES = test_emsha.cc test_hmac.cc test_mem.cc test_sha256.cc \
|
||||
test_utils.cc test_utils.hh
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = libemsha-1.pc
|
||||
|
||||
lib_LTLIBRARIES = libemsha.la
|
||||
nobase_include_HEADERS = emsha/sha256.hh emsha/hmac.hh emsha/emsha.hh
|
||||
|
||||
10
src/libemsha-1.pc.in
Normal file
10
src/libemsha-1.pc.in
Normal file
@@ -0,0 +1,10 @@
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: @PACKAGE_NAME@
|
||||
Description: C++11 HMAC-SHA256 library
|
||||
URL: @PACKAGE_URL@
|
||||
Version: @PACKAGE_VERSION@
|
||||
Libs: -L${libdir} -Wl,-rpath,${libdir} -lemsha
|
||||
Reference in New Issue
Block a user