summaryrefslogtreecommitdiffstats
path: root/phantasia
diff options
context:
space:
mode:
authorjmcneill <jmcneill@NetBSD.org>2013-02-16 17:00:21 +0000
committerjmcneill <jmcneill@NetBSD.org>2013-02-16 17:00:21 +0000
commit3e45ce6db1f35c328904c4fae1cc159b02b8e850 (patch)
tree782b2c81877e1a6496a6b2eff09607e9500f0b5b /phantasia
parenta81e9c805d53f67a659190635bb58590b0ffa0c7 (diff)
downloadbsdgames-darwin-3e45ce6db1f35c328904c4fae1cc159b02b8e850.tar.gz
bsdgames-darwin-3e45ce6db1f35c328904c4fae1cc159b02b8e850.tar.zst
bsdgames-darwin-3e45ce6db1f35c328904c4fae1cc159b02b8e850.zip
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.
Diffstat (limited to 'phantasia')
-rw-r--r--phantasia/Makefile10
1 files changed, 5 insertions, 5 deletions
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 <bsd.own.mk>
@@ -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