]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - Makefile.am
whereis: use xstrncpy()
[thirdparty/util-linux.git] / Makefile.am
index e7657afe91c95fcd3536472a706a4db1c72b0b19..51c6499097b58d78ad8fc5e3b3e902206dced5e0 100644 (file)
@@ -4,7 +4,7 @@ AM_CPPFLAGS = \
        -DLOCALEDIR=\"$(localedir)\" \
        -D_PATH_RUNSTATEDIR=\"${runstatedir}\"
 AM_CFLAGS = -fsigned-char $(WARN_CFLAGS)
-AM_LDFLAGS =
+AM_LDFLAGS = $(ASAN_LDFLAGS)
 
 # Add gettext stuff to the global LDADD for systems with separate libintl
 # library. The LTLIBINTL is generated by AM_GNU_GETTEXT macro.
@@ -28,8 +28,6 @@ ul_libfdisk_incdir  = $(top_builddir)/libfdisk/src
 
 ul_libuuid_incdir  = $(top_srcdir)/libuuid/src
 
-pkgconfigdir = $(usrlib_execdir)/pkgconfig
-
 bashcompletiondir = @bashcompletiondir@
 
 dist_noinst_HEADERS =
@@ -187,6 +185,19 @@ checkusage:
        @ $(top_srcdir)/tools/checkusage.sh \
                $(bin_PROGRAMS) $(sbin_PROGRAMS) \
                $(usrbin_exec_PROGRAMS) $(usrsbin_exec_PROGRAMS)
+checklibdoc:
+       @ $(top_srcdir)/tools/checklibdocs.sh \
+               $(top_srcdir)/libmount/src/libmount.sym \
+               $(top_srcdir)/libmount/docs/libmount-sections.txt
+       @ $(top_srcdir)/tools/checklibdocs.sh \
+               $(top_srcdir)/libfdisk/src/libfdisk.sym \
+               $(top_srcdir)/libfdisk/docs/libfdisk-sections.txt
+       @ $(top_srcdir)/tools/checklibdocs.sh \
+               $(top_srcdir)/libsmartcols/src/libsmartcols.sym \
+               $(top_srcdir)/libsmartcols/docs/libsmartcols-sections.txt
+       @ $(top_srcdir)/tools/checklibdocs.sh \
+               $(top_srcdir)/libblkid/src/libblkid.sym \
+               $(top_srcdir)/libblkid/docs/libblkid-sections.txt
 
 DISTCHECK_CONFIGURE_FLAGS = \
        --disable-use-tty-group \
@@ -221,6 +232,8 @@ $(CHANGELOG_FILE):
 checksmatch:
        $(MAKE) CHECK="smatch --data=$(abs_top_srcdir)/tools/smatch-data" CC=cgcc
 
+check-programs: $(check_PROGRAMS)
+
 changelog: $(CHANGELOG_FILE)
 
 install-exec-hook: $(INSTALL_EXEC_HOOKS)