|
|
1.1 ! root 1: # ! 2: # Common machine-dependent Makefile fragment for DEVICES project. ! 3: # ! 4: ifneq "" "$(wildcard /bin/mkdirs)" ! 5: MKDIRS = /bin/mkdirs ! 6: else ! 7: MKDIRS = /bin/mkdir -p ! 8: endif ! 9: ! 10: SOURCEFILES= $(PUBLIC_HFILES) $(PRIVATE_HFILES) ! 11: ! 12: INSTFLAGS=-c -m 444 ! 13: ! 14: # ! 15: # Note project-specific machine-dependent Makefile must define MACHINE_DIR. ! 16: # CAREFUL: this install is only for header files; binaries should use ! 17: # their own Makefile. ! 18: # ! 19: install installhdrs install_only: $(DSTDIR)/$(MACHINE_DIR) ! 20: if [ -n "${PUBLIC_HFILES}" ]; \ ! 21: then \ ! 22: install ${INSTFLAGS} $(PUBLIC_HFILES) \ ! 23: $(DSTDIR)/$(MACHINE_DIR); \ ! 24: fi ! 25: ! 26: installsrc: $(SRCROOT) ! 27: gnutar cf - $(SOURCEFILES) *.m *.c *.h Makefile | (cd $(SRCROOT); gnutar xpf -) ! 28: ! 29: clean: ! 30: -rm -rf *.d Makedep *~ ! 31: ! 32: $(DSTDIR) $(SRCROOT) $(DSTDIR)/$(MACHINE_DIR): ! 33: $(MKDIRS) $@
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.