summaryrefslogtreecommitdiff
path: root/lib/Makefile.am
blob: 2e98cf76d8e86da460fc9627fe2c66de9465e923 (plain)
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
AUTOMAKE_OPTIONS = 1.6

AM_CPPFLAGS = -I$(top_srcdir)/include

#TODO: Where else do we need this?
if USE_INTERNAL_REGEX
AM_CPPFLAGS += -I$(top_srcdir)/include/internal/regex
endif

AM_CPPFLAGS += -I$(includedir) -DUSE_AUTOTOOLS -DUNIX -Dunix -D__unix__

# Global config directory
globalconfdir := @sysconfdir@

lib_LTLIBRARIES = libsword.la

libsword_la_SOURCES =
if HAVE_ICU
ICUDEF = -DSWICU_DATA=\"${pkglibdir}/${VERSION}_icu_${ICU_VER}\" 
else
ICUDEF =
endif

AM_CPPFLAGS += $(ICUDEF)

libsword_la_LDFLAGS = -release $(VERSION)

include ../src/keys/Makefile.am
include ../src/utilfuns/Makefile.am
include ../src/mgr/Makefile.am
include ../src/frontend/Makefile.am
include ../src/modules/Makefile.am
#include ../bindings/Makefile.am
bindingsdir = $(top_srcdir)/bindings
libsword_la_SOURCES += $(bindingsdir)/flatapi.cpp
include ../include/Makefile.am