Source-Changes-HG archive

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

[src/trunk]: src/lib/libc move -DINET6 upwards, into lib/libc/Makefile.



details:   https://anonhg.NetBSD.org/src/rev/2f3283747746
branches:  trunk
changeset: 481321:2f3283747746
user:      itojun <itojun%NetBSD.org@localhost>
date:      Wed Jan 26 02:46:36 2000 +0000

description:
move -DINET6 upwards, into lib/libc/Makefile.
- we need it for lib/libc/rpc soon
- this is not clear to add CPPFLAGS in subdir/Makefile.inc (as it affect other
  subdirs as well)

diffstat:

 lib/libc/Makefile         |  3 ++-
 lib/libc/net/Makefile.inc |  3 +--
 2 files changed, 3 insertions(+), 3 deletions(-)

diffs (34 lines):

diff -r 136571917de7 -r 2f3283747746 lib/libc/Makefile
--- a/lib/libc/Makefile Wed Jan 26 02:25:47 2000 +0000
+++ b/lib/libc/Makefile Wed Jan 26 02:46:36 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.86 2000/01/23 07:10:13 mycroft Exp $
+#      $NetBSD: Makefile,v 1.87 2000/01/26 02:46:37 itojun Exp $
 #      @(#)Makefile    8.2 (Berkeley) 2/3/94
 #
 # All library objects contain sccsid strings by default; they may be
@@ -20,6 +20,7 @@
 LIB=           c
 CPPFLAGS+=     -D_LIBC -DNLS -DYP -DHESIOD -DLIBC_SCCS -DSYSLIBC_SCCS \
                -D_REENTRANT -I${.CURDIR}/include
+CPPFLAGS+=     -DINET6
 
 ARCHSUBDIR=    ${MACHINE_ARCH:C/mipse[bl]/mips/}
 ARCHDIR=       ${.CURDIR}/arch/${ARCHSUBDIR}
diff -r 136571917de7 -r 2f3283747746 lib/libc/net/Makefile.inc
--- a/lib/libc/net/Makefile.inc Wed Jan 26 02:25:47 2000 +0000
+++ b/lib/libc/net/Makefile.inc Wed Jan 26 02:46:36 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.46 1999/12/12 11:20:04 itojun Exp $
+#      $NetBSD: Makefile.inc,v 1.47 2000/01/26 02:46:36 itojun Exp $
 #      @(#)Makefile.inc        8.2 (Berkeley) 9/5/93
 
 # net sources
@@ -18,7 +18,6 @@
 
 # IPv6
 SRCS+= getaddrinfo.c getnameinfo.c ifname.c ip6opt.c rthdr.c vars6.c
-CPPFLAGS+=     -DINET6
 # need to revisit
 #SRCS+=        name6.c rresvport_af.c freehostent.c
 #CPPFLAGS+=    -DUSE_GETIPNODEBY



Home | Main Index | Thread Index | Old Index