|
[task #5956 --- ``Automake'ify GNU Mach's code base'']
* linux/configfrag.ac (AC_PREREQ, AC_INIT, AC_CONFIG_SRCDIR)
(AC_CONFIG_HEADER, AC_CANONICAL_HOST, hurd_SYSTYPE, AC_CONFIG_FILES)
(AC_OUTPUT): Don't invoke.
(../../version.m4, ../../Drivers.macros, ../../aclocal.m4): Don't
include.
<case "$host_cpu">: Only evaluate for i386.
(--disable-default-device-drivers): Remove configuraion option.
(LINUX_DEV, __KERNEL__): AC_DEFINE these.
(scsi, net, pcmcia, wireless): Remove AC_DRIVER_CLASS instantiations.
(device_driver_group): New shell function.
(AC_OPTION, AC_OPTION_nodef): New functions.
(linux_DRIVER): Rename function to AC_Linux_DRIVER and adopt.
(linux_DRIVER_nodef): Likewise to AC_Linux_DRIVER_nodef.
<Configuration options>: Adopt to the new functions introduced above
and re-position parts.
<Process device driver groups>: Adopt to the changes related to device
driver groups.
* linux/configure.in <AC_CONFIG_LINKS>: Move to...
* linux/configfrag.ac: ... here.
* linux/configure.in: Remove file.
* linux/configure: Likewise.
* i386/linux/Makerules.in: Likewise.
* Drivers.macros: Likewise.
|
|
Cleanup of GNU Mach's build system. The system dependend parts are now
handeled by the respective Makefile and no longer by the top-level one.
* configure, i386/configure, i386/linux/configure, linux/configure:
Regenerated.
* Makefile.in: Various cleanups.
(mach/machine, mach_machine): Targets removed.
(AWK, CC, CFLAGS, CPPFLAGS, DEFINES, INCLUDES, INSTALL, INSTALL_DATA)
(INSTALL_PROGRAM, LD, MIG, MIGFLAGS, NM): Variables moved into
Makerules.in.
Do not include $(sysdep)/Makefrag anymore.
(all, check, clean, distclean, mostlyclean, maintainer-clean, install)
(install-headers, install-kernel): Recurse into the system dependend
subdirectory.
(check): Add a basic test using mbchk.
(clean, distclean): Be more explicit in what to delete.
($(systype)/%): New target.
(kernel.o): Incorporate the system dependend archive.
(installed-sysdep-headers-names, $(installed-sysdep-headers-names)):
Variable and target moved into the system dependend Makefile.in.
(install-headers, mkheaderdirs): Don't care for the system dependend
header files.
(%.symc, %.symc.o, %.h, %_user.c, %_interface.h, %_server.c): Targets
moved into Makerules.in.
Inclusion of dependency files: Likewise.
(%.migs_d, %.migu_d, %.migsh_d, %.miguh_d, make-deps, %.d): Likewise.
Include Makerules.
* Makerules.in: New file, mainly based on Makefile.in.
* configure.in: Do not substitute cross_compiling and not explicitly
substitute LDFLAGS.
Check for cpp, ranlib, ar and mbchk.
Care for the mach/machine symbolic link.
Add Makerules as a config file.
* i386/Makefile.in: Various cleanups.
Merge i386/Makefrag and the system dependent stuff from Makefile.in
into this file.
(all, check, install, install-headers, install-kernel): Recurse into
the system dependend subdirectory.
(sysdep.o): transformed to the new target sysdep.a.
(linux/linux.o): Target removed.
(clean, distclean): Be more explicit in what to delete.
(linux/%): New target.
(install-headers): Install the system dependend header files.
(mkheaderdirs): New target.
Include the top-level Makerules.
* i386/Makefrag: File removed.
* i386/Makerules.in: New file.
* i386/configure.in: Synchronize AC_INIT to the top-level definition.
Do not check for ld and make.
Add Makerules as a config file.
* i386/linux/Makefile.in: Various cleanups.
Replace linux-objs with objfiles.
(check, install, install-headers, install-kernel): New empty targets.
Don't care about linux-flags if no_deps is true.
Inclusion of dependency files removed and instead...
Include the top-level Makerules.
* i386/linux/Makerules.in: New file.
* i386/linux/configure.ac: Synchronize AC_INIT to the top-level
definition.
Do not check for gcc and ld.
Do not explicitly substitute LDFLAGS.
Add Makerules as a config file.
* linux/configure.in: Synchronize AC_INIT to the top-level definition.
Do not create directories using a dummy file.
* linux/dummy.in: File removed.
* ddb/db_access.h: Include <machine/vm_param.h> instead of
"vm_param.h".
* kern/bootstrap.c: Likewise.
* kern/thread.c: Likewise.
* vm/vm_kern.c: Likewise.
* vm/vm_object.c: Likewise.
* vm/vm_resident.c: Likewise.
|
|
* configure: Regenerated.
* i386/configure: Regenerated.
* Drivers.macros (AC_DRIVER_CLASS): Use AH_TEMPLATE.
(AC_DRIVER): Set the value for the AC_DEFINE and AC_DEFINE_UNQUOTED
to 1.
* aclocal.m4 (AC_PROG_CC_LOCAL, AC_PROG_CC_WORKS_LOCAL): Removed.
* version.m4: New file.
* Makefile.in: Use PACKAGE_VERSION, not VERSION.
* doc/Makefile.in: Likewise.
* version.c.in: Likewise. Use PACKAGE_NAME, not "GNUmach".
* i386/linux/Makefile.in (configure): Change its source to
configure.ac.
* aclocal.m4: Add missing quotations.
* Drivers.macros: Likewise.
* configure.in: Likewise. Include version.m4 and use PACKAGE and
VERSION m4 macros from it.
* i386/configure.in: Likewise.
(AC_INIT): Use new syntax and move source check to AC_CONFIG_SRCDIR.
* i386/linux/configure.ac: Likewise. Use m4_sinclude, not sinclude.
* linux/configure.in: Likewise.
* i386/configure.in: Update AC_DEFINE to the new three argument form.
* i386/linux/configure.ac: Move AC_DEFINE inside AC_ARG_ENABLE.
* configure.in: Use AC_CONFIG_LINKS, not AC_LINK_FILES.
* linux/configure.in: Likewise.
* i386/configure.in: Call AC_CONFIG_FILES and use the new form of
AC_OUTPUT.
* i386/linux/configure.ac: Likewise.
* linux/configure.in: Likewise
* configure.in: Use AS_HELP_STRING in AC_ARG_ENABLE help strings.
* Drivers.macros: Likewise.
* i386/configure.in: Likewise.
* i386/linux/configure.ac: Likewise.
2005-07-12 Neal H. Walfield <neal@cs.uml.edu>
* configure.in: Update to use autoconf 2.57.
Do not error out if host_os is not GNU.
Update AC_DEFINEs to the required three argument form.
Don't call AC_CHECK_TOOL(CC, gcc) and AC_PROG_CC_LOCAL, just use
AC_PROG_CC.
AC_SUBST(LDFLAGS).
Refactor AC_CONFIG_SUBDIRS to not do variable substitution.
Call AC_CONFIG_FILES and use the new form of AC_OUTPUT.
* i386/configure.in: Require autoconf 2.57.
* linux/configure.in: Likewise.
* i386/linux/Drivers.in: Move from here...
* i386/linux/configure.ac: ... to here to conform to the
environment autoreconf expects.
(hurd_host_CPU): New macro.
Call AC_PROG_CC, not AC_PROG_CC_LOCAL.
AC_SUBST(LD_FLAGS).
(flashpoint): Update AC_DEFINE to the new three argument form.
* Drivers.macros (AC_DRIVER): Update AC_DEFINE to the new three
argument form.
|