1 barry_syncdir=@OPENSYNC_PLUGINDIR@
2 configdir=@OPENSYNC_CONFIGDIR@
3 #formatsdir=@OPENSYNC_FORMATSDIR@
4 opensyncheaderdir=@OPENSYNC_HEADERDIR@
8 localedir = $(datadir)/locale
9 DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
11 INCLUDES = @TREE_BUILD_CXXFLAGS@ @GLIB2_CFLAGS@ @OPENSYNC2X_CFLAGS@ @BARRY_CFLAGS@ @BARRYSYNC_CFLAGS@
12 LIBS = @TREE_BUILD_LDFLAGS@ @GLIB2_LIBS@ @OPENSYNC2X_LIBS@ @BARRY_LIBS@ @BARRYSYNC_LIBS@
14 AM_CFLAGS = -Wall -Werror
15 AM_CXXFLAGS = -Wall -Werror
18 AM_CFLAGS += -D__BARRY_HAVE_GCCVISIBILITY__ -fvisibility=hidden
19 #AM_CXXFLAGS += -D__BARRY_HAVE_GCCVISIBILITY__ -fvisibility=hidden -fvisibility-inlines-hidden
20 AM_CXXFLAGS += -D__BARRY_HAVE_GCCVISIBILITY__ -fvisibility=hidden
21 #AM_LDFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden
22 AM_LDFLAGS += -fvisibility=hidden
25 EXTRA_DIST = barry_sync.h
27 dist_config_DATA = barry-sync
29 noinst_HEADERS = i18n.h gettext.h
31 opensyncheader_HEADER = barry_sync.h
33 barry_sync_LTLIBRARIES = barry_sync.la
35 barry_sync_la_SOURCES = \
36 barry_sync.cc barry_sync.h \
37 environment.cc environment.h \
43 barry_sync_la_LDFLAGS = -avoid-version -export-dynamic -module
44 barry_sync_la_LIBADD = $(LIBS)
46 ## if you plan to install format libraries: ##
47 #formats_LTLIBRARIES = format.la
49 #format_la_SOURCES = format.c
50 #format_la_LDFLAGS = -avoid-version -export-dynamic -module
51 #format_la_LIBADD = $(LIBS)