From d6e31f1389a635396846949f843bcda4110758bb Mon Sep 17 00:00:00 2001 From: nishi Date: Thu, 15 Feb 2024 07:25:09 +0000 Subject: [PATCH] fixing the nntp flag git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@228 d27a3e52-49c5-7645-884c-6793ebffc270 --- Library/Makefile | 6 +++++- Makefile | 4 ++++ W3Version.h.m4 | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Library/Makefile b/Library/Makefile index 7ee0d3d..1f00f13 100644 --- a/Library/Makefile +++ b/Library/Makefile @@ -1,7 +1,7 @@ # $Id$ .PHONY: clean install -OBJS = ./Core.o ./Util.o ./DNS.o ./NNTP.o ./URL.o ./Tag.o +OBJS = ./Core.o ./Util.o ./DNS.o ./URL.o ./Tag.o include ./protocol.mk @@ -42,6 +42,10 @@ ifneq ($(FTP),NO) OBJS += ./FTP.o endif +ifneq ($(NNTP),NO) +OBJS += ./NNTP.o +endif + ifeq ($(WINDOWS),YES) ./w3.dll: $(OBJS) $(CC) $(LDFLAGS) -fstack-protector -L../openssl/lib/mingw/$(WINARCH) -L . -shared -Wl,--out-implib,./w3.lib -o $@ $^ $(LIBS) diff --git a/Makefile b/Makefile index e8adc3c..619d3ca 100644 --- a/Makefile +++ b/Makefile @@ -77,6 +77,10 @@ ifneq ($(NEX),NO) FLAGS += -DNEX_SUPPORT endif +ifneq ($(NNTP),NO) +FLAGS += -DNNTP_SUPPORT +endif + ifneq ($(FTP),NO) FLAGS += -DFTP_SUPPORT endif diff --git a/W3Version.h.m4 b/W3Version.h.m4 index 716fd09..cdc2801 100644 --- a/W3Version.h.m4 +++ b/W3Version.h.m4 @@ -6,7 +6,7 @@ extern "C" { #endif -#define LIBW3_VERSION "2.14" \ +#define LIBW3_VERSION "2.15" \ SUFFIX ifdef(`HTTP_SUPPORT', `#define LIBW3_HTTP_SUPPORT', `') -- 2.43.0