diff options
author | Christian Persch <chpe@gnome.org> | 2011-12-11 21:28:25 +0100 |
---|---|---|
committer | Christian Persch <chpe@gnome.org> | 2011-12-11 21:28:25 +0100 |
commit | fb4164470b49e80f5419ec8188b64d23221ea222 (patch) | |
tree | 0cf6a61f872fa7498781292d072711923ca9d6f3 /src | |
parent | 27108d9d98ec7af7926a6fcd9346f38925ce10fe (diff) | |
download | libcroco-fb4164470b49e80f5419ec8188b64d23221ea222.tar.gz |
Use -Bsymbolic-functions when available
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 46 |
1 files changed, 31 insertions, 15 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 4982c01..f187774 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,11 +1,15 @@ +NULL = + +lib_LTLIBRARIES=libcroco-0.6.la + if PLATFORM_WIN32 no_undefined = -no-undefined endif #Headers files to be distributed -INSTALL_DIR_NAME=@PACKAGE@-@LIBCROCO_MAJOR_VERSION@.@LIBCROCO_MINOR_VERSION@ -crocoincdir=$(includedir)/$(INSTALL_DIR_NAME)/libcroco -crocoinc_HEADERS= libcroco.h \ +crocoincdir = $(includedir)/$(PACKAGE)-$(LIBCROCO_MAJOR_VERSION).$(LIBCROCO_MINOR_VERSION)/libcroco +crocoinc_HEADERS = \ +libcroco.h \ cr-additional-sel.h \ cr-attr-sel.h \ cr-cascade.h \ @@ -32,11 +36,10 @@ cr-style.h \ cr-prop-list.h \ cr-parsing-location.h \ cr-string.h \ -libcroco-config.h - +libcroco-config.h \ +$(NULL) -#the files to be compiled -SRCS=\ +libcroco_0_6_la_SOURCES = \ cr-utils.c \ cr-utils.h \ cr-input.c \ @@ -88,13 +91,26 @@ cr-prop-list.h \ cr-parsing-location.c \ cr-parsing-location.h \ cr-string.c \ -cr-string.h +cr-string.h \ +$(NULL) -lib_LTLIBRARIES=libcroco-0.6.la -libcroco_0_6_la_SOURCES= $(SRCS) +libcroco_0_6_la_CPPFLAGS = \ + -I$(top_srcdir) \ + -I$(top_srcdir)/intl \ + -I $(top_builddir)/src \ + $(AM_CPPFLAGS) + +libcroco_0_6_la_CFLAGS = \ + @GLIB2_CFLAGS@ \ + @LIBXML2_CFLAGS@ \ + $(AM_CFLAGS) + +libcroco_0_6_la_LDFLAGS = \ + -version-info @LIBCROCO_VERSION_INFO@ \ + $(no_undefined) \ + $(BSYMBOLIC_LDFLAG) \ + $(AM_LDFLAGS) -INCLUDES=-I$(top_srcdir) -I$(top_srcdir)/intl \ --I $(top_builddir)/src @GLIB2_CFLAGS@ @LIBXML2_CFLAGS@ -libcroco_0_6_la_LDFLAGS=-version-info @LIBCROCO_VERSION_INFO@ \ -@GLIB2_CFLAGS@ @GLIB2_LIBS@ @LIBXML2_LIBS@ $(no_undefined) -libcroco_0_6_la_LIBADD=@GLIB2_LIBS@ @LIBXML2_LIBS@ +libcroco_0_6_la_LIBADD = \ + @GLIB2_LIBS@ \ + @LIBXML2_LIBS@ |