makedepend parses C sources to make dependency lists for Makefiles. This release includes code cleanups and other changes, including removing the build time dependency on the xorgproto package. Since this release was generated using the new GNU autoconf 2.72, this also adds a --enable-year2038 configure flag which may allow it to work with files whose timestamps are later than January 19, 2038 on 32-bit platforms, but this has not been tested. Alan Coopersmith (16): Reformat code into X.Org standard coding style Remove register keyword from variable declarations Variable scope reduction as suggested by cppcheck Store predefined -D values in const char fields find_includes: rename variables to avoid shadowing global quoteColons: Remove redundant initialization of tmp Use reallocarray() on systems that provide it Handle some implicit conversion warnings from clang Stop casting _parse_data pointers through (char *) and back cppsetup: use C99 struct initialization Make malloc error checking/reporting more consistent Cache filename after realpath() processing Call strrchr() instead of hand coding a custom version Make more things static that aren't needed in more than one file configure: raise minimum autoconf requirement to 2.70 makedepend 1.0.9 Fabian Vogt (1): Avoid depending on xproto Petre Rodan (1): ifparser.c: divide-by-zero fix git tag: makedepend-1.0.9 https://xorg.freedesktop.org/archive/individual/util/makedepend-1.0.9.tar.gz SHA256: bc94ffda6cd4671603a69c39dbe8f96b317707b9185b2aaa3b54b5d134b41884 makedepend-1.0.9.tar.gz SHA512: 20d969ea28e61c776f7ab49f8f4af0ccaad054db43e471d43e1d9affd69c4a0db7e7b0ee63588f5c1b6957dc69a04307378f52d21277d557f0d427765da799bf makedepend-1.0.9.tar.gz PGP: https://xorg.freedesktop.org/archive/individual/util/makedepend-1.0.9.tar.gz.sig https://xorg.freedesktop.org/archive/individual/util/makedepend-1.0.9.tar.xz SHA256: 92d0deb659fff6d8ddbc1d27fc4ca8ceb2b6dbe15d73f0a04edc09f1c5782dd4 makedepend-1.0.9.tar.xz SHA512: 68d289656314dc9f12c792d0e394cfbc95404a0d01155dbcb38313d451b506da48a3d44183f568a2cbb2b1d1da9e26703a0d92f2bb658f72fc968eeb03bf2fe8 makedepend-1.0.9.tar.xz PGP: https://xorg.freedesktop.org/archive/individual/util/makedepend-1.0.9.tar.xz.sig -- -Alan Coopersmith- alan.coopersmith at oracle.com Oracle Solaris Engineering - https://blogs.oracle.com/solaris -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <https://lists.x.org/archives/xorg-announce/attachments/20240204/a3f924f0/attachment-0001.sig>
On 2/4/24 15:11, Alan Coopersmith wrote:> makedepend parses C sources to make dependency lists for Makefiles.I should also have noted that makedepend 1.0.9 does *not* include support for new C23 preprocessor directives such as #elifdef, #elifndef, #embed, and __has_include. If you use makedepend with a code base that is going to adopt these features, your choices are: 1) Switch from make to a build system such as meson that does not need these directives for dependency tracking. 2) Switch from makedepend to a solution based on your compiler, since it will already match the C standard version that you use. For instance, gcc's -M family of flags. 3) Contribute the missing support to makedepend via a merge request at https://gitlab.freedesktop.org/xorg/util/makedepend/-/merge_requests -- -Alan Coopersmith- alan.coopersmith at oracle.com Oracle Solaris Engineering - https://blogs.oracle.com/solaris