aboutsummaryrefslogtreecommitdiff
path: root/src/common/Makefile.am
blob: b5f0b0096d1201ec44760ce6d5282ce41c27301b (plain) (blame)
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
# This Makefile.am is in the public domain
AM_CPPFLAGS = -I$(top_srcdir)/src/include

LIBS = \
 @LE_LIBINTL@ @LIBS@

if USE_COVERAGE
  AM_CFLAGS = --coverage -O0
  XLIB = -lgcov
endif
if HAVE_ZLIB
  zlib = -lz
  LINK_UNZIP = unzip.c unzip.h
endif

lib_LTLIBRARIES = \
  libextractor_common.la

libextractor_common_la_LDFLAGS = \
  $(LE_LIB_LDFLAGS) \
  -version-info 1:0:0

libextractor_common_la_LIBADD = \
  $(LTLIBICONV) $(zlib)

libextractor_common_la_SOURCES = \
  le_architecture.h \
  $(LINK_UNZIP) \
  convert.c convert.h