]> git.proxmox.com Git - mirror_frr.git/blobdiff - Makefile.am
ospf6d: fix processing of inter-area-prefix-LSAs with the LA-bit set
[mirror_frr.git] / Makefile.am
index a38029dcfa537ad2ef3fb7ba60c4007ec582f9f1..44d2ab8e72b80d5533430df61f62ebb726519528 100644 (file)
@@ -29,11 +29,33 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/lib/assert \
        $(CPPFLAGS_BASE) \
        # end
+
+# AM_LDFLAGS is used for executables (daemons).  LDFLAGS can be left alone,
+# but if it is changed it should include $(AM_LDFLAGS)
 AM_LDFLAGS = \
        -export-dynamic \
        $(AC_LDFLAGS) \
+       $(AC_LDFLAGS_EXEC) \
        $(SAN_FLAGS) \
        # end
+
+# libraries need to use libxxx_LDFLAGS = $(LIB_LDFLAGS) -version-info X:Y:Z
+LIB_LDFLAGS = \
+       -export-dynamic \
+       $(AC_LDFLAGS) \
+       $(SAN_FLAGS) \
+       # end
+
+# modules need to use xxx_LDFLAGS = $(MODULE_LDFLAGS)
+MODULE_LDFLAGS = \
+       -export-dynamic \
+       -avoid-version \
+       -module \
+       -shared \
+       $(AC_LDFLAGS) \
+       $(SAN_FLAGS) \
+       # end
+
 DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\" -DCONFDATE=$(CONFDATE)
 
 AR_FLAGS = @AR_FLAGS@
@@ -109,8 +131,6 @@ CLEANFILES =
 DISTCLEANFILES =
 SUFFIXES =
 
-examplesdir = $(exampledir)
-
 bin_PROGRAMS =
 sbin_PROGRAMS =
 sbin_SCRIPTS =
@@ -122,10 +142,8 @@ lib_LTLIBRARIES =
 module_LTLIBRARIES =
 pkginclude_HEADERS =
 nodist_pkginclude_HEADERS =
-dist_examples_DATA =
 dist_yangmodels_DATA =
 man_MANS =
-vtysh_scan =
 vtysh_daemons =
 clippy_scan =
 
@@ -198,8 +216,6 @@ EXTRA_DIST += \
        m4/README.txt \
        m4/libtool-whole-archive.patch \
        config.version \
-       changelog-auto \
-       changelog-auto.in \
        \
        python/clidef.py \
        python/clippy/__init__.py \
@@ -209,12 +225,13 @@ EXTRA_DIST += \
        python/makefile.py \
        python/tiabwarfo.py \
        python/xrelfo.py \
+       python/xref2vtysh.py \
        python/test_xrelfo.py \
        python/runtests.py \
        \
        python/xrefstructs.json \
        \
-       redhat/frr.logrotate \
+       tools/etc/logrotate.d/frr \
        redhat/frr.pam \
        redhat/frr.spec \
        \