This is an automated email from the ASF dual-hosted git repository.
rainerjung pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat-connectors.git
The following commit(s) were added to refs/heads/main by this push:
new 2d9ea0862 Improve makefile for isapi redirector
2d9ea0862 is described below
commit 2d9ea08628976a441a760afc91aa951b7549f723
Author: Rainer Jung <[email protected]>
AuthorDate: Tue Jun 23 12:17:04 2026 +0200
Improve makefile for isapi redirector
---
native/iis/pcre2/Makefile.vc | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/native/iis/pcre2/Makefile.vc b/native/iis/pcre2/Makefile.vc
index f902a4ffd..553b54521 100644
--- a/native/iis/pcre2/Makefile.vc
+++ b/native/iis/pcre2/Makefile.vc
@@ -63,20 +63,25 @@ OBJECTS = \
$(WORKDIR)\pcre2_valid_utf.obj \
$(WORKDIR)\pcre2_xclass.obj
+ADDFILES= $(SRCDIR)\config.h $(SRCDIR)\pcre2.h $(SRCDIR)\pcre2_chartables.c
LINK_WRAPPER = $(LINK)
BUILDLIB = $(WORKDIR)\$(PROJECT).lib
-all : $(WORKDIR) additions $(BUILDLIB)
+all : $(WORKDIR) $(ADDFILES) $(BUILDLIB)
$(WORKDIR) :
@$(MAKEWORKDIR)
-additions:
- copy config.h.win src\config.h
- copy src\pcre2.h.generic src\pcre2.h
- copy src\pcre2_chartables.c.dist src\pcre2_chartables.c
+$(SRCDIR)\config.h: config.h.win
+ copy $? $@
+
+$(SRCDIR)\pcre2.h: $(SRCDIR)\pcre2.h.generic
+ copy $? $@
+
+$(SRCDIR)\pcre2_chartables.c: $(SRCDIR)\pcre2_chartables.c.dist
+ copy $? $@
{$(SRCDIR)}.c{$(WORKDIR)}.obj:
$(CC) $(CFLAGS) $(INCLUDES) $(PDBFLAGS) $<
@@ -86,3 +91,4 @@ $(BUILDLIB): $(OBJECTS)
clean:
@-$(CLEANTARGET) 2>NUL
+ del $(ADDFILES)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]