Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/tn3270/tools Make these files use bsd.hostprog.mk so...



details:   https://anonhg.NetBSD.org/src/rev/fd3c93acfc4b
branches:  trunk
changeset: 474658:fd3c93acfc4b
user:      wrstuden <wrstuden%NetBSD.org@localhost>
date:      Wed Jul 14 21:36:36 1999 +0000

description:
Make these files use bsd.hostprog.mk so you can cross-compile tn3270!

diffstat:

 usr.bin/tn3270/tools/Makefile.inc      |   4 ++--
 usr.bin/tn3270/tools/mkastods/Makefile |   6 +++---
 usr.bin/tn3270/tools/mkastosc/Makefile |   8 ++++----
 usr.bin/tn3270/tools/mkdctype/Makefile |   6 +++---
 usr.bin/tn3270/tools/mkdstoas/Makefile |   6 +++---
 usr.bin/tn3270/tools/mkhits/Makefile   |   6 +++---
 usr.bin/tn3270/tools/mkmake/Makefile   |   6 +++---
 usr.bin/tn3270/tools/prt3270/Makefile  |  10 +++++-----
 8 files changed, 26 insertions(+), 26 deletions(-)

diffs (131 lines):

diff -r e1d27497bae2 -r fd3c93acfc4b usr.bin/tn3270/tools/Makefile.inc
--- a/usr.bin/tn3270/tools/Makefile.inc Wed Jul 14 21:10:13 1999 +0000
+++ b/usr.bin/tn3270/tools/Makefile.inc Wed Jul 14 21:36:36 1999 +0000
@@ -1,6 +1,6 @@
-#      $NetBSD: Makefile.inc,v 1.5 1999/02/13 02:54:56 lukem Exp $
+#      $NetBSD: Makefile.inc,v 1.6 1999/07/14 21:36:36 wrstuden Exp $
 
-CPPFLAGS+=-I${.CURDIR}/../../api
+HOST_CPPFLAGS+=-I${.CURDIR}/../../api
 MKMAN= no
 KBD= unix.kbd
 
diff -r e1d27497bae2 -r fd3c93acfc4b usr.bin/tn3270/tools/mkastods/Makefile
--- a/usr.bin/tn3270/tools/mkastods/Makefile    Wed Jul 14 21:10:13 1999 +0000
+++ b/usr.bin/tn3270/tools/mkastods/Makefile    Wed Jul 14 21:36:36 1999 +0000
@@ -1,6 +1,6 @@
-#      $NetBSD: Makefile,v 1.8 1997/10/24 07:52:20 lukem Exp $
+#      $NetBSD: Makefile,v 1.9 1999/07/14 21:36:37 wrstuden Exp $
 
-PROG=  mkastods
+HOSTPROG=      mkastods
 SRCS=  mkastods.c asc_ebc.c ebc_disp.c
 
-.include <bsd.prog.mk>
+.include <bsd.hostprog.mk>
diff -r e1d27497bae2 -r fd3c93acfc4b usr.bin/tn3270/tools/mkastosc/Makefile
--- a/usr.bin/tn3270/tools/mkastosc/Makefile    Wed Jul 14 21:10:13 1999 +0000
+++ b/usr.bin/tn3270/tools/mkastosc/Makefile    Wed Jul 14 21:36:36 1999 +0000
@@ -1,10 +1,10 @@
-#      $NetBSD: Makefile,v 1.8 1997/10/24 07:52:23 lukem Exp $
+#      $NetBSD: Makefile,v 1.9 1999/07/14 21:36:37 wrstuden Exp $
 
-PROG=  mkastosc
+HOSTPROG=      mkastosc
 SRCS=  mkastosc.c dohits.c asc_ebc.c ebc_disp.c
 
-CPPFLAGS+=-I${.CURDIR}/../mkhits
+HOST_CPPFLAGS+=-I${.CURDIR}/../mkhits
 .PATH: ${.CURDIR}/../mkhits
 
-.include <bsd.prog.mk>
+.include <bsd.hostprog.mk>
 
diff -r e1d27497bae2 -r fd3c93acfc4b usr.bin/tn3270/tools/mkdctype/Makefile
--- a/usr.bin/tn3270/tools/mkdctype/Makefile    Wed Jul 14 21:10:13 1999 +0000
+++ b/usr.bin/tn3270/tools/mkdctype/Makefile    Wed Jul 14 21:36:36 1999 +0000
@@ -1,6 +1,6 @@
-#      $NetBSD: Makefile,v 1.9 1998/03/04 13:16:12 christos Exp $
+#      $NetBSD: Makefile,v 1.10 1999/07/14 21:36:38 wrstuden Exp $
 
-PROG=  mkdctype
+HOSTPROG=      mkdctype
 SRCS=  mkdctype.c asc_ebc.c ebc_disp.c ectype.c
 
