File: Makefile.am

package info (click to toggle)
libbase58 0.1.4-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 180 kB
  • sloc: ansic: 288; makefile: 58; sh: 32
file content (42 lines) | stat: -rw-r--r-- 1,160 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Copyright 2014 Luke Dashjr
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the standard MIT license.  See COPYING for more details.

lib_LTLIBRARIES = libbase58.la
libbase58_la_SOURCES = base58.c
libbase58_la_LDFLAGS = -version-info $(LIBBASE58_SO_VERSION) -no-undefined

libbase58_includedir = $(includedir)
libbase58_include_HEADERS = libbase58.h

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libbase58.pc

dist_noinst_SCRIPTS = autogen.sh
dist_doc_DATA = AUTHORS COPYING README

if USE_TOOL
bin_PROGRAMS = base58
base58_SOURCES = clitool.c
base58_CFLAGS = $(LIBGCRYPT_CFLAGS)
base58_LDADD = libbase58.la $(LIBGCRYPT_LIBS)

TESTS = \
	tests/decode.sh \
	tests/decode-b58c.sh \
	tests/decode-b58c-fail.sh \
	tests/decode-b58c-null.sh \
	tests/decode-b58c-toolong.sh \
	tests/decode-b58c-tooshort.sh \
	tests/decode-small.sh \
	tests/decode-zero.sh \
	tests/encode.sh \
	tests/encode-b58c.sh \
	tests/encode-fail.sh \
	tests/encode-small.sh
SH_LOG_COMPILER = /bin/sh
AM_TESTS_ENVIRONMENT = PATH='$(srcdir)':"$$PATH"; export PATH;
TESTS_ENVIRONMENT = $(AM_TESTS_ENVIRONMENT)
endif
TEST_EXTENSIONS = .sh