Source-Changes-HG archive

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

[src/trunk]: src/share/mk Remove SHAREDSTRINGS logic for host programs; this ...



details:   https://anonhg.NetBSD.org/src/rev/3d7bf4f955f9
branches:  trunk
changeset: 517565:3d7bf4f955f9
user:      tv <tv%NetBSD.org@localhost>
date:      Wed Nov 14 23:03:06 2001 +0000

description:
Remove SHAREDSTRINGS logic for host programs; this is unnecessary here.

diffstat:

 share/mk/bsd.hostprog.mk |  23 +----------------------
 1 files changed, 1 insertions(+), 22 deletions(-)

diffs (37 lines):

diff -r e6321482cd17 -r 3d7bf4f955f9 share/mk/bsd.hostprog.mk
--- a/share/mk/bsd.hostprog.mk  Wed Nov 14 23:02:02 2001 +0000
+++ b/share/mk/bsd.hostprog.mk  Wed Nov 14 23:03:06 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.hostprog.mk,v 1.20 2001/11/13 17:36:14 tv Exp $
+#      $NetBSD: bsd.hostprog.mk,v 1.21 2001/11/14 23:03:06 tv Exp $
 #      @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94
 
 .include <bsd.init.mk>
@@ -59,27 +59,6 @@
 .endif
 
 ##### Build rules
-.if defined(SHAREDSTRINGS)
-CLEANFILES+=strings
-.c.lo:
-       ${HOST_CC} -E ${CFLAGS} ${.IMPSRC} | xstr -c -
-       @${HOST_CC} ${CFLAGS} -c x.c -o ${.TARGET}
-       @rm -f x.c
-
-.cc.lo:
-       ${HOST_CXX} -E ${CXXFLAGS} ${.IMPSRC} | xstr -c -
-       @mv -f x.c x.cc
-       @${HOST_CXX} ${CXXFLAGS} -c x.cc -o ${.TARGET}
-       @rm -f x.cc
-
-.C.lo:
-       ${HOST_CXX} -E ${CXXFLAGS} ${.IMPSRC} | xstr -c -
-       @mv -f x.c x.C
-       @${HOST_CXX} ${CXXFLAGS} -c x.C -o ${.TARGET}
-       @rm -f x.C
-.endif
-
-
 .if defined(HOSTPROG)
 SRCS?=         ${HOSTPROG}.c
 



Home | Main Index | Thread Index | Old Index