From 3e45ce6db1f35c328904c4fae1cc159b02b8e850 Mon Sep 17 00:00:00 2001 From: jmcneill Date: Sat, 16 Feb 2013 17:00:21 +0000 Subject: Workaround a toolchain issue by renaming the 'setup' host tool to 'mkdata' to make UAC happy when building with Cygwin. As described here -- http://msdn.microsoft.com/en-us/library/windows/desktop/bb756960.aspx -- 32-bit executables whose filenames include the strings 'install', 'setup', 'update', 'patch', etc. by default will request admin privileges unless an application manifest is provided. --- phantasia/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'phantasia') diff --git a/phantasia/Makefile b/phantasia/Makefile index 2753cbe4..6bd43960 100644 --- a/phantasia/Makefile +++ b/phantasia/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.35 2011/07/03 15:29:34 mrg Exp $ +# $NetBSD: Makefile,v 1.36 2013/02/16 17:00:21 jmcneill Exp $ # @(#)Makefile 8.1 (Berkeley) 5/31/93 .include @@ -26,18 +26,18 @@ FILES+=${file} .endif .endfor -CLEANFILES+=map setup setup.lo host_phantglobs.lo ${ALLFILES} files.stamp +CLEANFILES+=map mkdata setup.lo host_phantglobs.lo ${ALLFILES} files.stamp realall: ${FILES} ${FILES}: files.stamp -files.stamp: setup monsters.asc +files.stamp: mkdata monsters.asc ${_MKMSG_CREATE} ${FILES} rm -f ${.TARGET} - ./setup -m ${.CURDIR}/monsters.asc + ./mkdata -m ${.CURDIR}/monsters.asc touch ${.TARGET} -setup: host_phantglobs.lo setup.lo ${LIBM} +mkdata: host_phantglobs.lo setup.lo ${LIBM} ${_MKTARGET_LINK} ${HOST_LINK.c} -o ${.TARGET} ${.ALLSRC:M*.lo} -lm -- cgit v1.2.3-56-ge451