Source-Changes-HG archive

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

[src/trunk]: src/bin/dd .ifdef SMALLPROG, compile with -DNO_CONV and don't co...



details:   https://anonhg.NetBSD.org/src/rev/4846216eb1c8
branches:  trunk
changeset: 521636:4846216eb1c8
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sat Feb 02 13:03:21 2002 +0000

description:
.ifdef SMALLPROG, compile with -DNO_CONV and don't compile in conv_tab.o

diffstat:

 bin/dd/Makefile |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 77bb7d72e81c -r 4846216eb1c8 bin/dd/Makefile
--- a/bin/dd/Makefile   Sat Feb 02 12:41:14 2002 +0000
+++ b/bin/dd/Makefile   Sat Feb 02 13:03:21 2002 +0000
@@ -1,8 +1,14 @@
-#      $NetBSD: Makefile,v 1.8 2001/11/25 10:50:06 lukem Exp $
+#      $NetBSD: Makefile,v 1.9 2002/02/02 13:03:21 lukem Exp $
 #      @(#)Makefile    8.1 (Berkeley) 5/31/93
 
 PROG=  dd
-SRCS=  args.c conv.c conv_tab.c dd.c misc.c position.c strsuftoull.c
+SRCS=  args.c conv.c dd.c misc.c position.c strsuftoull.c
+
+.ifdef SMALLPROG
+CPPFLAGS+=     -DNO_CONV
+.else
+SRCS+=         conv_tab.c
+.endif
 
 WARNS=2
 



Home | Main Index | Thread Index | Old Index