|
|
1.1 ! root 1: ############################################################################## ! 2: # Instructions to Make, for compilation of MH modules ! 3: ############################################################################## ! 4: ! 5: MAKE = make DESTDIR=$(DESTDIR) $(MFLAGS) -k ! 6: SHELL = /bin/sh ! 7: ! 8: # Targets to Make: ! 9: # ! 10: # all: generate MH system, assumes configuration previously done ! 11: # ! 12: # depend: generate dependencies, for MH master maintainers only! ! 13: # ! 14: # lint: verify code, for MH master maintainers only! ! 15: # ! 16: # compat-v7: verify V7 restrictions, for MH master maintainers only! ! 17: # ! 18: # install: install system and clean up afterwards ! 19: # ! 20: # inst-all: install system ! 21: # ! 22: # tar: generate tar commands to move targets to other systems ! 23: # e.g., make TFLAGS="cf mh.tar" tar ! 24: # ! 25: # uninstall: undo installation ! 26: # ! 27: # distribution: ! 28: # revert source tree to MH distribution ! 29: # ! 30: # checkout: MH maintainers only! ! 31: # ! 32: # clean: remove all objects and targets plus clean up ! 33: # ! 34: # unclean: remove scratch files and backups ! 35: ! 36: ! 37: ############################################################################## ! 38: # Generate MH system ! 39: ############################################################################## ! 40: ! 41: ALL = config sbr mts zotnet uip support doc ! 42: ! 43: all:; for d in $(ALL); do (cd $$d; $(MAKE) all); done ! 44: ! 45: depend:; for d in $(ALL); do (cd $$d; $(MAKE) depend); done ! 46: ! 47: lint:; for d in $(ALL); do (cd $$d; $(MAKE) lint); done ! 48: ! 49: compat-v7: all ! 50: miscellany/tools/7limit */x* */*/x* ! 51: miscellany/tools/8limit */*.o */*/*.o ! 52: ! 53: ! 54: INSTALL = zotnet support uip doc ! 55: ! 56: install: inst-all ! 57: ! 58: inst-all:; ! 59: -mkdir /usr/new/mh /usr/new/lib/mh ! 60: for d in $(INSTALL); do (cd $$d; $(MAKE) inst-all); done ! 61: ! 62: tar:; @for d in $(INSTALL); \ ! 63: do (cd $$d; $(MAKE) TFLAGS="$(TFLAGS)" tar); done ! 64: ! 65: uninstall:; for d in $(INSTALL); do (cd $$d; $(MAKE) uninstall); done ! 66: ! 67: ! 68: ############################################################################## ! 69: # Miscellaneous tasks ! 70: ############################################################################## ! 71: ! 72: DISTRIBUTION= conf config sbr mts zotnet support uip doc papers dist ! 73: ! 74: distribution:; rm -f _* :* ! 75: for d in $(DISTRIBUTION); \ ! 76: do (cd $$d; $(MAKE) distribution); done ! 77: ! 78: checkout: unclean lint compat-v7 ! 79: find . \( -name ":*" -o -name "_*" -o -name "#*" \) -a -print ! 80: ! 81: clean:; rm -f _* :* core ! 82: for d in $(DISTRIBUTION); do (cd $$d; $(MAKE) clean); done ! 83: ! 84: unclean:; rm -f _* :* core ! 85: for d in $(DISTRIBUTION); do (cd $$d; $(MAKE) unclean); done
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.