summaryrefslogtreecommitdiff
path: root/comms/tn3270/files/tools/mkastosc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'comms/tn3270/files/tools/mkastosc/Makefile')
-rw-r--r--comms/tn3270/files/tools/mkastosc/Makefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/comms/tn3270/files/tools/mkastosc/Makefile b/comms/tn3270/files/tools/mkastosc/Makefile
index e9a0bad8ec7..52680182d4d 100644
--- a/comms/tn3270/files/tools/mkastosc/Makefile
+++ b/comms/tn3270/files/tools/mkastosc/Makefile
@@ -1,12 +1,14 @@
-# $NetBSD: Makefile,v 1.1.1.1 2010/01/17 01:33:25 dholland Exp $
-# From NetBSD: Makefile,v 1.10 2002/09/15 01:27:46 thorpej Exp
+# $NetBSD: Makefile,v 1.2 2010/01/17 01:41:34 dholland Exp $
-HOSTPROG= mkastosc
-HOST_CPPFLAGS+= -DHOST_TOOL
-SRCS= mkastosc.c dohits.c asc_ebc.c ebc_disp.c
+TOP=../..
+include $(TOP)/mk/setup.mk
-HOST_CPPFLAGS+=-I${.CURDIR}/../mkhits
-.PATH: ${.CURDIR}/../mkhits
+PROG=mkastosc
+SRCS=mkastosc.c ../mkhits/dohits.c ../../api/asc_ebc.c ../../api/ebc_disp.c
-.include <bsd.hostprog.mk>
+CFLAGS+=-I../../api
+CFLAGS+=-I../mkhits
+CFLAGS+=-DHOST_TOOL
+# should be hostprog.mk for crosscompiling (FUTURE)
+include $(TOP)/mk/prog.mk