svn commit: r204020 - user/imp/tbemd/share/mk

Warner Losh imp at FreeBSD.org
Wed Feb 17 23:47:08 UTC 2010


Author: imp
Date: Wed Feb 17 23:47:08 2010
New Revision: 204020
URL: http://svn.freebsd.org/changeset/base/204020

Log:
  Include Makefile.$MACHINE, if it exists, otherwise
  Include Makefile.$MACHINE_ARCH, if it exists, otherwise
  Include Makefile.$MACHINE_CPUARCH, if it exists, otherwise
  do nothing

Added:
  user/imp/tbemd/share/mk/bsd.arch.inc.mk

Added: user/imp/tbemd/share/mk/bsd.arch.inc.mk
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ user/imp/tbemd/share/mk/bsd.arch.inc.mk	Wed Feb 17 23:47:08 2010	(r204020)
@@ -0,0 +1,11 @@
+#
+# Include the arch-specific Makefile.inc.$ARCH.  We go from most specific
+# to least specific, stopping after we get a hit.
+#
+.if exists(${.CURDIR}/Makefile.${MACHINE})
+.include "Makefile.${MACHINE}"
+.elif exists(${.CURDIR}/Makefile.${MACHINE_ARCH})
+.include "Makefile.${MACHINE_ARCH}"
+.elif exists(${.CURDIR}/Makefile.${MACHINE_CPUARCH})
+.include "Makefile.${MACHINE_CPUARCH}"
+.endif


More information about the svn-src-user mailing list