summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2014-11-21init: add a minimalist init programJustus Winter
This patch adds a minimalist init program. It is somewhat lacking in features, but is able to bring up a Hurd system with the runsystem and rc scripts. In fact, it roughly does what the former /hurd/init did, modulo all the very early bootstrapping stuff and the startup protocol. It is started when all the essential servers are up and running, so it can make use of most of the POSIX goodies, making its implementation much simpler. * Makefile (prog-subdirs): Add init. * daemons/runsystem.sh: Generalize runsystem so that it can start any init as specified on the kernel command line. By default, it starts /hurd/init. * daemons/runsystem.hurd: This is a verbatim copy of runsystem.sh. It is started by /hurd/init. * daemons/rc.sh: Do not start /hurd/mach-defpager as it is already started in runsystem.sh. * daemons/Makefile (SRCS): Add runsystem.hurd. * init/Makefile: New file. * init/init.c: Likewise.
2014-11-21startup: rename /hurd/init to /hurd/startupJustus Winter
This patch series splits /hurd/init into two programs. As a first step, this patch renames /hurd/init to /hurd/startup. It is called startup because it speaks the startup protocol. * startup: Rename init to startup. Adjust accordingly. * Makefile (prog-subdirs): Likewise. * doc/hurd.texi (Server Bootstrap): Likewise. * hurd/paths.h (_HURD_STARTUP): Likewise. * libdiskfs/boot-start.c (diskfs_boot_init_program): Likewise. * libdiskfs/opts-std-startup.c (startup_options): Likewise.
2014-06-15Add the procfs translator to prog-subdirsJustus Winter
* Makefile (prog-subdirs): Add procfs.
2014-06-09Add the random translator to prog-subdirsJustus Winter
* Makefile (prog-subdirs): Add random.
2013-09-27Decouple the Hurd version from the package version.Thomas Schwinge
* config.make.in (package-version): New variable. (hurd-version): Set to 0.3. * Makeconf (%: %.sh): Use package-version instead of hurd-version. * Makefile (stamp-version): Likewise. * doc/Makefile (stamp-version): Likewise.
2013-09-27Generate ChangeLog files for distributions.Thomas Schwinge
* gitlog-to-changelog: New file; import from gnulib's 9fc81090f6c5590bd1b0e0fa5087577a2ee43a3e:build-aux/gitlog-to-changelog. * Makefile (ChangeLog.tar, gen-ChangeLog): New targets. ($(dist-version).tar): Depend on and use the former. (clean-misc): Clean up the generated files.
2013-09-17Remove UFS supportSamuel Thibault
It has been unused/untested/unmaintained for a decade now, and its 4-clause BSD licence poses problem. * configure.ac (default_static): Remove ufs. * Makefile (prog-subdirs): Remove ufs, ufs-fsck and ufs-utils. * NEWS, TODO: doc/hurd.texi, doc/navigating: Remove UFS notes. * ufs: Remove directory * ufs-fsck: Remove directory * ufs-utils: Remove directory * bsdfsck: Remove directory
2013-02-26Replace configure.in with configure.acPino Toscano
* INSTALL: Replace configure.in with configure.ac * Makefile ($(top_srcdir)/configure): Likewise.
2012-04-08Replace fragile manual »make dist« system with one based on »git archive«.Thomas Schwinge
* Makeconf (lndist): Remove target. (dist-hook, dist.tar): New targets. * Makefile (dist): Rewrite this target's as well as accompanying rules. (%-lndist, cp-linked-files, $(lf-inst)): Remove targets. (%.bz2, %.gz, %/dist-hook): New targets. (DISTFILES): Set. * doc/Makefile (DISTFILES): Set. * doc/Makefile (lndist, lndist-info-targets): Remove targets. * include/Makefile (lndist): Remove target. * libthreads/Makefile (lndist, lndist-i386-files, lndist-map-file): Remove targets. * pfinet/Makefile (lndist, lndist-linux-src-net-core-files) (lndist-linux-src-net-ethernet-files, lndist-linux-src-net-ipv4-files) (lndist-linux-src-net-ipv6-files, lndist-linux-src-asm-files) (lndist-linux-src-include-linux-files, lndist-linux-src-include-net-files) (lndist-linux-src-include-asm-files, lndist-glue-include-linux-files) (lndist-glue-include-asm-files): Remove targets. * auth/Makefile (LCLHDRS): Don't set. * boot/Makefile (LCLHDRS, DIST_FILES): Likewise. * bsdfsck/Makefile (LCLHDRS): Likewise. * config/Makefile (DIST_FILES): Likewise. * console-client/Makefile (LCLHDRS): Likewise. * console/Makefile (LCLHDRS, DIST_FILES): Likewise. * doc/Makefile (DIST_FILES): Likewise. * exec/Makefile (LCLHDRS, DIST_FILES): Likewise. * ext2fs/Makefile (LCLHDRS): Likewise. * fatfs/Makefile (LCLHDRS): Likewise. * ftpfs/Makefile (LCLHDRS): Likewise. * hostmux/Makefile (LCLHDRS): Likewise. * hurd/Makefile (DIST_FILES): Likewise. * include/Makefile (LCLHDRS): Likewise. * isofs/Makefile (LCLHDRS, DIST_FILES): Likewise. * libcons/Makefile (LCLHDRS): Likewise. * libdirmgt/Makefile (LCLHDRS): Likewise. * libdiskfs/Makefile (LCLHDRS): Likewise. * libfshelp/Makefile (LCLHDRS): Likewise. * libftpconn/Makefile (LCLHDRS): Likewise. * libihash/Makefile (LCLHDRS): Likewise. * libiohelp/Makefile (LCLHDRS): Likewise. * libnetfs/Makefile (LCLHDRS): Likewise. * libpager/Makefile (LCLHDRS): Likewise. * libpipe/Makefile (LCLHDRS): Likewise. * libports/Makefile (LCLHDRS): Likewise. * libps/Makefile (LCLHDRS): Likewise. * libshouldbeinlibc/Makefile (LCLHDRS): Likewise. * libstore/Makefile (LCLHDRS, DIST_FILES): Likewise. * libthreads/Makefile (LCLHDRS): Likewise. * libtreefs/Makefile (LCLHDRS): Likewise. * libtrivfs/Makefile (LCLHDRS): Likewise. * mach-defpager/Makefile (LCLHDRS): Likewise. * nfs/Makefile (LCLHDRS): Likewise. * nfsd/Makefile (LCLHDRS): Likewise. * pfinet/Makefile (LCLHDRS): Likewise. * pflocal/Makefile (LCLHDRS): Likewise. * proc/Makefile (LCLHDRS, DIST_FILES): Likewise. * release/Makefile (DIST_FILES): Likewise. * storeio/Makefile (LCLHDRS): Likewise. * sutils/Makefile (LCLHDRS): Likewise. * term/Makefile (LCLHDRS, DIST_FILES): Likewise. * tmpfs/Makefile (LCLHDRS): Likewise. * ufs-fsck/Makefile (LCLHDRS): Likewise. * ufs/Makefile (LCLHDRS): Likewise. * usermux/Makefile (LCLHDRS): Likewise. * utils/Makefile (LCLHDRS): Likewise.
2012-04-08Rules for build system targets.Thomas Schwinge
* Makefile (configure, config.status, config.make): New targets.
2012-04-08* Makefile (clean): Recurse into all subdirs.Thomas Schwinge
2012-04-08Automatically regenerate files that depend on $(hurd-version).Thomas Schwinge
Follow-up to 05f5cc229323a61799388fbb52da84ca8cb502c9 (»configure: Use modern `AC_INIT' invocation.«). * Makeconf (%: %.sh): Depend on config.make. * Makefile (version.h): Use a stamp file. (stamp-version): Depend on config.make. * doc/Makefile (stamp-version): Likewise. * Makeconf (make-deps): Take additional target-specific dependencies, $*-DEPS. * console-client/Makefile (driver-DEPS): Depend on config.make. * libstore/Makefile (module-DEPS): Likewise.
2011-11-05Disable NFS translator and daemon compilation when Sun RPC is lacking.Ludovic Courtès
* Makefile (prog-subdirs): Make `nfs' and `nfsd' conditional on $(HAVE_SUN_RPC) = yes. * config.make.in (HAVE_SUN_RPC): New variable. * configure.in: Check for <rpc/types.h> and `clnt_create'. * README.CVS: Document dependency on a Sun RPC implementation.
2011-04-03Ship only the root ChangeLogSamuel Thibault
* Makeconf (distfiles): Remove ChangeLog. * Makefile (DIST_FILES): Add ChangeLog.
2009-07-27libpthread is now a stand-alone library and kept in a separate repository.Thomas Schwinge
* Makefile (lib-subdirs): Remove libpthread.
2006-12-032006-12-03 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
[bug #17121 --- ``GNU Hurd debian dir''] * debian/ChangeLog: Remove file. * Makefile (other-subdirs): Remove `debian'.
2004-09-102004-09-10 Roland McGrath <roland@frob.com>Roland McGrath
* Makefile (lib-subdirs): Remove bogon in last checkin.
2004-09-102004-09-09 Roland McGrath <roland@frob.com>Roland McGrath
* Makefile (prog-subdirs): Remove serverboot.
2002-12-032002-12-03 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* Makefile (prog-subdirs): Add fatfs.
2002-10-132002-10-12 Neal H. Walfield <neal@cs.uml.edu>Neal H. Walfield
* Makefile (lib-subdirs): Add libpthread.
2002-09-17Backfix without changelog entry: Spell out all years in the copyright notice.Marcus Brinkmann
2002-09-172002-09-17 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* Makefile (prog-subdirs): Add console-client. sutils/ 2002-09-17 Marcus Brinkmann <marcus@gnu.org> * MAKEDEV.sh (mkdev: vcs): New console device. (mkdev: tty[0-9a-f]|tty[0-9][0-9a-f]): Replaced with new rules for tty[1-9][0-9]. utils/ 2002-09-17 Marcus Brinkmann <marcus@gnu.org> * console-ncurses.c: File removed (the ncursesw console client is now a driver in the console-client). * Makefile: Revert 2002-08-22 change: Do not include`../config.make'. (targets) [LIBNCURSES]: Removed. (SRCS) [LIBNCURSES]: Likewise. (HURDLIBS) [LIBNCURSES]: Likewise. (console-ncurses): Target removed. (console-ncurses-CPPFLAGS): Removed. (console-ncurses-LDLIBS): Likewise. console-client/ 2002-09-17 Marcus Brinkmann <marcus@gnu.org> * Makefile, bdf.c, bdf.h, bell.h, console.c, display.h, driver.c, driver.h, generic-speaker.c, input.h, pc-kbd.c, timer.c, timer.h, unicode.h, vga.c, vga-dynacolor.c, vga-dynacolor.h, vga-dynafont.c, vga-dynafont.h, vga-hw.h, vga-support.c, vga-support.h: New file.
2002-08-222002-08-22 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* aclocal.m4 (hurd_LIB_NCURSESW): New test, modified from GNU inetutils 1.4.0. * configure.in: Use hurd_LIB_NCURSESW. * config.make.in (LIBNCURSESW): New variable, substituted by configure. (NCURSESW_INCLUDE): Likewise. * Makefile (lib-subdirs): Add libcons. (prog-subdirs): Add console. console/ 2002-08-22 Marcus Brinkmann <marcus@gnu.org> * console.h: Move file to ../hurd/. * Makefile (LCLHDRS): Remove console.h. * display.c: Include <hurd/console.h> instead "console.h". * console.c: Likewise. hurd/ 2002-08-22 Marcus Brinkmann <marcus@gnu.org> * console.h: Move here from ../console/. * Makefile (INSTHDRS): Add console.h. utils/ 2002-08-22 Marcus Brinkmann <marcus@gnu.org> * Makefile: Include `../config.make' early on to get LIBNCURSESW variable from configure before including Makeconf. (targets) [LIBNCURSES]: Add console-ncurses. (SRCS) [LIBNCURSES]: Add console-ncurses.c. (HURDLIBS) [LIBNCURSES]: Add cons. (console-ncurses): New target. (console-ncurses-CPPFLAGS): New variable. (console-ncurses-LDLIBS): Likewise.
2001-12-222001-11-15 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* Makeconf (TAGS) [configured]: Create tags for MiG generated files. * Makefile (TAGS): Generate dependencies respecting broken code markers, i.e. based on $(working-prog-subdirs) and not $(prog-subdirs).
2001-02-112001-02-02 Roland McGrath <roland@frob.com>Roland McGrath
* Makefile (prog-subdirs): Add tmpfs.
1999-11-181999-11-18 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* mach-defpager: New directory. See its ChangeLog. Makefile (prog-subdirs): Add mach-defpager.
1999-09-181999-09-18 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* Makefile: Revert last change; it is definitely wrong, and there is no verified bug that needs to be fixed at all.
1999-09-171999-09-17 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* Makefile ($(prog-subdirs) $(lib-subdirs), %-lndist, %-clean, %-relink, %-objs, %-install, %-install-headers, %-TAGS, %.d): Pass -e to sub-make, so that explicit prefix= args (etc.) get passed down correctly.
1999-09-12*** empty log message ***Thomas Bushnell
1999-06-191999-06-19 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* Makefile (DIST_FILES): Add move-if-change.
1999-03-171999-03-17 Gordon Matzigkeit <gord@trick.fig.org>Thomas Bushnell
* Makefile (other-subdirs): Add the debian directory.
1999-02-16Tue Feb 16 02:31:06 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* Makeconf ($(libname).so): Include $(hurd-version) as part of the soname. ($(libdir)/$(libname).so.$(hurd-version)): New rule. ($(libdir)/$(libname).so): Only create a symlink to the version-numbered name. (install) [makemode == library]: Add the versioned name $(libdir)/$(libname.so).$(hurd-version). * version.h.in: New file. * versioh.h, sh-version.sed: Deleted files. * Makeconf (hurd-version): New variable. * Makefile ($(subdirs)): Depend on version.h. (version.h): New rule. (DIST_FILES): Delete version.h and sh-version.sed. Add version.h.in.
1998-12-271998-12-27 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* Makefile (prog-subdirs): Reordered with vague topical grouping.
1998-10-201998-10-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* Makefile (TAGS): Create a TAGS file that specifies the subdir TAGS files as includes.
1998-09-041998-09-04 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* Makeconf (objs): New target, just compile w/o ar or ld. (OBJS): Remove bogus `%.o' default defn. * Makefile (objs, %-objs): New subdir target.
1998-04-231998-04-02 Gordon Matzigkeit <gord@profitpress.com>Thomas Bushnell
* Makefile (srcdir): Don't set srcdir, since this is either done in the generated Makefile or in Makeconf. Just include ./Makeconf directly. * configure.in (makefiles): Check for $ac_unique_file, rather than doing string comparisons to determine if we are configured in the source directory. This works for silly things like `srcdir=./.'.
1997-08-06(prog-subdirs):Miles Bader
Add ftpfs.
1997-07-23(prog-subdirs):Miles Bader
Add usermux.
1997-07-18Fri Jul 18 16:37:22 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* isofs: New directory. * Makefile (prog-subdirs): Add isofs.
1997-06-20(prog-subdirs):Miles Bader
Add hostmux.
1997-06-18(version): Use a four-digit year.Miles Bader
1997-06-18(dist):Miles Bader
Always generate distributes of the form `hurd-${version}.tar.gz'.
1997-06-10(DIST_FILES): Remove SETUP.Miles Bader
1997-06-10Mon Jun 9 12:27:40 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* version.h (HURD_VERSION): Update version number. * sh-version.sed: Likewise. * README: Likewise. * INSTALL: Likewise.
1997-05-23Fri May 23 10:06:34 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* configure.in: Use AC_PROG_CC_LOCAL instead of AC_PROG_CC. * aclocal.m4: New file. * Makefile (DIST_FILES): Add aclocal.m4. (Patch from Marcus G. Daniels, marcus@cathcart.sysc.pdx.edu).
1997-05-07(lib-subdirs): Add libftpconn.Miles Bader
(prog-subdirs): Add ftpfs.
1997-04-16Mon Mar 10 17:07:11 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* Makefile (prog-subdirs): Add `serverboot'. (serverboot): New directory.
1996-10-24Wed Oct 23 01:36:35 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* Makeconf ($(target)): Repair rule for building of .prof_d files. ($(target), $(target).prof): Refer to generated variables (-CFLAGS, -LFLAGS, -LDLIBS) by the base name ($*) not $@. (_libext): Likewise. Mon Oct 21 22:22:49 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * Makeconf (cleantarg) [makemode == library]: Add $(libname)_p.a. (targets) [makemode == library]: Include $(libname)_p.a in default value. ($(libdir)/$(libname)_p.a) [makemode == library]: New rule. ($(libname)_p.a) [makemode == library]: New rule. (%_p.o): Two new rules (depend on %.c or %.S). (make_deps): Make dependency now specify $*_p.o too. ($(addsuffix .prof,$(target))): New rule to link profiled objects. ($(target)): Surround usual build rule with if prof-depend == nil. ($(addsuffix .prof_d, $(target))): Include this if not a library. Also a new rule to build them. ($(target)) [prof-depend == t]: Kludge to write out its dependencies. Tue Oct 15 12:29:26 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * Makeconf (relink): Remove $(linktarg) always. (linktarg) [makemode == library]: Set variable. (linktarg): And also a default. * Makefile (%-relink): Set no_deps=t here. (relink): Do $(lib-subdirs) too.
1996-09-23(prog-subdirs):Miles Bader
Remove devio.
1996-09-21*** empty log message ***Thomas Bushnell