summaryrefslogtreecommitdiff
path: root/comms/tn3270/files/tools/mkhits
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2010-01-17 01:41:33 +0000
committerdholland <dholland@pkgsrc.org>2010-01-17 01:41:33 +0000
commitf3570a79d3d8c7ce271ae280a0478583fe997087 (patch)
treeacd094521354b0d947602dedb314d304630aee07 /comms/tn3270/files/tools/mkhits
parent996a15a26aacec2c22f5147ddd1fe2c4b230bc90 (diff)
downloadpkgsrc-f3570a79d3d8c7ce271ae280a0478583fe997087.tar.gz
New makefiles for this that don't depend on being in the base source tree.
Diffstat (limited to 'comms/tn3270/files/tools/mkhits')
-rw-r--r--comms/tn3270/files/tools/mkhits/Makefile17
1 files changed, 11 insertions, 6 deletions
diff --git a/comms/tn3270/files/tools/mkhits/Makefile b/comms/tn3270/files/tools/mkhits/Makefile
index 6dbfcc791eb..8e9f08b931f 100644
--- a/comms/tn3270/files/tools/mkhits/Makefile
+++ b/comms/tn3270/files/tools/mkhits/Makefile
@@ -1,8 +1,13 @@
-# $NetBSD: Makefile,v 1.1.1.1 2010/01/17 01:33:26 dholland Exp $
-# From NetBSD: Makefile,v 1.10 2002/09/15 01:27:47 thorpej Exp
+# $NetBSD: Makefile,v 1.2 2010/01/17 01:41:34 dholland Exp $
-HOSTPROG= mkhits
-HOST_CPPFLAGS+= -DHOST_TOOL
-SRCS= mkhits.c dohits.c asc_ebc.c ebc_disp.c
+TOP=../..
+include $(TOP)/mk/setup.mk
-.include <bsd.hostprog.mk>
+PROG=mkhits
+SRCS=mkhits.c dohits.c ../../api/asc_ebc.c ../../api/ebc_disp.c
+
+CFLAGS+=-I../../api
+CFLAGS+=-DHOST_TOOL
+
+# should be hostprog.mk for crosscompiling (FUTURE)
+include $(TOP)/mk/prog.mk