Date: Wed, 17 Feb 2010 23:47:08 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r204020 - user/imp/tbemd/share/mk Message-ID: <201002172347.o1HNl87W092723@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002172347.o1HNl87W092723>