-.include <bsd.prog.mk>
+.include <bsd.hostprog.mk>
diff -r e1d27497bae2 -r fd3c93acfc4b usr.bin/tn3270/tools/mkdstoas/Makefile
--- a/usr.bin/tn3270/tools/mkdstoas/Makefile    Wed Jul 14 21:10:13 1999 +0000
+++ b/usr.bin/tn3270/tools/mkdstoas/Makefile    Wed Jul 14 21:36:36 1999 +0000
@@ -1,6 +1,6 @@
-#      $NetBSD: Makefile,v 1.8 1997/10/24 07:52:31 lukem Exp $
+#      $NetBSD: Makefile,v 1.9 1999/07/14 21:36:38 wrstuden Exp $
 
-PROG=  mkdstoas
+HOSTPROG=      mkdstoas
 SRCS=  mkdstoas.c asc_ebc.c ebc_disp.c
 
-.include <bsd.prog.mk>
+.include <bsd.hostprog.mk>
diff -r e1d27497bae2 -r fd3c93acfc4b usr.bin/tn3270/tools/mkhits/Makefile
--- a/usr.bin/tn3270/tools/mkhits/Makefile      Wed Jul 14 21:10:13 1999 +0000
+++ b/usr.bin/tn3270/tools/mkhits/Makefile      Wed Jul 14 21:36:36 1999 +0000
@@ -1,6 +1,6 @@
-#      $NetBSD: Makefile,v 1.8 1997/10/24 07:52:34 lukem Exp $
+#      $NetBSD: Makefile,v 1.9 1999/07/14 21:36:38 wrstuden Exp $
 
-PROG=  mkhits
+HOSTPROG=      mkhits
 SRCS=  mkhits.c dohits.c asc_ebc.c ebc_disp.c
 
-.include <bsd.prog.mk>
+.include <bsd.hostprog.mk>
diff -r e1d27497bae2 -r fd3c93acfc4b usr.bin/tn3270/tools/mkmake/Makefile
--- a/usr.bin/tn3270/tools/mkmake/Makefile      Wed Jul 14 21:10:13 1999 +0000
+++ b/usr.bin/tn3270/tools/mkmake/Makefile      Wed Jul 14 21:36:36 1999 +0000
@@ -1,8 +1,8 @@
-#      $NetBSD: Makefile,v 1.2 1998/04/09 00:32:38 tv Exp $
+#      $NetBSD: Makefile,v 1.3 1999/07/14 21:36:38 wrstuden Exp $
 
-PROG=  mkmake
+HOSTPROG=      mkmake
 SRCS=  mkmake.y
 
-.include <bsd.prog.mk>
+.include <bsd.hostprog.mk>
 
 .PATH: ${.CURDIR}/../../api ${.CURDIR}/../../ascii
diff -r e1d27497bae2 -r fd3c93acfc4b usr.bin/tn3270/tools/prt3270/Makefile
--- a/usr.bin/tn3270/tools/prt3270/Makefile     Wed Jul 14 21:10:13 1999 +0000
+++ b/usr.bin/tn3270/tools/prt3270/Makefile     Wed Jul 14 21:36:36 1999 +0000
@@ -1,9 +1,9 @@
-#      $NetBSD: Makefile,v 1.6 1999/03/06 16:21:58 itohy Exp $
+#      $NetBSD: Makefile,v 1.7 1999/07/14 21:36:39 wrstuden Exp $
 
-PROG=  prt3270
+HOSTPROG=      prt3270
 SRCS=  prt3270.c asc_ebc.c ebc_disp.c astosc.c
 DPSRCS=        kbd.out astosc.out
-CPPFLAGS+=-I.
+HOST_CPPFLAGS+=-I.
 
 MKHITS!=cd $(.CURDIR)/../mkhits; \
        printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}/mkhits\n" | ${MAKE} -s -f-
@@ -11,7 +11,7 @@
        cd ${.CURDIR}/../mkhits; ${MAKE}
 
 kbd.out: ${.CURDIR}/../../ctlr/hostctlr.h ${.CURDIR}/../../ctlr/${KBD} ${MKHITS}
-       ${CC} ${CPPFLAGS} -E ${.CURDIR}/../../ctlr/function.c > TMPfunc.out
+       ${HOST_CC} ${HOST_CPPFLAGS} -E ${.CURDIR}/../../ctlr/function.c > TMPfunc.out
        ${MKHITS} \
            ${.CURDIR}/../../ctlr/hostctlr.h TMPfunc.out \
            < ${.CURDIR}/../../ctlr/${KBD} > kbd.tmp
@@ -30,7 +30,7 @@
            < ${.CURDIR}/../../ctlr/${KBD} > tmp
        mv -f tmp ${.TARGET}
 
-.include <bsd.prog.mk>
+.include <bsd.hostprog.mk>
 
 .PATH: ${.CURDIR}/../../api ${.CURDIR}/../../ascii
 



Home | Main Index | Thread Index | Old Index