Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
700b4b7e
Commit
700b4b7e
authored
Jun 01, 2004
by
Leigh B. Stoller
Browse files
Add genhostsfile directory.
Clean up subdir stuff to use the standard -subdir rules.
parent
b6c3a192
Changes
1
Hide whitespace changes
Inline
Side-by-side
os/GNUmakefile.in
View file @
700b4b7e
...
...
@@ -14,24 +14,12 @@ SYSTEM := $(shell uname -s)
include $(OBJDIR)/Makeconf
SUBDIRS = imagezip frisbee.redux growdisk syncd dijkstra
SUBDIRS = imagezip frisbee.redux growdisk syncd dijkstra
genhostsfile
all:
$(SUBDIRS)
split-image.sh
all:
all-subdirs
split-image.sh
include $(TESTBED_SRCDIR)/GNUmakerules
imagezip:
@$(MAKE) -C imagezip all
frisbee.redux:
@$(MAKE) -C frisbee.redux all
syncd:
@$(MAKE) -C syncd all
dijkstra:
@$(MAKE) -C dijkstra all
install: $(INSTALL_SBINDIR)/split-image.sh
@$(MAKE) -C imagezip install
@$(MAKE) -C frisbee.redux install
...
...
@@ -50,24 +38,24 @@ endif
$(MAKE) -C syncd client-install
$(MAKE) -C growdisk client-install
$(MAKE) -C dijkstra client-install
$(MAKE) -C genhostsfile client-install
remote-install:
$(INSTALL) -m 755 -o root -g wheel -d $(LBINDIR)
$(INSTALL_PROGRAM) $(SRCDIR)/install-tarfile $(LBINDIR)/install-tarfile
$(INSTALL_PROGRAM) $(SRCDIR)/install-rpm $(LBINDIR)/install-rpm
clean: subdir-clean
subdir-clean:
@$(MAKE) -C imagezip clean
@$(MAKE) -C frisbee.redux clean
@$(MAKE) -C growdisk clean
@$(MAKE) -C syncd clean
clean: clean-subdirs
distclean: subdir-distclean
subdir-distclean:
@$(MAKE) -C imagezip distclean
# How to recursively descend into subdirectories to make general
# targets such as `all'.
%.MAKE:
@$(MAKE) -C $(dir $@) $(basename $(notdir $@))
%-subdirs: $(addsuffix /%.MAKE,$(SUBDIRS)) ;
.PHONY: $(SUBDIRS)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment