Makefile.am 762 Bytes
Newer Older
Mathis Rosenhauer's avatar
Mathis Rosenhauer committed
1
AM_CFLAGS = $(CFLAG_VISIBILITY)
2
AM_CPPFLAGS = -DBUILDING_LIBAEC
Mathis Rosenhauer's avatar
Mathis Rosenhauer committed
3
lib_LTLIBRARIES = libaec.la libsz.la
4 5
libaec_la_SOURCES = encode.c encode_accessors.c decode.c \
encode.h encode_accessors.h decode.h
Mathis Rosenhauer's avatar
Mathis Rosenhauer committed
6
libaec_la_LDFLAGS = -version-info 0:9:0 -no-undefined
7 8

libsz_la_SOURCES = sz_compat.c
9
libsz_la_LIBADD = libaec.la
10
libsz_la_LDFLAGS = -version-info 2:1:0 -no-undefined
11

12
include_HEADERS = libaec.h szlib.h
13

Mathis Rosenhauer's avatar
Mathis Rosenhauer committed
14
bin_PROGRAMS = aec
15 16
noinst_PROGRAMS = utime
utime_SOURCES = utime.c
17
aec_LDADD = libaec.la
18
aec_SOURCES = aec.c
19
dist_man_MANS = aec.1
20

21 22 23 24 25 26 27 28
EXTRA_DIST = CMakeLists.txt benc.sh bdec.sh
CLEANFILES = bench.dat bench.rz

bench-local: all benc bdec
benc-local: all
	$(srcdir)/benc.sh $(top_srcdir)/data/typical.rz
bdec-local: all
	top_srcdir=$(top_srcdir) $(srcdir)/bdec.sh