File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -167,8 +167,8 @@ TARGET_nlm = \
167167 $(OBJDIR)/proxylbm_traf.nlm \
168168 $(EOLIST)
169169
170- # If WITH_MOD_SERF and SERFSRC have been defined then build the mod_serf module
171- ifdef WITH_MOD_SERF
170+ # If WITH_SERF and SERFSRC have been defined then build the mod_serf module
171+ ifdef WITH_SERF
172172ifneq "$(SERFSRC)" ""
173173ifneq "$(ZLIBSDK)" ""
174174TARGET_nlm += \
Original file line number Diff line number Diff line change @@ -20,6 +20,13 @@ V_PATH = \
2020 $(SERFSRC)/buckets \
2121 $(ZLIBSDK) \
2222 $(EOLIST)
23+
24+ ifeq "$(wildcard $(SERFSRC)/incoming.c)" "$(SERFSRC)/incoming.c"
25+ V_PATH += \
26+ $(SERFSRC)/auth \
27+ $(EOLIST)
28+ endif
29+
2330#
2431# These directories will be at the beginning of the include list, followed by
2532# INCDIRS
@@ -197,14 +204,30 @@ FILES_nlm_objs += \
197204 $(OBJDIR)/file_buckets.o \
198205 $(OBJDIR)/headers_buckets.o \
199206 $(OBJDIR)/limit_buckets.o \
200- $(OBJDIR)/mmap_buckets.o \
201207 $(OBJDIR)/request_buckets.o \
202208 $(OBJDIR)/response_buckets.o \
203209 $(OBJDIR)/simple_buckets.o \
204210 $(OBJDIR)/socket_buckets.o \
205211 $(OBJDIR)/ssl_buckets.o \
206212 $(EOLIST)
207213
214+ ifeq "$(wildcard $(SERFSRC)/incoming.c)" "$(SERFSRC)/incoming.c"
215+ ifeq "$(wildcard $(SERFSRC)/buckets/iovec_buckets.c)" "$(SERFSRC)/buckets/iovec_buckets.c"
216+ FILES_nlm_objs += \
217+ $(OBJDIR)/auth.o \
218+ $(OBJDIR)/auth_basic.o \
219+ $(OBJDIR)/auth_digest.o \
220+ $(OBJDIR)/bwtp_buckets.o \
221+ $(OBJDIR)/incoming.o \
222+ $(OBJDIR)/iovec_buckets.o \
223+ $(OBJDIR)/outgoing.o \
224+ $(OBJDIR)/ssltunnel.o \
225+ $(EOLIST)
226+ else
227+ $(error This libserf version is broken for NetWare platform!)
228+ endif
229+ endif
230+
208231# Build zlib from source
209232FILES_nlm_objs += \
210233 $(OBJDIR)/adler32.o \
You can’t perform that action at this time.
0 commit comments