diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-03-22 19:43:11 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-03-22 19:43:11 +0000 |
commit | fa6c8f3acbfdf98fae2f0018792102424f07eeb1 (patch) | |
tree | b9c0b25477546e738084f071644060f026200baf | |
parent | a2e14dc11cdd72f366a0e0058375ab5a34bc15af (diff) |
Formerly Makeconf.~27~
-rw-r--r-- | Makeconf | 22 |
1 files changed, 21 insertions, 1 deletions
@@ -6,7 +6,13 @@ all: hurdinst := /home/hm1/hurdinst # This is the directory which serves as root for the Hurd. -hurdroot := /home/hm1/hurdroot +hostname := $(shell hostname) +hurdroot-douglas.gnu.ai.mit.edu = /home/hm2/hurdroot +hurdroot-ernst.gnu.ai.mit.edu = home/hm1/hurdroot +hurdroot := $(hurdroot-$(hostname)) + +# This is the device with the filesystem mounted as $(hurdroot) +hurdrootdev := /dev/hd0f # This is the directory containing the top-level Hurd source (and this file). hurdsource := /home/hm1/gnu/hurd @@ -43,6 +49,20 @@ $(CC) -nostdlib -e __start $(ldflags) -o $@ $(CFLAGS) $(startup) \ $(OBJS) $(LIBS) $(libthreads) $(libc) $(libgcc) endef + +# Mounting $(hurdroot) +ifeq ($(hurdroot),) +$(hurdroot): force + echo Cannot do install on this machine. + false +else +$(hurdroot): $(hurdroot)/mounted +$(hurdroot)/mounted: + fsck -p $(hurdrootdev) + mount $(hurdrootdev) +endif + + # Making a snapshot lndist: $(DIST_FILES) $(hurdsource)/hurd-snap/$(dir) |