build: generate 21 standard-module Makefiles from Makefile.in (rename unit)
Second batch of the Makefile.in migration: the remaining standard modules bplane calma cif cmwind dbwind debug drc extflat extract garouter gcr grouter irouter mzrouter netmenu plow resis select sim textio wiring Pure renames -- content unchanged, so each still builds via the defs.mak srcdir derivation (dual mode); the @srcdir@ substitution follows. * git mv <dir>/Makefile -> <dir>/Makefile.in (21 modules) * configure.in: AC_CONFIG_FILES for each; regenerated configure. Their build subdirs + Makefiles are now created by config.status, so $(submake) recurses natively (make -C <dir>), no -f. * .gitignore: ignore each generated <dir>/Makefile, in this same commit. Verified out-of-tree: config.status writes 22 module Makefiles (these 21 + tiles); `make modules` builds all 33 module libraries (rc=0). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
2ee689084a
commit
02d2147753
|
|
@ -21,6 +21,27 @@ reconfigure.sh
|
||||||
# readline/ is intentionally NOT converted and keeps its tracked static Makefile.)
|
# readline/ is intentionally NOT converted and keeps its tracked static Makefile.)
|
||||||
# --- converted dirs below ---
|
# --- converted dirs below ---
|
||||||
tiles/Makefile
|
tiles/Makefile
|
||||||
|
bplane/Makefile
|
||||||
|
calma/Makefile
|
||||||
|
cif/Makefile
|
||||||
|
cmwind/Makefile
|
||||||
|
dbwind/Makefile
|
||||||
|
debug/Makefile
|
||||||
|
drc/Makefile
|
||||||
|
extflat/Makefile
|
||||||
|
extract/Makefile
|
||||||
|
garouter/Makefile
|
||||||
|
gcr/Makefile
|
||||||
|
grouter/Makefile
|
||||||
|
irouter/Makefile
|
||||||
|
mzrouter/Makefile
|
||||||
|
netmenu/Makefile
|
||||||
|
plow/Makefile
|
||||||
|
resis/Makefile
|
||||||
|
select/Makefile
|
||||||
|
sim/Makefile
|
||||||
|
textio/Makefile
|
||||||
|
wiring/Makefile
|
||||||
|
|
||||||
# Compiled objects / libraries
|
# Compiled objects / libraries
|
||||||
*.o
|
*.o
|
||||||
|
|
|
||||||
|
|
@ -9401,6 +9401,48 @@ ac_config_files="$ac_config_files rules.mak:rules.mak"
|
||||||
|
|
||||||
ac_config_files="$ac_config_files tiles/Makefile:tiles/Makefile.in"
|
ac_config_files="$ac_config_files tiles/Makefile:tiles/Makefile.in"
|
||||||
|
|
||||||
|
ac_config_files="$ac_config_files bplane/Makefile:bplane/Makefile.in"
|
||||||
|
|
||||||
|
ac_config_files="$ac_config_files calma/Makefile:calma/Makefile.in"
|
||||||
|
|
||||||
|
ac_config_files="$ac_config_files cif/Makefile:cif/Makefile.in"
|
||||||
|
|
||||||
|
ac_config_files="$ac_config_files cmwind/Makefile:cmwind/Makefile.in"
|
||||||
|
|
||||||
|
ac_config_files="$ac_config_files dbwind/Makefile:dbwind/Makefile.in"
|
||||||
|
|
||||||
|
ac_config_files="$ac_config_files debug/Makefile:debug/Makefile.in"
|
||||||
|
|
||||||
|
ac_config_files="$ac_config_files drc/Makefile:drc/Makefile.in"
|
||||||
|
|
||||||
|
ac_config_files="$ac_config_files extflat/Makefile:extflat/Makefile.in"
|
||||||
|
|
||||||
|
ac_config_files="$ac_config_files extract/Makefile:extract/Makefile.in"
|
||||||
|
|
||||||
|
ac_config_files="$ac_config_files garouter/Makefile:garouter/Makefile.in"
|
||||||
|
|
||||||
|
ac_config_files="$ac_config_files gcr/Makefile:gcr/Makefile.in"
|
||||||
|
|
||||||
|
ac_config_files="$ac_config_files grouter/Makefile:grouter/Makefile.in"
|
||||||
|
|
||||||
|
ac_config_files="$ac_config_files irouter/Makefile:irouter/Makefile.in"
|
||||||
|
|
||||||
|
ac_config_files="$ac_config_files mzrouter/Makefile:mzrouter/Makefile.in"
|
||||||
|
|
||||||
|
ac_config_files="$ac_config_files netmenu/Makefile:netmenu/Makefile.in"
|
||||||
|
|
||||||
|
ac_config_files="$ac_config_files plow/Makefile:plow/Makefile.in"
|
||||||
|
|
||||||
|
ac_config_files="$ac_config_files resis/Makefile:resis/Makefile.in"
|
||||||
|
|
||||||
|
ac_config_files="$ac_config_files select/Makefile:select/Makefile.in"
|
||||||
|
|
||||||
|
ac_config_files="$ac_config_files sim/Makefile:sim/Makefile.in"
|
||||||
|
|
||||||
|
ac_config_files="$ac_config_files textio/Makefile:textio/Makefile.in"
|
||||||
|
|
||||||
|
ac_config_files="$ac_config_files wiring/Makefile:wiring/Makefile.in"
|
||||||
|
|
||||||
|
|
||||||
if test "`cd $srcdir && pwd`" = "`pwd`" ; then
|
if test "`cd $srcdir && pwd`" = "`pwd`" ; then
|
||||||
magic_config_header=magic/autoconf/config.h
|
magic_config_header=magic/autoconf/config.h
|
||||||
|
|
@ -10131,6 +10173,27 @@ do
|
||||||
"scripts/makedbh") CONFIG_FILES="$CONFIG_FILES scripts/makedbh:scripts/makedbh.in" ;;
|
"scripts/makedbh") CONFIG_FILES="$CONFIG_FILES scripts/makedbh:scripts/makedbh.in" ;;
|
||||||
"rules.mak") CONFIG_FILES="$CONFIG_FILES rules.mak:rules.mak" ;;
|
"rules.mak") CONFIG_FILES="$CONFIG_FILES rules.mak:rules.mak" ;;
|
||||||
"tiles/Makefile") CONFIG_FILES="$CONFIG_FILES tiles/Makefile:tiles/Makefile.in" ;;
|
"tiles/Makefile") CONFIG_FILES="$CONFIG_FILES tiles/Makefile:tiles/Makefile.in" ;;
|
||||||
|
"bplane/Makefile") CONFIG_FILES="$CONFIG_FILES bplane/Makefile:bplane/Makefile.in" ;;
|
||||||
|
"calma/Makefile") CONFIG_FILES="$CONFIG_FILES calma/Makefile:calma/Makefile.in" ;;
|
||||||
|
"cif/Makefile") CONFIG_FILES="$CONFIG_FILES cif/Makefile:cif/Makefile.in" ;;
|
||||||
|
"cmwind/Makefile") CONFIG_FILES="$CONFIG_FILES cmwind/Makefile:cmwind/Makefile.in" ;;
|
||||||
|
"dbwind/Makefile") CONFIG_FILES="$CONFIG_FILES dbwind/Makefile:dbwind/Makefile.in" ;;
|
||||||
|
"debug/Makefile") CONFIG_FILES="$CONFIG_FILES debug/Makefile:debug/Makefile.in" ;;
|
||||||
|
"drc/Makefile") CONFIG_FILES="$CONFIG_FILES drc/Makefile:drc/Makefile.in" ;;
|
||||||
|
"extflat/Makefile") CONFIG_FILES="$CONFIG_FILES extflat/Makefile:extflat/Makefile.in" ;;
|
||||||
|
"extract/Makefile") CONFIG_FILES="$CONFIG_FILES extract/Makefile:extract/Makefile.in" ;;
|
||||||
|
"garouter/Makefile") CONFIG_FILES="$CONFIG_FILES garouter/Makefile:garouter/Makefile.in" ;;
|
||||||
|
"gcr/Makefile") CONFIG_FILES="$CONFIG_FILES gcr/Makefile:gcr/Makefile.in" ;;
|
||||||
|
"grouter/Makefile") CONFIG_FILES="$CONFIG_FILES grouter/Makefile:grouter/Makefile.in" ;;
|
||||||
|
"irouter/Makefile") CONFIG_FILES="$CONFIG_FILES irouter/Makefile:irouter/Makefile.in" ;;
|
||||||
|
"mzrouter/Makefile") CONFIG_FILES="$CONFIG_FILES mzrouter/Makefile:mzrouter/Makefile.in" ;;
|
||||||
|
"netmenu/Makefile") CONFIG_FILES="$CONFIG_FILES netmenu/Makefile:netmenu/Makefile.in" ;;
|
||||||
|
"plow/Makefile") CONFIG_FILES="$CONFIG_FILES plow/Makefile:plow/Makefile.in" ;;
|
||||||
|
"resis/Makefile") CONFIG_FILES="$CONFIG_FILES resis/Makefile:resis/Makefile.in" ;;
|
||||||
|
"select/Makefile") CONFIG_FILES="$CONFIG_FILES select/Makefile:select/Makefile.in" ;;
|
||||||
|
"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" ;;
|
||||||
|
|
||||||
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
||||||
esac
|
esac
|
||||||
|
|
|
||||||
|
|
@ -2006,6 +2006,27 @@ AC_CONFIG_FILES([rules.mak:rules.mak])
|
||||||
dnl Per-module Makefiles (Makefile.in migration). Each converted module lists
|
dnl Per-module Makefiles (Makefile.in migration). Each converted module lists
|
||||||
dnl its Makefile here; config.status creates the build subdir and the Makefile.
|
dnl its Makefile here; config.status creates the build subdir and the Makefile.
|
||||||
AC_CONFIG_FILES([tiles/Makefile:tiles/Makefile.in])
|
AC_CONFIG_FILES([tiles/Makefile:tiles/Makefile.in])
|
||||||
|
AC_CONFIG_FILES([bplane/Makefile:bplane/Makefile.in])
|
||||||
|
AC_CONFIG_FILES([calma/Makefile:calma/Makefile.in])
|
||||||
|
AC_CONFIG_FILES([cif/Makefile:cif/Makefile.in])
|
||||||
|
AC_CONFIG_FILES([cmwind/Makefile:cmwind/Makefile.in])
|
||||||
|
AC_CONFIG_FILES([dbwind/Makefile:dbwind/Makefile.in])
|
||||||
|
AC_CONFIG_FILES([debug/Makefile:debug/Makefile.in])
|
||||||
|
AC_CONFIG_FILES([drc/Makefile:drc/Makefile.in])
|
||||||
|
AC_CONFIG_FILES([extflat/Makefile:extflat/Makefile.in])
|
||||||
|
AC_CONFIG_FILES([extract/Makefile:extract/Makefile.in])
|
||||||
|
AC_CONFIG_FILES([garouter/Makefile:garouter/Makefile.in])
|
||||||
|
AC_CONFIG_FILES([gcr/Makefile:gcr/Makefile.in])
|
||||||
|
AC_CONFIG_FILES([grouter/Makefile:grouter/Makefile.in])
|
||||||
|
AC_CONFIG_FILES([irouter/Makefile:irouter/Makefile.in])
|
||||||
|
AC_CONFIG_FILES([mzrouter/Makefile:mzrouter/Makefile.in])
|
||||||
|
AC_CONFIG_FILES([netmenu/Makefile:netmenu/Makefile.in])
|
||||||
|
AC_CONFIG_FILES([plow/Makefile:plow/Makefile.in])
|
||||||
|
AC_CONFIG_FILES([resis/Makefile:resis/Makefile.in])
|
||||||
|
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])
|
||||||
|
|
||||||
dnl Emit an autoconf config header, available to the tree as
|
dnl Emit an autoconf config header, available to the tree as
|
||||||
dnl #include <magic/autoconf/config.h>
|
dnl #include <magic/autoconf/config.h>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue