From a81e9c805d53f67a659190635bb58590b0ffa0c7 Mon Sep 17 00:00:00 2001 From: jmcneill Date: Sat, 16 Feb 2013 16:30:28 +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. --- adventure/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'adventure') diff --git a/adventure/Makefile b/adventure/Makefile index 6530c3ce..8f3467e0 100644 --- a/adventure/Makefile +++ b/adventure/Makefile @@ -1,18 +1,18 @@ -# $NetBSD: Makefile,v 1.13 2003/11/16 14:14:18 lukem Exp $ +# $NetBSD: Makefile,v 1.14 2013/02/16 16:30:28 jmcneill Exp $ # @(#)Makefile 8.1 (Berkeley) 6/12/93 PROG= adventure SRCS= main.c init.c done.c save.c subr.c vocab.c wizard.c io.c data.c crc.c MAN= adventure.6 HIDEGAME=hidegame -CLEANFILES+=setup setup.lo data.c +CLEANFILES+=mkdata setup.lo data.c -data.c: glorkz setup +data.c: glorkz mkdata ${_MKTARGET_CREATE} - ./setup ${.CURDIR}/glorkz > data.c + ./mkdata ${.CURDIR}/glorkz > data.c setup.lo: hdr.h -setup: setup.lo +mkdata: setup.lo ${_MKTARGET_LINK} ${HOST_LINK.c} -o ${.TARGET} ${.ALLSRC} -- cgit v1.2.3-56-ge451