Files
wolfssl/IDE/include.am
T
Tobias Frauenschläger 29506d2cac build: distribute IDE project trees per-directory to fix "make dist"
The non-recursive automake "distdir" recipe inlines the entire $(DISTFILES)
list into a single shell command. Enumerating every IDE integration file
individually made that list large enough (~123 KB) that the recipe exceeded
the Linux MAX_ARG_STRLEN (128 KB) single-argument exec limit, so "make dist"
failed with:

    /bin/bash: Argument list too long
    make[2]: *** [distdir-am] Error 127

Replace the per-file EXTRA_DIST enumeration of the IDE directories with one
wholesale "EXTRA_DIST += IDE/<dir>" entry per directory (automake copies the
tree recursively). This collapses ~745 file entries into ~52 directory
entries and shrinks the top-level DISTFILES from ~123 KB to ~97 KB, well
under the limit.

The set of distributed IDE files is unchanged: a before/after "make dist"
diff shows no project file added or removed (only the now-unused include.am
build fragments are gone). Three directories that intentionally omit some
tracked files (apple-universal, MPLABX16, Renesas - private IDE configs,
.gitkeep placeholders, helper scripts) stay enumerated file-by-file.
2026-07-20 17:22:10 +02:00

90 lines
3.0 KiB
Plaintext

# vim:ft=automake
# included from Top Level Makefile.am
# All paths should be given relative to the root
#
# IDE integration project trees are distributed one directory at a time
# (a single EXTRA_DIST entry per directory, which automake copies
# recursively) rather than by enumerating every file. Enumerating them
# made the top-level DISTFILES large enough that automake's non-recursive
# "distdir" recipe - which inlines the whole file list into a single shell
# argument - exceeded the Linux MAX_ARG_STRLEN (128 KB) exec limit, so
# "make dist" failed with "Argument list too long".
EXTRA_DIST+= IDE/Android
EXTRA_DIST+= IDE/ARDUINO
EXTRA_DIST+= IDE/AURIX
EXTRA_DIST+= IDE/CRYPTOCELL
EXTRA_DIST+= IDE/CSBENCH
EXTRA_DIST+= IDE/ECLIPSE
EXTRA_DIST+= IDE/Espressif
EXTRA_DIST+= IDE/Gaisler-BCC
EXTRA_DIST+= IDE/GCC-ARM
EXTRA_DIST+= IDE/HEXAGON
EXTRA_DIST+= IDE/HEXIWEAR
EXTRA_DIST+= IDE/IAR-EWARM
EXTRA_DIST+= IDE/IAR-MSP430
EXTRA_DIST+= IDE/Infineon
EXTRA_DIST+= IDE/INTIME-RTOS
EXTRA_DIST+= IDE/iotsafe
EXTRA_DIST+= IDE/KDS
EXTRA_DIST+= IDE/LINUX-SGX
EXTRA_DIST+= IDE/LPCXPRESSO
EXTRA_DIST+= IDE/M68K
EXTRA_DIST+= IDE/MCUEXPRESSO
EXTRA_DIST+= IDE/MDK-ARM
EXTRA_DIST+= IDE/MDK5-ARM
EXTRA_DIST+= IDE/MQX
EXTRA_DIST+= IDE/MSVS-2019-AZSPHERE
EXTRA_DIST+= IDE/mynewt
EXTRA_DIST+= IDE/MYSQL
EXTRA_DIST+= IDE/NETOS
EXTRA_DIST+= IDE/PlatformIO
EXTRA_DIST+= IDE/QNX
EXTRA_DIST+= IDE/RISCV
EXTRA_DIST+= IDE/ROWLEY-CROSSWORKS-ARM
EXTRA_DIST+= IDE/SimplicityStudio
EXTRA_DIST+= IDE/STARCORE
EXTRA_DIST+= IDE/STM32Cube
EXTRA_DIST+= IDE/TRUESTUDIO
EXTRA_DIST+= IDE/VisualDSP
EXTRA_DIST+= IDE/VS-ARM
EXTRA_DIST+= IDE/VS-AZURE-SPHERE
EXTRA_DIST+= IDE/WICED-STUDIO
EXTRA_DIST+= IDE/WIN
EXTRA_DIST+= IDE/WIN-SGX
EXTRA_DIST+= IDE/WIN-SRTP-KDF-140-3
EXTRA_DIST+= IDE/WIN10
EXTRA_DIST+= IDE/WINCE
EXTRA_DIST+= IDE/WORKBENCH
EXTRA_DIST+= IDE/XCODE
EXTRA_DIST+= IDE/XCODE-FIPSv2
EXTRA_DIST+= IDE/XCODE-FIPSv5
EXTRA_DIST+= IDE/XCODE-FIPSv6
EXTRA_DIST+= IDE/XilinxSDK
EXTRA_DIST+= IDE/zephyr
# These IDE directories intentionally omit some tracked files (private
# IDE configs, .gitkeep placeholders, helper scripts), so they stay
# enumerated file-by-file rather than shipped wholesale.
include IDE/apple-universal/include.am
include IDE/MPLABX16/include.am
include IDE/MPLABX16/wolfcrypt_test.X/nbproject/include.am
include IDE/MPLABX16/wolfssl.X/nbproject/include.am
include IDE/Renesas/cs+/Projects/include.am
include IDE/Renesas/e2studio/DK-S7G2/include.am
include IDE/Renesas/e2studio/Projects/include.am
include IDE/Renesas/e2studio/RA6M3/include.am
include IDE/Renesas/e2studio/RA6M4/include.am
include IDE/Renesas/e2studio/RX65N/GR-ROSE/include.am
include IDE/Renesas/e2studio/RX65N/RSK/include.am
include IDE/Renesas/e2studio/RX72N/EnvisionKit/include.am
include IDE/Renesas/e2studio/RZN2L/include.am
include IDE/Renesas/e2studio/SK-S7G2/include.am
# Single-file IDE entry (only the README is distributed).
EXTRA_DIST+= IDE/OPENSTM32/README.md
# Build-output directory produced by the iotsafe project, cleaned by
# distclean (was declared in the removed IDE/iotsafe/include.am).
DISTCLEANFILES+= IDE/iotsafe/build