aboutsummaryrefslogtreecommitdiff
path: root/src/common/Makefile.am
blob: 4ffd5bd6aa651ad2c4814737bb7cc9643960dd1a (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
30
INCLUDES = -I$(top_srcdir)/src/include $(LTDLINCL)

LIBS = \
 @LTLIBINTL@ @LIBS@

lib_LTLIBRARIES = \
  libextractor_common.la

if !MINGW
  exportflag=-export-symbols-regex "EXTRACTOR_.*"
if !SOMEBSD
    dlflag=-ldl
endif
else
  winexportflag=-export-dynamic
endif

libextractor_common_la_LDFLAGS = \
  $(exportflag) $(winexportflag) -version-info @LIB_VERSION_CURRENT@:@LIB_VERSION_REVISION@:@LIB_VERSION_AGE@ $(LIBICONV)

libextractor_common_la_LIBADD = \
  $(LIBLTDL) $(dlflag)

libextractor_common_la_SOURCES = \
  pack.c \
  pack.h \
  convert.c \
  convert.h \
  convert_numeric.c \
  convert_numeric.h