clean generated pkg-config file
@@ -20,22 +20,23 @@ noinst_HEADERS = urcrypt/util.h \
# main library
pkgconfig_DATA = liburcrypt-$(URCRYPT_API_VERSION).pc
+CLEANFILES = $(pkgconfig_DATA)
liburcrypt_la_CPPFLAGS = -I$(srcdir)/ed25519/src \
-I$(srcdir)/ge-additions \
-I$(srcdir)/argon2/include \
-I$(srcdir)/argon2/src/blake2 \
-I$(srcdir)/scrypt
-liburcrypt_la_LIBADD = $(libcrypto_LIBS) \
- $(libsecp256k1_LIBS) \
- $(libaes_siv_LIBS) \
+liburcrypt_la_LIBADD = $(LIBCRYPTO_LIBS) \
+ $(LIBSECP256K1_LIBS) \
+ $(LIBAES_SIV_LIBS) \
libed25519.la \
libge_additions.la \
libargon2.la \
libscrypt.la
-liburcrypt_la_CFLAGS = $(libcrypto_CFLAGS) \
- $(libsecp256k1_CFLAGS) \
- $(libaes_siv_CFLAGS)
+liburcrypt_la_CFLAGS = $(LIBCRYPTO_CFLAGS) \
+ $(LIBSECP256K1_CFLAGS) \
+ $(LIBAES_SIV_CFLAGS)
# urcrypt_ is used for public symbols, urcrypt__ for internal.
liburcrypt_la_LDFLAGS = -export-symbols-regex '^urcrypt_[^_]' \
-version-info $(URCRYPT_LT_VERSION)
