File:  [Apple Darwin 0.x] / driverkit / MakefileDir / Makefile.machine_common
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:37:52 2018 UTC (8 years, 3 months ago) by root
Branches: MAIN, Apple
CVS tags: HEAD, Darwin03, Darwin02
Darwin 0.2 Driver Kit

#
# Common machine-dependent Makefile fragment for DEVICES project.
#
ifneq "" "$(wildcard /bin/mkdirs)"
  MKDIRS = /bin/mkdirs
else
  MKDIRS = /bin/mkdir -p
endif

SOURCEFILES=	$(PUBLIC_HFILES) $(PRIVATE_HFILES)

INSTFLAGS=-c -m 444

#
# Note project-specific machine-dependent Makefile must define MACHINE_DIR.
# CAREFUL: this install is only for header files; binaries should use
# their own Makefile.
#
install installhdrs install_only:	$(DSTDIR)/$(MACHINE_DIR)
	if [ -n "${PUBLIC_HFILES}" ]; \
	then  \
		install ${INSTFLAGS} $(PUBLIC_HFILES) \
			$(DSTDIR)/$(MACHINE_DIR); \
	fi
	
installsrc:	$(SRCROOT)
	gnutar cf - $(SOURCEFILES) *.m *.c *.h Makefile | (cd $(SRCROOT); gnutar xpf -)

clean:
	-rm -rf *.d Makedep *~

$(DSTDIR) $(SRCROOT) $(DSTDIR)/$(MACHINE_DIR):
	$(MKDIRS) $@

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.