From b3e23373bdf886d11360c04801f6633a646055a5 Mon Sep 17 00:00:00 2001 From: Gunter Knauf Date: Sun, 28 Jan 2007 14:43:25 +0000 Subject: use var for awk. --- lib/Makefile.netware | 8 +++++++- src/Makefile.netware | 3 ++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/lib/Makefile.netware b/lib/Makefile.netware index ad3b1ede7..3621ebda7 100644 --- a/lib/Makefile.netware +++ b/lib/Makefile.netware @@ -68,6 +68,7 @@ ifdef METROWERKS else CC = gcc endif +AWK = awk YACC = bison -y CP = cp -afv # RM = rm -f @@ -198,7 +199,7 @@ $(OBJDIR)/%.o: %.c $(OBJDIR)/version.inc: ../include/curl/curlver.h $(OBJDIR) @echo Creating $@ - @awk -f ../packages/NetWare/get_ver.awk $< > $@ + @$(AWK) -f ../packages/NetWare/get_ver.awk $< > $@ dist: all -$(RM) $(OBJDIR)/*.o $(OBJDIR)/$(TARGET).map $(OBJDIR)/$(TARGET).ncv @@ -444,6 +445,11 @@ ifdef WITH_SSL else @echo SSL support: no endif +ifdef WITH_SSH2 + @echo SSH2 support: enabled (libssh2) +else + @echo SSH2 support: no +endif ifdef WITH_ZLIB @echo zlib support: enabled else diff --git a/src/Makefile.netware b/src/Makefile.netware index 7eac973a2..ab43274c7 100644 --- a/src/Makefile.netware +++ b/src/Makefile.netware @@ -68,6 +68,7 @@ ifdef METROWERKS else CC = gcc endif +AWK = awk CP = cp -afv # RM = rm -f # if you want to mark the target as MTSAFE you will need a tool for @@ -180,7 +181,7 @@ $(OBJDIR)/%.o: %.c $(OBJDIR)/version.inc: $(CURL_INC)/curl/curlver.h $(OBJDIR) @echo Creating $@ - @awk -f ../packages/NetWare/get_ver.awk $< > $@ + @$(AWK) -f ../packages/NetWare/get_ver.awk $< > $@ dist: all -$(RM) $(OBJDIR)/*.o $(OBJDIR)/$(TARGET).map $(OBJDIR)/$(TARGET).ncv -- cgit v1.2.3