aboutsummaryrefslogtreecommitdiff
path: root/odb/Makefile.am
blob: 9922a37a2f3b40fb3c721de00fefc4bcbaa26ae9 (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
# file      : odb/Makefile.am
# author    : Boris Kolpackov <boris@codesynthesis.com>
# copyright : Copyright (c) 2009-2010 Code Synthesis Tools CC
# license   : GNU GPL v2; see accompanying LICENSE file

lib_LTLIBRARIES = libodb.la
libodb_la_SOURCES = __path__(sources)

odbincludedir = $(includedir)/odb
nobase_odbinclude_HEADERS = __path__(headers)
nobase_nodist_odbinclude_HEADERS = details/config.h

EXTRA_DIST = __file__(extra_dist)

if ODB_THREADS_POSIX
libodb_la_SOURCES += __path__(posix_sources)
nobase_odbinclude_HEADERS += __path__(posix_headers)
endif

if ODB_THREADS_WIN32
libodb_la_SOURCES += __path__(win32_sources) __path__(win32_dll_sources)
nobase_odbinclude_HEADERS += __path__(win32_headers)
endif

libodb_la_CPPFLAGS= -I'$(top_builddir)' -I'$(top_srcdir)' -DLIBODB_DYNAMIC_LIB
libodb_la_LDFLAGS = -release __value__(interface_version) -no-undefined