build: generate near-standard + outlier Makefiles from Makefile.in (rename unit)

Third batch of the Makefile.in migration: near-standard modules
(utils windows commands database) and the program/.so outliers
(lef plot router ext2spice ext2sim extcheck net2ir graphics oa).
Pure renames -- content unchanged, so each still builds via the defs.mak
srcdir derivation; the @srcdir@ substitution follows.

* git mv <dir>/Makefile -> <dir>/Makefile.in (13 modules)
* configure.in: AC_CONFIG_FILES for each; regenerated configure.
* .gitignore: ignore each generated <dir>/Makefile, same commit.

These modules carry sibling-object refs (${MAGICDIR}/<mod>/lib*.o) and
custom rules; those keep working unchanged (${MAGICDIR} = the build top,
$(srcdir) from the derivation).  readline/ remains on the -f path.

Verified out-of-tree: config.status writes 35 module Makefiles (22 + 13);
`make modules libs` builds all 33 module libraries (rc=0).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Darryl L. Miles 2026-07-22 17:29:06 +00:00 committed by R. Timothy Edwards
parent 4fd85ee844
commit fe70666b0c
16 changed files with 65 additions and 0 deletions

13
.gitignore vendored
View File

@ -42,6 +42,19 @@ select/Makefile
sim/Makefile
textio/Makefile
wiring/Makefile
utils/Makefile
windows/Makefile
commands/Makefile
database/Makefile
lef/Makefile
plot/Makefile
router/Makefile
ext2spice/Makefile
ext2sim/Makefile
extcheck/Makefile
net2ir/Makefile
graphics/Makefile
oa/Makefile
# Compiled objects / libraries
*.o

39
scripts/configure vendored
View File

@ -9443,6 +9443,32 @@ ac_config_files="$ac_config_files textio/Makefile:textio/Makefile.in"
ac_config_files="$ac_config_files wiring/Makefile:wiring/Makefile.in"
ac_config_files="$ac_config_files utils/Makefile:utils/Makefile.in"
ac_config_files="$ac_config_files windows/Makefile:windows/Makefile.in"
ac_config_files="$ac_config_files commands/Makefile:commands/Makefile.in"
ac_config_files="$ac_config_files database/Makefile:database/Makefile.in"
ac_config_files="$ac_config_files lef/Makefile:lef/Makefile.in"
ac_config_files="$ac_config_files plot/Makefile:plot/Makefile.in"
ac_config_files="$ac_config_files router/Makefile:router/Makefile.in"
ac_config_files="$ac_config_files ext2spice/Makefile:ext2spice/Makefile.in"
ac_config_files="$ac_config_files ext2sim/Makefile:ext2sim/Makefile.in"
ac_config_files="$ac_config_files extcheck/Makefile:extcheck/Makefile.in"
ac_config_files="$ac_config_files net2ir/Makefile:net2ir/Makefile.in"
ac_config_files="$ac_config_files graphics/Makefile:graphics/Makefile.in"
ac_config_files="$ac_config_files oa/Makefile:oa/Makefile.in"
if test "`cd $srcdir && pwd`" = "`pwd`" ; then
magic_config_header=magic/autoconf/config.h
@ -10194,6 +10220,19 @@ do
"sim/Makefile") CONFIG_FILES="$CONFIG_FILES sim/Makefile:sim/Makefile.in" ;;
"textio/Makefile") CONFIG_FILES="$CONFIG_FILES textio/Makefile:textio/Makefile.in" ;;
"wiring/Makefile") CONFIG_FILES="$CONFIG_FILES wiring/Makefile:wiring/Makefile.in" ;;
"utils/Makefile") CONFIG_FILES="$CONFIG_FILES utils/Makefile:utils/Makefile.in" ;;
"windows/Makefile") CONFIG_FILES="$CONFIG_FILES windows/Makefile:windows/Makefile.in" ;;
"commands/Makefile") CONFIG_FILES="$CONFIG_FILES commands/Makefile:commands/Makefile.in" ;;
"database/Makefile") CONFIG_FILES="$CONFIG_FILES database/Makefile:database/Makefile.in" ;;
"lef/Makefile") CONFIG_FILES="$CONFIG_FILES lef/Makefile:lef/Makefile.in" ;;
"plot/Makefile") CONFIG_FILES="$CONFIG_FILES plot/Makefile:plot/Makefile.in" ;;
"router/Makefile") CONFIG_FILES="$CONFIG_FILES router/Makefile:router/Makefile.in" ;;
"ext2spice/Makefile") CONFIG_FILES="$CONFIG_FILES ext2spice/Makefile:ext2spice/Makefile.in" ;;
"ext2sim/Makefile") CONFIG_FILES="$CONFIG_FILES ext2sim/Makefile:ext2sim/Makefile.in" ;;
"extcheck/Makefile") CONFIG_FILES="$CONFIG_FILES extcheck/Makefile:extcheck/Makefile.in" ;;
"net2ir/Makefile") CONFIG_FILES="$CONFIG_FILES net2ir/Makefile:net2ir/Makefile.in" ;;
"graphics/Makefile") CONFIG_FILES="$CONFIG_FILES graphics/Makefile:graphics/Makefile.in" ;;
"oa/Makefile") CONFIG_FILES="$CONFIG_FILES oa/Makefile:oa/Makefile.in" ;;
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
esac

View File

@ -2027,6 +2027,19 @@ AC_CONFIG_FILES([select/Makefile:select/Makefile.in])
AC_CONFIG_FILES([sim/Makefile:sim/Makefile.in])
AC_CONFIG_FILES([textio/Makefile:textio/Makefile.in])
AC_CONFIG_FILES([wiring/Makefile:wiring/Makefile.in])
AC_CONFIG_FILES([utils/Makefile:utils/Makefile.in])
AC_CONFIG_FILES([windows/Makefile:windows/Makefile.in])
AC_CONFIG_FILES([commands/Makefile:commands/Makefile.in])
AC_CONFIG_FILES([database/Makefile:database/Makefile.in])
AC_CONFIG_FILES([lef/Makefile:lef/Makefile.in])
AC_CONFIG_FILES([plot/Makefile:plot/Makefile.in])
AC_CONFIG_FILES([router/Makefile:router/Makefile.in])
AC_CONFIG_FILES([ext2spice/Makefile:ext2spice/Makefile.in])
AC_CONFIG_FILES([ext2sim/Makefile:ext2sim/Makefile.in])
AC_CONFIG_FILES([extcheck/Makefile:extcheck/Makefile.in])
AC_CONFIG_FILES([net2ir/Makefile:net2ir/Makefile.in])
AC_CONFIG_FILES([graphics/Makefile:graphics/Makefile.in])
AC_CONFIG_FILES([oa/Makefile:oa/Makefile.in])
dnl Emit an autoconf config header, available to the tree as
dnl #include <magic/autoconf/config.h>