1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

use var for awk.

This commit is contained in:
Gunter Knauf 2007-01-28 14:43:25 +00:00
parent e5adab39b1
commit b3e23373bd
2 changed files with 9 additions and 2 deletions

View File

@ -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

View File

@ -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