diff options
author | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-05-02 18:10:17 +0000 |
---|---|---|
committer | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-05-02 18:10:17 +0000 |
commit | 1ae823d534d368029a57e8a9b2cf98bb16190d28 (patch) | |
tree | c9f8739cceb1936548cfb64f8e697d376620bdb8 /libvtv | |
parent | 64cd30694b36eb1f6f723f6b1cf7fb6047163a9c (diff) | |
download | gcc-1ae823d534d368029a57e8a9b2cf98bb16190d28.tar.gz |
Don't install libvtv without --enable-vtable-verify
* Makefile.am (toolexeclib_LTLIBRARIES): Only set if
ENABLE_VTABLE_VERIFY.
Simplify.
* Makefile.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@235772 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libvtv')
-rw-r--r-- | libvtv/ChangeLog | 7 | ||||
-rw-r--r-- | libvtv/Makefile.am | 7 | ||||
-rw-r--r-- | libvtv/Makefile.in | 17 |
3 files changed, 21 insertions, 10 deletions
diff --git a/libvtv/ChangeLog b/libvtv/ChangeLog index c6c75d39b03..4c9dda4a0a8 100644 --- a/libvtv/ChangeLog +++ b/libvtv/ChangeLog @@ -1,3 +1,10 @@ +2016-05-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + * Makefile.am (toolexeclib_LTLIBRARIES): Only set if + ENABLE_VTABLE_VERIFY. + Simplify. + * Makefile.in: Regenerate. + 2015-12-02 Matthias Klose <doko@ubuntu.com> * configure.ac: Move AM_ENABLE_MULTILIB before diff --git a/libvtv/Makefile.am b/libvtv/Makefile.am index edfd5ae13d7..8c47d1afade 100644 --- a/libvtv/Makefile.am +++ b/libvtv/Makefile.am @@ -38,10 +38,11 @@ AM_CXXFLAGS = $(XCFLAGS) AM_CXXFLAGS += $(LIBSTDCXX_RAW_CXX_CXXFLAGS) AM_CXXFLAGS += -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end -if VTV_CYGMIN - toolexeclib_LTLIBRARIES = libvtv.la libvtv_stubs.la -else +if ENABLE_VTABLE_VERIFY toolexeclib_LTLIBRARIES = libvtv.la +if VTV_CYGMIN + toolexeclib_LTLIBRARIES += libvtv_stubs.la +endif endif vtv_headers = \ diff --git a/libvtv/Makefile.in b/libvtv/Makefile.in index 4c8c3fb078e..05539277d92 100644 --- a/libvtv/Makefile.in +++ b/libvtv/Makefile.in @@ -53,7 +53,8 @@ POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ -@ENABLE_VTABLE_VERIFY_TRUE@@VTV_NO_OBSTACK_TRUE@am__append_1 = obstack.c +@ENABLE_VTABLE_VERIFY_TRUE@@VTV_CYGMIN_TRUE@am__append_1 = libvtv_stubs.la +@ENABLE_VTABLE_VERIFY_TRUE@@VTV_NO_OBSTACK_TRUE@am__append_2 = obstack.c subdir = . DIST_COMMON = ChangeLog $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ $(top_srcdir)/configure $(am__configure_deps) \ @@ -119,8 +120,8 @@ libvtv_la_OBJECTS = $(am_libvtv_la_OBJECTS) libvtv_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ $(CXXFLAGS) $(libvtv_la_LDFLAGS) $(LDFLAGS) -o $@ -@VTV_CYGMIN_FALSE@am_libvtv_la_rpath = -rpath $(toolexeclibdir) -@VTV_CYGMIN_TRUE@am_libvtv_la_rpath = -rpath $(toolexeclibdir) +@ENABLE_VTABLE_VERIFY_TRUE@am_libvtv_la_rpath = -rpath \ +@ENABLE_VTABLE_VERIFY_TRUE@ $(toolexeclibdir) libvtv_stubs_la_LIBADD = am__objects_3 = vtv_start.lo vtv_stubs.lo vtv_end.lo @ENABLE_VTABLE_VERIFY_TRUE@@VTV_CYGMIN_TRUE@am_libvtv_stubs_la_OBJECTS = \ @@ -129,7 +130,9 @@ libvtv_stubs_la_OBJECTS = $(am_libvtv_stubs_la_OBJECTS) libvtv_stubs_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ $(CXXFLAGS) $(libvtv_stubs_la_LDFLAGS) $(LDFLAGS) -o $@ -@VTV_CYGMIN_TRUE@am_libvtv_stubs_la_rpath = -rpath $(toolexeclibdir) +@ENABLE_VTABLE_VERIFY_TRUE@@VTV_CYGMIN_TRUE@am_libvtv_stubs_la_rpath = \ +@ENABLE_VTABLE_VERIFY_TRUE@@VTV_CYGMIN_TRUE@ -rpath \ +@ENABLE_VTABLE_VERIFY_TRUE@@VTV_CYGMIN_TRUE@ $(toolexeclibdir) DEFAULT_INCLUDES = -I.@am__isrc@ depcomp = $(SHELL) $(top_srcdir)/../depcomp am__depfiles_maybe = depfiles @@ -323,8 +326,8 @@ AM_CFLAGS = $(XCFLAGS) AM_CCASFLAGS = $(XCFLAGS) AM_CXXFLAGS = $(XCFLAGS) $(LIBSTDCXX_RAW_CXX_CXXFLAGS) \ -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end -@VTV_CYGMIN_FALSE@toolexeclib_LTLIBRARIES = libvtv.la -@VTV_CYGMIN_TRUE@toolexeclib_LTLIBRARIES = libvtv.la libvtv_stubs.la +@ENABLE_VTABLE_VERIFY_TRUE@toolexeclib_LTLIBRARIES = libvtv.la \ +@ENABLE_VTABLE_VERIFY_TRUE@ $(am__append_1) vtv_headers = \ vtv_map.h \ vtv_malloc.h \ @@ -354,7 +357,7 @@ BUILT_SOURCES = vtv_start.c vtv_end.c @VTV_CYGMIN_TRUE@libvtv_stubs_la_LDFLAGS = $(lt_host_flags) @ENABLE_VTABLE_VERIFY_FALSE@libvtv_la_SOURCES = @ENABLE_VTABLE_VERIFY_TRUE@libvtv_la_SOURCES = $(vtv_sources) \ -@ENABLE_VTABLE_VERIFY_TRUE@ $(am__append_1) +@ENABLE_VTABLE_VERIFY_TRUE@ $(am__append_2) @ENABLE_VTABLE_VERIFY_TRUE@@VTV_CYGMIN_TRUE@libvtv_stubs_la_SOURCES = $(vtv_stubs_sources) @ENABLE_VTABLE_VERIFY_FALSE@libvtv_include_HEADERS = @ENABLE_VTABLE_VERIFY_TRUE@libvtv_include_HEADERS = $(vtv_headers) |