|
|
1.1 ! root 1: # ! 2: # Copyright (c) 1994 The University of Utah and ! 3: # the Center for Software Science (CSS). All rights reserved. ! 4: # ! 5: # Permission to use, copy, modify and distribute this software and its ! 6: # documentation is hereby granted, provided that both the copyright ! 7: # notice and this permission notice appear in all copies of the ! 8: # software, derivative works or modified versions, and any portions ! 9: # thereof, and that both notices appear in supporting documentation. ! 10: # ! 11: # THE UNIVERSITY OF UTAH AND CSS ALLOW FREE USE OF THIS SOFTWARE IN ITS "AS ! 12: # IS" CONDITION. THE UNIVERSITY OF UTAH AND CSS DISCLAIM ANY LIABILITY OF ! 13: # ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. ! 14: # ! 15: # CSS requests users of this software to return to [email protected] any ! 16: # improvements that they make and grant CSS redistribution rights. ! 17: # ! 18: # Author: Bryan Ford, University of Utah CSS ! 19: ! 20: ! 21: all: ! 22: ! 23: clean: ! 24: ! 25: HFILES += $(patsubst $(GSRCDIR)/include/%,%, \ ! 26: $(wildcard $(addprefix $(GSRCDIR)/include/, \ ! 27: * */* */*/* */*/*/*))) \ ! 28: $(patsubst $(MSRCDIR)/include/%,%, \ ! 29: $(wildcard $(addprefix $(MSRCDIR)/include/, \ ! 30: * */* */*/* */*/*/*))) ! 31: ! 32: # Only install .defs and .h files. ! 33: HFILES := $(filter %.h,$(HFILES)) $(filter %.defs,$(HFILES)) ! 34: ! 35: $(INSTALL_INCDIR)/%: $(GSRCDIR)/include/% ! 36: $(MKDIR) $(patsubst %/,%,$(dir $@)) ! 37: $(INSTALL) -m 644 $< $@ ! 38: $(INSTALL_INCDIR)/%: $(MSRCDIR)/include/% ! 39: $(MKDIR) $(patsubst %/,%,$(dir $@)) ! 40: $(INSTALL) -m 644 $< $@ ! 41: ! 42: include $(GSRCDIR)/Makerules ! 43: ! 44: install: $(addprefix $(INSTALL_INCDIR)/,$(HFILES)) $(INSTALL_INCDIR)/mach/i386 ! 45: ! 46: $(INSTALL_INCDIR)/mach/i386: ! 47: ln -s machine $@
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.