lib: minor cleanups on bookmark parser
[barry.git] / opensync-plugin / src / Makefile.am
blobd395b1d9cee02689b447ca417f002347362aebb6
1 barry_syncdir=@OPENSYNC_PLUGINDIR@
2 configdir=@OPENSYNC_CONFIGDIR@
3 #formatsdir=@OPENSYNC_FORMATSDIR@
4 opensyncheaderdir=@OPENSYNC_HEADERDIR@
6 INCLUDES = @TREE_BUILD_CXXFLAGS@ @PACKAGE_CFLAGS@ @BARRY_CFLAGS@
7 LIBS = @TREE_BUILD_LDFLAGS@
9 AM_CFLAGS = -Wall -Werror
10 AM_CXXFLAGS = -Wall -Werror
11 AM_LDFLAGS =
12 if WITH_GCCVISIBILITY
13 AM_CFLAGS += -D__BARRY_HAVE_GCCVISIBILITY__ -fvisibility=hidden
14 #AM_CXXFLAGS += -D__BARRY_HAVE_GCCVISIBILITY__ -fvisibility=hidden -fvisibility-inlines-hidden
15 AM_CXXFLAGS += -D__BARRY_HAVE_GCCVISIBILITY__ -fvisibility=hidden
16 #AM_LDFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden
17 AM_LDFLAGS += -fvisibility=hidden
18 endif
20 EXTRA_DIST = barry_sync.h
22 dist_config_DATA = barry-sync
24 opensyncheader_HEADER = barry_sync.h
26 barry_sync_LTLIBRARIES = barry_sync.la
28 barry_sync_la_SOURCES = \
29         barry_sync.cc barry_sync.h \
30         environment.cc environment.h \
31         vevent.cc vevent.h \
32         vcard.cc vcard.h \
33         idmap.cc idmap.h \
34         trace.h
36 barry_sync_la_LDFLAGS = -avoid-version -export-dynamic -module
37 barry_sync_la_LIBADD = @PACKAGE_LIBS@ @LIBS@ @BARRY_LIBS@
39 ## if you plan to install format libraries: ##
40 #formats_LTLIBRARIES = format.la
42 #format_la_SOURCES = format.c
43 #format_la_LDFLAGS = -avoid-version -export-dynamic -module
44 #format_la_LIBADD = @PACKAGE_LIBS@ @LIBS@