Nmap Development mailing list archives

[PATCH] Don't print 'Compiling n(base|sock)' twice during compilation


From: "Kris Katterjohn" <kjak () ispwest com>
Date: Mon, 27 Feb 2006 17:56:48 -0800

This prevents "Compiling nbase" and "Compiling nsock" from being printed twice
during compilation. All the 'echo "Compiling ..."'s are done in the main
Makefile.in, including the "Compiling libpcap" etc.

The only reason I can think of for having it in the nbase and nsock Makefile.in's
is so that the "Compiling ..." will be printed if somebody wants to just build
that directory (ie just making nbase or just making nsock). If this is the case,
then maybe the 'echo "Compiling ..."' should be removed from the main Makefile.in
for nbase and nsock.

Thanks,
Kris Katterjohn

--- nbase/Makefile.in.orig      2005-04-23 00:51:09.000000000 -0500
+++ nbase/Makefile.in   2006-02-27 19:43:03.000000000 -0600
@@ -27,7 +27,6 @@ OBJS = @LIBOBJS@
 all: $(TARGET) 
 
 $(TARGET): $(DEPS) $(OBJS)
-       @echo Compiling libnbase
        rm -f $@
        $(AR) cr $@ $(OBJS)
        $(RANLIB) $@


--- nsock/src/Makefile.in.orig  2005-04-14 20:23:53.000000000 -0500
+++ nsock/src/Makefile.in       2006-02-27 19:43:01.000000000 -0600
@@ -40,13 +40,11 @@ DEPS = error.h filespace.h gh_list.h nso
 all: $(TARGET) 
 
 $(TARGET): $(DEPS) $(OBJS)
-       @echo Compiling libnsock
        rm -f $@
        $(AR) cr $@ $(OBJS)
        $(RANLIB) $@
 
 $(NBASEDIR)/libnbase.a: $(NBASEDIR)/Makefile
-       @echo Compiling libnbase;
        cd $(NBASEDIR) && $(MAKE)
 
 clean:




_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev


Current thread: