summaryrefslogtreecommitdiff
path: root/comms/tn3270/files/tools/mkmake
diff options
context:
space:
mode:
Diffstat (limited to 'comms/tn3270/files/tools/mkmake')
-rw-r--r--comms/tn3270/files/tools/mkmake/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/comms/tn3270/files/tools/mkmake/Makefile b/comms/tn3270/files/tools/mkmake/Makefile
index dbe17f47e3a..d8a103ff205 100644
--- a/comms/tn3270/files/tools/mkmake/Makefile
+++ b/comms/tn3270/files/tools/mkmake/Makefile
@@ -1,10 +1,13 @@
-# $NetBSD: Makefile,v 1.1.1.1 2010/01/17 01:33:26 dholland Exp $
-# From NetBSD: Makefile,v 1.4 2006/03/20 01:34:49 gdamore Exp
+# $NetBSD: Makefile,v 1.2 2010/01/17 01:41:34 dholland Exp $
-HOSTPROG= mkmake
-HOST_CPPFLAGS+= -DHOST_TOOL
-SRCS= mkmake.y
+TOP=../..
+include $(TOP)/mk/setup.mk
-.include <bsd.hostprog.mk>
+PROG=mkmake
+SRCS=mkmake.y
-.PATH: ${.CURDIR}/../../api ${.CURDIR}/../../ascii
+CFLAGS+=-I../../api
+CFLAGS+=-DHOST_TOOL
+
+# should be hostprog.mk for crosscompiling (FUTURE)
+include $(TOP)/mk/prog.mk