diff options
author | Yves Orton <demerphq@gmail.com> | 2022-12-09 11:00:17 +0100 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2022-12-09 16:19:29 +0100 |
commit | 85900e28cc250e1c4603f11073b77d0c6b5cff46 (patch) | |
tree | acc41c05f436dd1063459753dda9b557f6261e6c /win32/Makefile | |
parent | 6a6e5d037dad0702bc219f8265505037e1772552 (diff) | |
download | perl-85900e28cc250e1c4603f11073b77d0c6b5cff46.tar.gz |
regcomp.c - decompose into smaller files
This splits a bunch of the subcomponents of the regex engine into
smaller files.
regcomp_debug.c
regcomp_internal.h
regcomp_invlist.c
regcomp_study.c
regcomp_trie.c
The only real change besides to the build machine to achieve the split
is to also adds some new defines which can be used in embed.fnc to control
exports without having to enumerate /every/ regex engine file. For
instance all of regcomp*.c defines PERL_IN_REGCOMP_ANY, and this is used
in embed.fnc to manage exports.
Diffstat (limited to 'win32/Makefile')
-rw-r--r-- | win32/Makefile | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/win32/Makefile b/win32/Makefile index 4b347bde9f..b403767586 100644 --- a/win32/Makefile +++ b/win32/Makefile @@ -699,6 +699,10 @@ MICROCORE_SRC = \ ..\pp_sys.c \ ..\reentr.c \ ..\regcomp.c \ + ..\regcomp_trie.c \ + ..\regcomp_debug.c \ + ..\regcomp_invlist.c \ + ..\regcomp_study.c \ ..\regexec.c \ ..\run.c \ ..\scope.c \ @@ -747,6 +751,7 @@ CORE_NOCFG_H = \ ..\pp.h \ ..\proto.h \ ..\regcomp.h \ + ..\regcomp_internal.h \ ..\regexp.h \ ..\scope.h \ ..\sv.h \ @@ -848,7 +853,15 @@ all : ..\git_version.h $(GLOBEXE) $(CONFIGPM) \ regnodes : ..\regnodes.h -..\regcomp$(o) : ..\regnodes.h ..\regcharclass.h +..\regcomp$(o) : ..\regcomp.h ..\regcomp_internal.h ..\regnodes.h ..\regcharclass.h + +..\regcomp_debug$(o) : ..\regcomp.h ..\regcomp_internal.h ..\regnodes.h ..\regcharclass.h + +..\regcomp_invlist$(o) : ..\regcomp.h ..\regcomp_internal.h ..\regnodes.h ..\regcharclass.h + +..\regcomp_study$(o) : ..\regcomp.h ..\regcomp_internal.h ..\regnodes.h ..\regcharclass.h + +..\regcomp_trie$(o) : ..\regcomp.h ..\regcomp_internal.h ..\regnodes.h ..\regcharclass.h ..\regexec$(o) : ..\regnodes.h ..\regcharclass.h |