1$! Configure procedure 2$! (c) Alexey Chupahin 11-APR-2024 3$! alexey@vaxman.de, alexey_chupahin@mail.ru 4$! 5$! 6$ SET NOON 7$SET NOVER 8$WRITE SYS$OUTPUT " " 9$WRITE SYS$OUTPUT "Configuring PCRE2 library for OpenVMS " 10$WRITE SYS$OUTPUT "(c) Alexey Chupahin CHAPG" 11$WRITE SYS$OUTPUT " " 12$! Checking architecture 13$DECC = F$SEARCH("SYS$SYSTEM:DECC$COMPILER.EXE") .NES. "" 14$ IF F$GETSYI("ARCH_TYPE").EQ.1 THEN CPU = "VAX" 15$ IF F$GETSYI("ARCH_TYPE").EQ.2 THEN CPU = "Alpha" 16$ IF F$GETSYI("ARCH_TYPE").EQ.3 THEN CPU = "I64" 17$ IF F$GETSYI("ARCH_TYPE").EQ.4 THEN CPU = "x86" 18$WRITE SYS$OUTPUT "Checking architecture ... ", CPU 19$IF ( (CPU.EQS."Alpha").OR.(CPU.EQS."I64").OR(CPU.EQS."x86") ) 20$ THEN 21$ SHARED=64 22$ ELSE 23$ SHARED=32 24$ENDIF 25$! 26$IF (DECC) THEN $WRITE SYS$OUTPUT "Compiler ... DEC C" 27$IF (.NOT. DECC) THEN $WRITE SYS$OUTPUT "BAD compiler" GOTO EXIT 28$MMS = F$SEARCH("SYS$SYSTEM:MMS.EXE") .NES. "" 29$MMK = F$TYPE(MMK) 30$IF (MMS .OR. MMK.NES."") THEN GOTO TEST_LIBRARIES 31$! I cant find any make tool 32$ WRITE SYS$OUTPUT "Install MMS or MMK" 33$GOTO EXIT 34$!PERL = F$TYPE(MMK) 35$!IF (PERL.NES."") THEN GOTO TEST_LIBRARIES 36$!WRITE SYS$OUTPUT "Install PERL" 37$!GOTO EXIT 38$! 39$! 40$! Is it package root directory? If no, go to [-] 41$ IF (F$SEARCH("[]VMS.DIR").EQS."") .AND. (F$SEARCH("[]vms.dir").EQS."") 42$ THEN 43$ SET DEF [-] 44$ ENDIF 45$! 46$TEST_LIBRARIES: 47$! Setting as MAKE utility one of MMS or MMK. I prefer MMS. 48$IF (MMK.NES."") THEN MAKE="MMK" 49$IF (MMS) THEN MAKE="MMS" 50$WRITE SYS$OUTPUT "Checking build utility ... ''MAKE'" 51$!WRITE SYS$OUTPUT "Checking PERL ... found" 52$WRITE SYS$OUTPUT " " 53$! 54$! 55$! Check files and ODS-2. unzip makes files FILE.H.GENERIC like FILE_H.GENERIC. Should rename to FILE.H_GENERIC 56$IF F$SEARCH("[.SRC]PCRE2_H.GENERIC") .NES. "" 57$ THEN 58$ REN [.SRC]PCRE2_H.GENERIC [.SRC]PCRE2.H_GENERIC 59$ ELSE 60$ IF F$SEARCH("[.SRC]PCRE2.H_GENERIC") .EQS. "" 61$ THEN 62$ WRITE SYS$OUTPUT "Not ODS-2 volume, or PCRE2_H.GENERIC not found" 63$ EXIT 64$ ENDIF 65$ENDIF 66$IF F$SEARCH("[.SRC]PCRE2_CHARTABLES_C.DIST") .NES. "" 67$ THEN 68$ REN [.SRC]PCRE2_CHARTABLES_C.DIST [.SRC]PCRE2_CHARTABLES.C_DIST 69$ ELSE 70$ IF F$SEARCH("[.SRC]PCRE2_CHARTABLES.C_DIST") .EQS. "" 71$ THEN 72$ WRITE SYS$OUTPUT "Not ODS-2 volume, or PCRE2_CHARTABLES_C.DIST not found" 73$ EXIT 74$ ENDIF 75$ENDIF 76$WRITE SYS$OUTPUT "Source Files OK" 77$! 78$! 79$I18 = F$SEARCH("SYS$I18N_ICONV:ISO8859-1_UTF-8.ICONV") .NES. "" 80$IF (I18) 81$ THEN 82$ WRITE SYS$OUTPUT "Found I18 extension ICONV codes" 83$!"Checking for iconv " 84$ DEFINE SYS$ERROR _NLA0: 85$ DEFINE SYS$OUTPUT _NLA0: 86$ CC/OBJECT=TEST.OBJ SYS$INPUT 87#include <stdio.h> 88#include <iconv.h> 89#include <errno.h> 90#include <stdlib.h> 91 92int main () 93{ 94 /* */ 95 /* Declare variables to be used */ 96 /* */ 97 char fromcodeset[30]; 98 char tocodeset[30]; 99 int iconv_opened; 100 iconv_t iconv_struct; /* Iconv descriptor */ 101 102 /* */ 103 /* Initialize variables */ 104 /* */ 105 sprintf(fromcodeset,"UTF-8"); 106 sprintf(tocodeset,"ISO8859-1"); 107 iconv_opened = FALSE; 108 109 /* */ 110 /* Attempt to create a conversion descriptor for the codesets */ 111 /* specified. If the return value from iconv_open is -1 then */ 112 /* an error has occurred. Check value of errno. */ 113 /* */ 114 if ((iconv_struct = iconv_open (tocodeset, fromcodeset)) == (iconv_t)-1) 115 { 116 /* */ 117 /* Check the value of errno */ 118 /* */ 119 switch (errno) 120 { 121 case EMFILE: 122 case ENFILE: 123 printf("Too many iconv conversion files open\n"); 124 exit(2); 125 break; 126 127 case ENOMEM: 128 printf("Not enough memory\n"); 129 printf("Checking iconv ..... no\n"); 130 exit(2); 131 break; 132 133 case EINVAL: 134 printf("Unsupported conversion\n"); 135 exit(2); 136 break; 137 138 default: 139 printf("Unexpected error from iconv_open\n"); 140 exit(2); 141 break; 142 } 143 } 144 else 145 /* */ 146 /* Successfully allocated a conversion descriptor */ 147 /* */ 148 iconv_opened = TRUE; 149 150 /* */ 151 /* Was a conversion descriptor allocated */ 152 /* */ 153 if (iconv_opened) 154 { 155 /* */ 156 /* Attempt to deallocate the conversion descriptor. If */ 157 /* iconv_close returns -1 then an error has occurred. */ 158 /* */ 159 if (iconv_close (iconv_struct) == -1) 160 { 161 /* */ 162 /* An error occurred. Check the value of errno */ 163 /* */ 164 switch (errno) 165 { 166 case EBADF: 167 printf("Conversion descriptor is invalid\n"); 168 exit(2); 169 break; 170 default: 171 break; 172 } 173 } 174 else 175 printf("Checking iconv ..... yes\n"); 176 } 177 return(1); 178} 179$! 180$TMP = $STATUS 181$DEASS SYS$ERROR 182$DEAS SYS$OUTPUT 183$!WRITE SYS$OUTPUT TMP 184$IF (TMP .NE. %X10B90001) 185$ THEN 186$ HAVE_ICONV=0 187$ GOTO NEXT0 188$ENDIF 189$DEFINE SYS$ERROR _NLA0: 190$DEFINE SYS$OUTPUT _NLA0: 191$LINK/EXE=TEST TEST 192$TMP = $STATUS 193$DEAS SYS$ERROR 194$DEAS SYS$OUTPUT 195$!WRITE SYS$OUTPUT TMP 196$IF (TMP .NE. %X10000001) 197$ THEN 198$ HAVE_ICONV=0 199$ GOTO NEXT0 200$ ELSE 201$ HAVE_ICONV=1 202$ENDIF 203$NEXT0: 204$IF (HAVE_ICONV.EQ.1) 205$ THEN 206$ WRITE SYS$OUTPUT "Checking for iconv ... Yes" 207$ ELSE 208$ WRITE SYS$OUTPUT "Checking for iconv ... No" 209$ENDIF 210$! 211$! 212$! Checking for BZIP2 library 213$! 214$ DEFINE SYS$ERROR _NLA0: 215$ DEFINE SYS$OUTPUT _NLA0: 216$ CC/OBJECT=TEST.OBJ/INCLUDE=(BZ2LIB) SYS$INPUT 217 #include <stdlib.h> 218 #include <stdio.h> 219 #include <bzlib.h> 220 int main() 221 { 222 printf("checking version bzip2 library: %s\n",BZ2_bzlibVersion()); 223 } 224$TMP = $STATUS 225$DEASS SYS$ERROR 226$DEAS SYS$OUTPUT 227$!WRITE SYS$OUTPUT TMP 228$IF (TMP .NE. %X10B90001) 229$ THEN 230$ HAVE_BZIP2=0 231$ GOTO ERR0 232$ENDIF 233$DEFINE SYS$ERROR _NLA0: 234$DEFINE SYS$OUTPUT _NLA0: 235$!Testing for CHAPG BZIP2 236$! 237$LINK/EXE=TEST TEST,BZ2LIB:BZIP2/OPT 238$TMP = $STATUS 239$DEAS SYS$ERROR 240$DEAS SYS$OUTPUT 241$IF (TMP .NE. %X10000001) 242$ THEN 243$ HAVE_BZIP2=0 244$ GOTO ERR0 245$ ELSE 246$ HAVE_BZIP2=1 247$ENDIF 248$ERR0: 249$IF (HAVE_BZIP2.EQ.1) 250$ THEN 251$ WRITE SYS$OUTPUT "Checking for CHAPG bzip2 library ... Yes" 252$ RUN TEST 253$ GOTO NEXT4 254$ ELSE 255$ WRITE SYS$OUTPUT "Checking for correct bzip2 library ... No" 256$ WRITE SYS$OUTPUT "To get bzip2 archives support, please download" 257$ WRITE SYS$OUTPUT "and install good library ported by Alexey Chupahin" 258$ WRITE SYS$OUTPUT "from openvms clamav site http://vaxvms.org/clamav/" 259$ WRITE SYS$OUTPUT "" 260$ GOTO EXIT 261$ENDIF 262$NEXT4: 263$! 264$! 265$!"Checking for CHAPG zlib library " 266$DEFINE SYS$ERROR _NLA0: 267$DEFINE SYS$OUTPUT _NLA0: 268$ CC/OBJECT=TEST.OBJ/INCLUDE=(ZLIB) SYS$INPUT 269 #include <stdlib.h> 270 #include <stdio.h> 271 #include <string.h> 272 #include <zlib.h> 273 int main() 274 { 275 printf("checking version zlib: %s\n",zlibVersion()); 276 // printf("checking zlib is correct "); 277 } 278 279$TMP = $STATUS 280$DEASS SYS$ERROR 281$DEAS SYS$OUTPUT 282$IF (TMP .NE. %X10B90001) 283$ THEN 284$ HAVE_ZLIB=0 285$ GOTO ERR4 286$ENDIF 287$DEFINE SYS$ERROR _NLA0: 288$DEFINE SYS$OUTPUT _NLA0: 289$! 290$LINK/EXE=TEST TEST,ZLIB:ZLIB.OPT/OPT 291$TMP = $STATUS 292$DEAS SYS$ERROR 293$DEAS SYS$OUTPUT 294$IF (TMP .NE. %X10000001) 295$ THEN 296$ HAVE_ZLIB=0 297$ GOTO ERR4 298$ ELSE 299$ HAVE_ZLIB=1 300$ENDIF 301$ERR4: 302$IF (HAVE_ZLIB.EQ.1) 303$ THEN 304$ WRITE SYS$OUTPUT "Checking for CHAPG zlib library ... Yes" 305$ RUN TEST 306$ GOTO NEXT5 307$ ELSE 308$ WRITE SYS$OUTPUT "Checking for CHAPG zlib library ... No" 309$ WRITE SYS$OUTPUT "Please install ZLIB from" 310$ WRITE SYS$OUTPUT "http://vaxvms.org/libsdl/required.html" 311$ GOTO EXIT 312$ENDIF 313$! 314$NEXT5: 315 316$! 317$!WRITING BUILD FILES 318$OPEN/WRITE OUT BUILD.COM 319$ WRITE OUT "$","SET DEF [.SRC]" 320$ WRITE OUT "$",MAKE 321$ WRITE OUT "$ CURRENT = F$ENVIRONMENT (""DEFAULT"") " 322$ WRITE OUT "$","SET DEF [-]" 323$ WRITE OUT "$CLAM=CURRENT" 324$ WRITE OUT "$OPEN/WRITE OUTT PCRE2$STARTUP.COM" 325$ WRITE OUT "$WRITE OUTT ""DEFINE PCRE2 ","'","'","CLAM'"" " 326$ WRITE OUT "$WRITE OUTT ""DEFINE PCRE2$SHR ","'","'","CLAM'PCRE2$SHR.EXE"" " 327$ WRITE OUT "$WRITE OUTT ""PCRE2GREP:==$", "'","'","CLAM'PCRE2GREP.EXE""" 328$ WRITE OUT "$CLOSE OUTT" 329$ WRITE OUT "$WRITE SYS$OUTPUT "" "" " 330$ WRITE OUT "$WRITE SYS$OUTPUT ""***************************************************************************** "" " 331$ WRITE OUT "$WRITE SYS$OUTPUT ""Compilation is completed."" " 332$ WRITE OUT "$WRITE SYS$OUTPUT ""PCRE2$STARTUP.COM is created. "" " 333$ WRITE OUT "$WRITE SYS$OUTPUT ""This file setups all logicals needed."" " 334$ WRITE OUT "$WRITE SYS$OUTPUT ""It should be executed before using PCRE2 Library. "" " 335$ WRITE OUT "$WRITE SYS$OUTPUT ""Use PCRE2:PCRE2.OPT to link you program"" " 336$ WRITE OUT "$WRITE SYS$OUTPUT ""PCRE2GREP grep utility is installed here for your needs "" " 337$ WRITE OUT "$WRITE SYS$OUTPUT ""***************************************************************************** "" " 338$CLOSE OUT 339$! BUILD.COM finished 340$ WRITE SYS$OUTPUT "BUILD.COM has been created" 341$! 342$!Creating OPT.OPT file containig external libraries for linker 343$OPEN/WRITE OUT [.SRC]PCRE2.OPT 344$IF (SHARED.GT.0) THEN WRITE OUT "PCRE2:PCRE2$SHR/SHARE" 345$IF (SHARED.EQ.0) 346$ THEN 347$ WRITE OUT "PCRE2:PCRE2/LIB" 348$ENDIF 349$CLOSE OUT 350$WRITE SYS$OUTPUT "PCRE2.OPT has been created" 351$IF (SHARED.EQ.64) 352$ THEN 353$ COPY SYS$INPUT [.SRC]PCRE2$DEF.OPT 354! 355case_sensitive=NO 356symbol_vector = (PCRE2_CONFIG_8 = PROCEDURE) 357symbol_vector = (PCRE2_MAKETABLES_8 = PROCEDURE) 358symbol_vector = (PCRE2_MAKETABLES_FREE_8 = PROCEDURE) 359symbol_vector = (PCRE2_CODE_COPY_8 = PROCEDURE) 360symbol_vector = (PCRE2_CODE_FREE_8 = PROCEDURE) 361symbol_vector = (_PCRE2_CHECK_ESCAPE_8 = PROCEDURE) 362symbol_vector = (PCRE2_COMPILE_8 = PROCEDURE) 363symbol_vector = (PCRE2_CODE_COPY_WITH_TABLES_8 = PROCEDURE) 364symbol_vector = (PCRE2_GET_ERROR_MESSAGE_8 = PROCEDURE) 365symbol_vector = (PCRE2_MATCH_DATA_CREATE_8 = PROCEDURE) 366symbol_vector = (VMS_PCRE2_GET_M_D_HPFRAM_S_8 = PROCEDURE) 367symbol_vector = (PCRE2_GET_MATCH_DATA_SIZE_8 = PROCEDURE) 368symbol_vector = (PCRE2_GET_STARTCHAR_8 = PROCEDURE) 369symbol_vector = (PCRE2_GET_OVECTOR_COUNT_8 = PROCEDURE) 370symbol_vector = (PCRE2_GET_OVECTOR_POINTER_8 = PROCEDURE) 371symbol_vector = (PCRE2_GET_MARK_8 = PROCEDURE) 372symbol_vector = (PCRE2_MATCH_DATA_FREE_8 = PROCEDURE) 373symbol_vector = (VMS_PCRE2_M_D_CRT_FR_PATT_8 = PROCEDURE) 374symbol_vector = (PCRE2_MATCH_8 = PROCEDURE) 375symbol_vector = (PCRE2_PATTERN_INFO_8 = PROCEDURE) 376symbol_vector = (PCRE2_CALLOUT_ENUMERATE_8 = PROCEDURE) 377symbol_vector = (PCRE2_SET_GLOB_ESCAPE_8 = PROCEDURE) 378symbol_vector = (PCRE2_SET_GLOB_SEPARATOR_8 = PROCEDURE) 379symbol_vector = (VMS_PCRE2_SET_RCRS_MEM_MNG_8 = PROCEDURE) 380symbol_vector = (PCRE2_SET_DEPTH_LIMIT_8 = PROCEDURE) 381symbol_vector = (PCRE2_SET_RECURSION_LIMIT_8 = PROCEDURE) 382symbol_vector = (PCRE2_SET_OFFSET_LIMIT_8 = PROCEDURE) 383symbol_vector = (PCRE2_SET_MATCH_LIMIT_8 = PROCEDURE) 384symbol_vector = (PCRE2_SET_HEAP_LIMIT_8 = PROCEDURE) 385symbol_vector = (PCRE2_SET_SUBSTITUTE_CALLOUT_8 = PROCEDURE) 386symbol_vector = (PCRE2_SET_CALLOUT_8 = PROCEDURE) 387symbol_vector = (VMS_PCRE2_SET_CMPL_RCRS_GRD_8 = PROCEDURE) 388symbol_vector = (VMS_PCRE2_SET_CMPL_EXT_OPT_8 = PROCEDURE) 389symbol_vector = (PCRE2_SET_PARENS_NEST_LIMIT_8 = PROCEDURE) 390symbol_vector = (PCRE2_SET_MAX_VARLOOKBEHIND_8 = PROCEDURE) 391symbol_vector = (PCRE2_SET_NEWLINE_8 = PROCEDURE) 392symbol_vector = (PCRE2_SET_MAX_PATTERN_LENGTH_8 = PROCEDURE) 393symbol_vector = (PCRE2_SET_BSR_8 = PROCEDURE) 394symbol_vector = (PCRE2_SET_CHARACTER_TABLES_8 = PROCEDURE) 395symbol_vector = (PCRE2_CONVERT_CONTEXT_FREE_8 = PROCEDURE) 396symbol_vector = (PCRE2_MATCH_CONTEXT_FREE_8 = PROCEDURE) 397symbol_vector = (PCRE2_COMPILE_CONTEXT_FREE_8 = PROCEDURE) 398symbol_vector = (PCRE2_GENERAL_CONTEXT_FREE_8 = PROCEDURE) 399symbol_vector = (PCRE2_CONVERT_CONTEXT_COPY_8 = PROCEDURE) 400symbol_vector = (PCRE2_MATCH_CONTEXT_COPY_8 = PROCEDURE) 401symbol_vector = (PCRE2_COMPILE_CONTEXT_COPY_8 = PROCEDURE) 402symbol_vector = (PCRE2_GENERAL_CONTEXT_COPY_8 = PROCEDURE) 403symbol_vector = (_PCRE2_MEMCTL_MALLOC_8 = PROCEDURE) 404symbol_vector = (PCRE2_CONVERT_CONTEXT_CREATE_8 = PROCEDURE) 405symbol_vector = (PCRE2_MATCH_CONTEXT_CREATE_8 = PROCEDURE) 406symbol_vector = (PCRE2_COMPILE_CONTEXT_CREATE_8 = PROCEDURE) 407symbol_vector = (PCRE2_GENERAL_CONTEXT_CREATE_8 = PROCEDURE) 408symbol_vector = (_PCRE2_AUTO_POSSESSIFY_8 = PROCEDURE) 409symbol_vector = (_PCRE2_CKD_SMUL = PROCEDURE) 410symbol_vector = (_PCRE2_FIND_BRACKET_8 = PROCEDURE) 411symbol_vector = (_PCRE2_IS_NEWLINE_8 = PROCEDURE) 412symbol_vector = (_PCRE2_WAS_NEWLINE_8 = PROCEDURE) 413symbol_vector = (_PCRE2_SCRIPT_RUN_8 = PROCEDURE) 414symbol_vector = (_PCRE2_STRCMP_8 = PROCEDURE) 415symbol_vector = (_PCRE2_STRCPY_C8_8 = PROCEDURE) 416symbol_vector = (_PCRE2_STRLEN_8 = PROCEDURE) 417symbol_vector = (_PCRE2_STRNCMP_C8_8 = PROCEDURE) 418symbol_vector = (_PCRE2_STRNCMP_8 = PROCEDURE) 419symbol_vector = (_PCRE2_STRCMP_C8_8 = PROCEDURE) 420symbol_vector = (_PCRE2_STUDY_8 = PROCEDURE) 421symbol_vector = (_PCRE2_VALID_UTF_8 = PROCEDURE) 422symbol_vector = (VMS_PCRE2_DEF_CMPL_CNTXT_8 = DATA) 423symbol_vector = (VMS_PCRE2_DEF_CNVRT_CNTXT_8 = DATA) 424symbol_vector = (_PCRE2_CALLOUT_END_DELIMS_8 = DATA) 425symbol_vector = (_PCRE2_CALLOUT_START_DELIMS_8 = DATA) 426symbol_vector = (_PCRE2_DEFAULT_MATCH_CONTEXT_8 = DATA) 427symbol_vector = (_PCRE2_DEFAULT_TABLES_8 = DATA) 428symbol_vector = (_PCRE2_HSPACE_LIST_8 = DATA) 429symbol_vector = (_PCRE2_OP_LENGTHS_8 = DATA) 430symbol_vector = (_PCRE2_UCD_CASELESS_SETS_8 = DATA) 431symbol_vector = (_PCRE2_UCD_RECORDS_8 = DATA) 432symbol_vector = (_PCRE2_UCD_STAGE1_8 = DATA) 433symbol_vector = (_PCRE2_UCD_STAGE2_8 = DATA) 434symbol_vector = (_PCRE2_VSPACE_LIST_8 = DATA) 435! 436! ### PSECT list extracted from PCRE2.MAP;1 437! 438$ENDIF 439$! 440$! 441COPY SYS$INPUT [.SRC]CONFIG.H 442/* src/config.h.in. Generated from configure.ac by autoheader. */ 443 444 445/* PCRE2 is written in Standard C, but there are a few non-standard things it 446can cope with, allowing it to run on SunOS4 and other "close to standard" 447systems. 448 449In environments that support the GNU autotools, config.h.in is converted into 450config.h by the "configure" script. In environments that use CMake, 451config-cmake.in is converted into config.h. If you are going to build PCRE2 "by 452hand" without using "configure" or CMake, you should copy the distributed 453config.h.generic to config.h, and edit the macro definitions to be the way you 454need them. You must then add -DHAVE_CONFIG_H to all of your compile commands, 455so that config.h is included at the start of every source. 456 457Alternatively, you can avoid editing by using -D on the compiler command line 458to set the macro values. In this case, you do not have to set -DHAVE_CONFIG_H, 459but if you do, default values will be taken from config.h for non-boolean 460macros that are not defined on the command line. 461 462Boolean macros such as HAVE_STDLIB_H and SUPPORT_PCRE2_8 should either be 463defined (conventionally to 1) for TRUE, and not defined at all for FALSE. All 464such macros are listed as a commented #undef in config.h.generic. Macros such 465as MATCH_LIMIT, whose actual value is relevant, have defaults defined, but are 466surrounded by #ifndef/#endif lines so that the value can be overridden by -D. 467 468PCRE2 uses memmove() if HAVE_MEMMOVE is defined; otherwise it uses bcopy() if 469HAVE_BCOPY is defined. If your system has neither bcopy() nor memmove(), make 470sure both macros are undefined; an emulation function will then be used. */ 471 472/* By default, the \R escape sequence matches any Unicode line ending 473 character or sequence of characters. If BSR_ANYCRLF is defined (to any 474 value), this is changed so that backslash-R matches only CR, LF, or CRLF. 475 The build-time default can be overridden by the user of PCRE2 at runtime. 476 */ 477#undef BSR_ANYCRLF 478 479/* Define to any value to disable the use of the z and t modifiers in 480 formatting settings such as %zu or %td (this is rarely needed). */ 481#undef DISABLE_PERCENT_ZT 482 483/* If you are compiling for a system that uses EBCDIC instead of ASCII 484 character codes, define this macro to any value. When EBCDIC is set, PCRE2 485 assumes that all input strings are in EBCDIC. If you do not define this 486 macro, PCRE2 will assume input strings are ASCII or UTF-8/16/32 Unicode. It 487 is not possible to build a version of PCRE2 that supports both EBCDIC and 488 UTF-8/16/32. */ 489#undef EBCDIC 490 491/* In an EBCDIC environment, define this macro to any value to arrange for the 492 NL character to be 0x25 instead of the default 0x15. NL plays the role that 493 LF does in an ASCII/Unicode environment. */ 494#undef EBCDIC_NL25 495 496/* Define this if your compiler supports __attribute__((uninitialized)) */ 497#undef HAVE_ATTRIBUTE_UNINITIALIZED 498 499/* Define to 1 if you have the 'bcopy' function. */ 500#define HAVE_BCOPY 1 501 502/* Define this if your compiler provides __builtin_mul_overflow() */ 503#undef HAVE_BUILTIN_MUL_OVERFLOW 504 505 506/* Define to 1 if you have the <dirent.h> header file. */ 507#define HAVE_DIRENT_H 1 508 509/* Define to 1 if you have the <dlfcn.h> header file. */ 510#define HAVE_DLFCN_H 1 511 512/* Define to 1 if you have the <editline/readline.h> header file. */ 513#undef HAVE_EDITLINE_READLINE_H 514 515/* Define to 1 if you have the <edit/readline/readline.h> header file. */ 516#undef HAVE_EDIT_READLINE_READLINE_H 517 518/* Define to 1 if you have the <inttypes.h> header file. */ 519#define HAVE_INTTYPES_H 1 520 521/* Define to 1 if you have the <limits.h> header file. */ 522#define HAVE_LIMITS_H 1 523 524/* Define to 1 if you have the 'memfd_create' function. */ 525#undef HAVE_MEMFD_CREATE 526 527/* Define to 1 if you have the 'memmove' function. */ 528#define HAVE_MEMMOVE 1 529 530/* Define to 1 if you have the <minix/config.h> header file. */ 531#undef HAVE_MINIX_CONFIG_H 532 533/* Define to 1 if you have the 'mkostemp' function. */ 534#undef HAVE_MKOSTEMP 535 536/* Define if you have POSIX threads libraries and header files. */ 537#define HAVE_PTHREAD 1 538 539/* Have PTHREAD_PRIO_INHERIT. */ 540#undef HAVE_PTHREAD_PRIO_INHERIT 541 542/* Define to 1 if you have the <readline.h> header file. */ 543#undef HAVE_READLINE_H 544 545/* Define to 1 if you have the <readline/history.h> header file. */ 546#undef HAVE_READLINE_HISTORY_H 547 548/* Define to 1 if you have the <readline/readline.h> header file. */ 549#undef HAVE_READLINE_READLINE_H 550 551/* Define to 1 if you have the `realpath' function. */ 552#define HAVE_REALPATH 1 553 554/* Define to 1 if you have the 'secure_getenv' function. */ 555#undef HAVE_SECURE_GETENV 556 557/* Define to 1 if you have the <stdint.h> header file. */ 558#define HAVE_STDINT_H 1 559 560/* Define to 1 if you have the <stdio.h> header file. */ 561#define HAVE_STDIO_H 1 562 563/* Define to 1 if you have the <stdlib.h> header file. */ 564#define HAVE_STDLIB_H 1 565 566/* Define to 1 if you have the 'strerror' function. */ 567#define HAVE_STRERROR 1 568 569/* Define to 1 if you have the <strings.h> header file. */ 570#define HAVE_STRINGS_H 1 571 572/* Define to 1 if you have the <string.h> header file. */ 573#define HAVE_STRING_H 1 574 575/* Define to 1 if you have the <sys/stat.h> header file. */ 576#define HAVE_SYS_STAT_H 1 577 578/* Define to 1 if you have the <sys/types.h> header file. */ 579#define HAVE_SYS_TYPES_H 1 580 581/* Define to 1 if you have the <sys/wait.h> header file. */ 582#define HAVE_SYS_WAIT_H 1 583 584/* Define to 1 if you have the <unistd.h> header file. */ 585#define HAVE_UNISTD_H 1 586 587/* Define to 1 if the compiler supports simple visibility declarations. */ 588#undef HAVE_VISIBILITY 589 590/* Define to 1 if you have the <wchar.h> header file. */ 591#define HAVE_WCHAR_H 1 592 593/* Define to 1 if you have the <windows.h> header file. */ 594#undef HAVE_WINDOWS_H 595 596/* Define to 1 if you have the <zlib.h> header file. */ 597 598/* This limits the amount of memory that may be used while matching a pattern. 599 It applies to both pcre2_match() and pcre2_dfa_match(). It does not apply 600 to JIT matching. The value is in kibibytes (units of 1024 bytes). */ 601#undef HEAP_LIMIT 602 603/* The value of LINK_SIZE determines the number of bytes used to store links 604 as offsets within the compiled regex. The default is 2, which allows for 605 compiled patterns up to 65535 code units long. This covers the vast 606 majority of cases. However, PCRE2 can also be compiled to use 3 or 4 bytes 607 instead. This allows for longer patterns in extreme cases. */ 608#undef LINK_SIZE 609 610/* Define to the sub-directory where libtool stores uninstalled libraries. */ 611#undef LT_OBJDIR 612 613/* The value of MATCH_LIMIT determines the default number of times the 614 pcre2_match() function can record a backtrack position during a single 615 matching attempt. The value is also used to limit a loop counter in 616 pcre2_dfa_match(). There is a runtime interface for setting a different 617 limit. The limit exists in order to catch runaway regular expressions that 618 take forever to determine that they do not match. The default is set very 619 large so that it does not accidentally catch legitimate cases. */ 620#undef MATCH_LIMIT 621 622/* The above limit applies to all backtracks, whether or not they are nested. 623 In some environments it is desirable to limit the nesting of backtracking 624 (that is, the depth of tree that is searched) more strictly, in order to 625 restrict the maximum amount of heap memory that is used. The value of 626 MATCH_LIMIT_DEPTH provides this facility. To have any useful effect, it 627 must be less than the value of MATCH_LIMIT. The default is to use the same 628 value as MATCH_LIMIT. There is a runtime method for setting a different 629 limit. In the case of pcre2_dfa_match(), this limit controls the depth of 630 the internal nested function calls that are used for pattern recursions, 631 lookarounds, and atomic groups. */ 632#undef MATCH_LIMIT_DEPTH 633 634/* This limit is parameterized just in case anybody ever wants to change it. 635 Care must be taken if it is increased, because it guards against integer 636 overflow caused by enormously large patterns. */ 637#undef MAX_NAME_COUNT 638 639/* This limit is parameterized just in case anybody ever wants to change it. 640 Care must be taken if it is increased, because it guards against integer 641 overflow caused by enormously large patterns. */ 642#undef MAX_NAME_SIZE 643 644/* The value of MAX_VARLOOKBEHIND specifies the default maximum length, in 645 characters, for a variable-length lookbehind assertion. */ 646#undef MAX_VARLOOKBEHIND 647 648/* Defining NEVER_BACKSLASH_C locks out the use of \C in all patterns. */ 649#undef NEVER_BACKSLASH_C 650 651/* The value of NEWLINE_DEFAULT determines the default newline character 652 sequence. PCRE2 client programs can override this by selecting other values 653 at run time. The valid values are 1 (CR), 2 (LF), 3 (CRLF), 4 (ANY), 5 654 (ANYCRLF), and 6 (NUL). */ 655#undef NEWLINE_DEFAULT 656 657/* Name of package */ 658#define PACKAGE "pcre2" 659 660/* Define to the address where bug reports for this package should be sent. */ 661#define PACKAGE_BUGREPORT "" 662 663/* Define to the full name of this package. */ 664#define PACKAGE_NAME "PCRE2" 665 666/* Define to the full name and version of this package. */ 667#define PACKAGE_STRING "PCRE2 10.43 VMS" 668 669/* Define to the one symbol short name of this package. */ 670#define PACKAGE_TARNAME "pcre2" 671 672/* Define to the home page for this package. */ 673#define PACKAGE_URL "" 674 675/* Define to the version of this package. */ 676#define PACKAGE_VERSION "10.43" 677 678/* The value of PARENS_NEST_LIMIT specifies the maximum depth of nested 679 parentheses (of any kind) in a pattern. This limits the amount of system 680 stack that is used while compiling a pattern. */ 681#undef PARENS_NEST_LIMIT 682 683/* The value of PCRE2GREP_BUFSIZE is the starting size of the buffer used by 684 pcre2grep to hold parts of the file it is searching. The buffer will be 685 expanded up to PCRE2GREP_MAX_BUFSIZE if necessary, for files containing 686 very long lines. The actual amount of memory used by pcre2grep is three 687 times this number, because it allows for the buffering of "before" and 688 "after" lines. */ 689#define PCRE2GREP_BUFSIZE 20480 690 691/* The value of PCRE2GREP_MAX_BUFSIZE specifies the maximum size of the buffer 692 used by pcre2grep to hold parts of the file it is searching. The actual 693 amount of memory used by pcre2grep is three times this number, because it 694 allows for the buffering of "before" and "after" lines. */ 695#define PCRE2GREP_MAX_BUFSIZE 1048576 696 697/* Define to any value to include debugging code. */ 698#undef PCRE2_DEBUG 699 700/* to make a symbol visible */ 701#undef PCRE2_EXPORT 702 703 704/* If you are compiling for a system other than a Unix-like system or 705 Win32, and it needs some magic to be inserted before the definition 706 of a function that is exported by the library, define this macro to 707 contain the relevant magic. If you do not define this macro, a suitable 708 __declspec value is used for Windows systems; in other environments 709 a compiler relevant "extern" is used with any "visibility" related 710 attributes from PCRE2_EXPORT included. 711 This macro apears at the start of every exported function that is part 712 of the external API. It does not appear on functions that are "external" 713 in the C sense, but which are internal to the library. */ 714#undef PCRE2_EXP_DEFN 715 716/* Define to any value if linking statically (TODO: make nice with Libtool) */ 717#undef PCRE2_STATIC 718 719/* Define to necessary symbol if this constant uses a non-standard name on 720 your system. */ 721#undef PTHREAD_CREATE_JOINABLE 722 723/* Define to any non-zero number to enable support for SELinux compatible 724 executable memory allocator in JIT. Note that this will have no effect 725 unless SUPPORT_JIT is also defined. */ 726#undef SLJIT_PROT_EXECUTABLE_ALLOCATOR 727 728/* Define to 1 if all of the C89 standard headers exist (not just the ones 729 required in a freestanding environment). This macro is provided for 730 backward compatibility; new code need not use it. */ 731#define STDC_HEADERS 1 732 733/* Define to any value to enable differential fuzzing support. */ 734#undef SUPPORT_DIFF_FUZZ 735 736/* Define to any value to enable support for Just-In-Time compiling. */ 737#undef SUPPORT_JIT 738 739/* Define to any value to allow pcre2grep to be linked with libbz2, so that it 740 is able to handle .bz2 files. */ 741 742/* Define to any value to allow pcre2test to be linked with libedit. */ 743#undef SUPPORT_LIBEDIT 744 745/* Define to any value to allow pcre2test to be linked with libreadline. */ 746#undef SUPPORT_LIBREADLINE 747 748/* Define to any value to allow pcre2grep to be linked with libz, so that it 749 is able to handle .gz files. */ 750 751/* Define to any value to enable callout script support in pcre2grep. */ 752#undef SUPPORT_PCRE2GREP_CALLOUT 753 754/* Define to any value to enable fork support in pcre2grep callout scripts. 755 This will have no effect unless SUPPORT_PCRE2GREP_CALLOUT is also defined. 756 */ 757#undef SUPPORT_PCRE2GREP_CALLOUT_FORK 758 759/* Define to any value to enable JIT support in pcre2grep. Note that this will 760 have no effect unless SUPPORT_JIT is also defined. */ 761#undef SUPPORT_PCRE2GREP_JIT 762 763/* Define to any value to enable the 16 bit PCRE2 library. */ 764#undef SUPPORT_PCRE2_16 765 766/* Define to any value to enable the 32 bit PCRE2 library. */ 767#undef SUPPORT_PCRE2_32 768 769/* Define to any value to enable the 8 bit PCRE2 library. */ 770#define SUPPORT_PCRE2_8 1 771 772/* Define to any value to enable support for Unicode and UTF encoding. This 773 will work even in an EBCDIC environment, but it is incompatible with the 774 EBCDIC macro. That is, PCRE2 can support *either* EBCDIC code *or* 775 ASCII/Unicode, but not both at once. */ 776#undef SUPPORT_UNICODE 777 778/* Define to any value for valgrind support to find invalid memory reads. */ 779#undef SUPPORT_VALGRIND 780 781/* Enable extensions on AIX, Interix, z/OS. */ 782#ifndef _ALL_SOURCE 783# undef _ALL_SOURCE 784#endif 785/* Enable general extensions on macOS. */ 786#ifndef _DARWIN_C_SOURCE 787# undef _DARWIN_C_SOURCE 788#endif 789/* Enable general extensions on Solaris. */ 790#ifndef __EXTENSIONS__ 791# undef __EXTENSIONS__ 792#endif 793/* Enable GNU extensions on systems that have them. */ 794#ifndef _GNU_SOURCE 795# undef _GNU_SOURCE 796#endif 797/* Enable X/Open compliant socket functions that do not require linking 798 with -lxnet on HP-UX 11.11. */ 799#ifndef _HPUX_ALT_XOPEN_SOCKET_API 800# undef _HPUX_ALT_XOPEN_SOCKET_API 801#endif 802/* Identify the host operating system as Minix. 803 This macro does not affect the system headers' behavior. 804 A future release of Autoconf may stop defining this macro. */ 805#ifndef _MINIX 806# undef _MINIX 807#endif 808/* Enable general extensions on NetBSD. 809 Enable NetBSD compatibility extensions on Minix. */ 810#ifndef _NETBSD_SOURCE 811# undef _NETBSD_SOURCE 812#endif 813/* Enable OpenBSD compatibility extensions on NetBSD. 814 Oddly enough, this does nothing on OpenBSD. */ 815#ifndef _OPENBSD_SOURCE 816# undef _OPENBSD_SOURCE 817#endif 818/* Define to 1 if needed for POSIX-compatible behavior. */ 819#ifndef _POSIX_SOURCE 820# undef _POSIX_SOURCE 821#endif 822/* Define to 2 if needed for POSIX-compatible behavior. */ 823#ifndef _POSIX_1_SOURCE 824# undef _POSIX_1_SOURCE 825#endif 826/* Enable POSIX-compatible threading on Solaris. */ 827#ifndef _POSIX_PTHREAD_SEMANTICS 828# undef _POSIX_PTHREAD_SEMANTICS 829#endif 830/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ 831#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 832# undef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 833#endif 834/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ 835#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ 836# undef __STDC_WANT_IEC_60559_BFP_EXT__ 837#endif 838/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ 839#ifndef __STDC_WANT_IEC_60559_DFP_EXT__ 840# undef __STDC_WANT_IEC_60559_DFP_EXT__ 841#endif 842/* Enable extensions specified by C23 Annex F. */ 843#ifndef __STDC_WANT_IEC_60559_EXT__ 844# undef __STDC_WANT_IEC_60559_EXT__ 845#endif 846/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ 847#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ 848# undef __STDC_WANT_IEC_60559_FUNCS_EXT__ 849#endif 850/* Enable extensions specified by C23 Annex H and ISO/IEC TS 18661-3:2015. */ 851#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ 852# undef __STDC_WANT_IEC_60559_TYPES_EXT__ 853#endif 854/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ 855#ifndef __STDC_WANT_LIB_EXT2__ 856# undef __STDC_WANT_LIB_EXT2__ 857#endif 858/* Enable extensions specified by ISO/IEC 24747:2009. */ 859#ifndef __STDC_WANT_MATH_SPEC_FUNCS__ 860# undef __STDC_WANT_MATH_SPEC_FUNCS__ 861#endif 862/* Enable extensions on HP NonStop. */ 863#ifndef _TANDEM_SOURCE 864# undef _TANDEM_SOURCE 865#endif 866/* Enable X/Open extensions. Define to 500 only if necessary 867 to make mbstate_t available. */ 868#ifndef _XOPEN_SOURCE 869# undef _XOPEN_SOURCE 870#endif 871 872 873/* Version number of package */ 874#undef VERSION 875 876/* Number of bits in a file offset, on hosts where this is settable. */ 877#undef _FILE_OFFSET_BITS 878 879/* Define to 1 on platforms where this makes off_t a 64-bit type. */ 880#undef _LARGE_FILES 881 882/* Number of bits in time_t, on hosts where this is settable. */ 883#undef _TIME_BITS 884 885/* Define to 1 on platforms where this makes time_t a 64-bit type. */ 886#undef __MINGW_USE_VC2005_COMPAT 887 888/* Define to empty if 'const' does not conform to ANSI C. */ 889#undef const 890 891/* Define to the type of a signed integer type of width exactly 64 bits if 892 such a type exists and the standard includes do not define it. */ 893#undef int64_t 894 895/* Define as 'unsigned int' if <stddef.h> doesn't define. */ 896#undef size_t 897 898// VMS 899#include <stdint.h> 900#define PCRE2_EXPORT 901#define LINK_SIZE 2 902#define MAX_NAME_COUNT 10000 903#define MAX_NAME_SIZE 32 904#define MATCH_LIMIT 10000000 905#define HEAP_LIMIT 20000000 906#define NEWLINE_DEFAULT 2 907#define PARENS_NEST_LIMIT 250 908#define MATCH_LIMIT_DEPTH MATCH_LIMIT 909#define MAX_VARLOOKBEHIND 255 910 911/* 912#define _pcre2_default_compile_context_ vms_pcre2_def_cmpl_cntxt_ 913#define _pcre2_default_convert_context_ vms_pcre2_def_cnvrt_cntxt_ 914#define pcre2_set_compile_extra_options_8 vms_pcre2_set_cmpl_ext_opt_8 915#define pcre2_set_compile_recursion_guard_8 vms_pcre2_set_cmpl_rcrs_grd_8 916#define pcre2_set_recursion_memory_management_8 vms_pcre2_set_rcrs_mem_mng_8 917#define pcre2_match_data_create_from_pattern_8 vms_pcre2_m_d_crt_fr_patt_8 918#define pcre2_get_match_data_heapframes_size_8 vms_pcre2_get_m_d_hpfram_s_8 919#define pcre2_serialize_get_number_of_codes_8 vms_pcre2_ser_get_n_of_cod_8 920#define pcre2_substring_nametable_scan_8 vms_pcre2_substr_nmtab_scan_8 921#define pcre2_substring_length_bynumber_8 vms_pcre2_substr_len_bynum_8 922#define pcre2_substring_number_from_name_8 vms_pcre2_substr_num_f_nam_8 923*/ 924 925#define HAVE_BZLIB_H 1 926#define SUPPORT_LIBBZ2 1 927 928#define HAVE_ZLIB_H 1 929#define SUPPORT_LIBZ 1 930$! 931$! 932$WRITE SYS$OUTPUT "config.h created" 933$! 934$!Creating Descrip.mms in each directory needed 935$! 936$! 937$COPY SYS$INPUT [.SRC]DESCRIP.MMS 938# (c) Alexey Chupahin 09-APR-2024 939# OpenVMS 7.3-2, DEC 2000 mod.300 940# OpenVMS 8.3, Digital PW 600au 941# OpenVMS 8.4, Compaq DS10L 942# OpenVMS 8.3, HP rx1620 943 944 945.FIRST 946 DEF PCRE2 [] 947 948 949CC=cc 950CFLAGS = /INCLUDE=([],[-],[-.VMS],ZLIB,BZ2LIB) \ 951 /DEFINE=(HAVE_CONFIG_H,PCRE2_CODE_UNIT_WIDTH=8)\ 952 /OPTIMIZE=(INLINE=SPEED) \ 953 /DEB 954 955OBJ=\ 956PCRE2POSIX.OBJ,\ 957PCRE2_AUTO_POSSESS.OBJ,\ 958PCRE2_CHKDINT.OBJ,\ 959PCRE2_CHARTABLES.OBJ,\ 960PCRE2_COMPILE.OBJ,\ 961PCRE2_CONFIG.OBJ,\ 962PCRE2_CONTEXT.OBJ,\ 963PCRE2_CONVERT.OBJ,\ 964PCRE2_DFA_MATCH.OBJ,\ 965PCRE2_ERROR.OBJ,\ 966PCRE2_EXTUNI.OBJ,\ 967PCRE2_FIND_BRACKET.OBJ,\ 968PCRE2_JIT_COMPILE.OBJ,\ 969PCRE2_MAKETABLES.OBJ,\ 970PCRE2_MATCH.OBJ,\ 971PCRE2_MATCH_DATA.OBJ,\ 972PCRE2_NEWLINE.OBJ,\ 973PCRE2_ORD2UTF.OBJ,\ 974PCRE2_PATTERN_INFO.OBJ,\ 975PCRE2_SCRIPT_RUN.OBJ,\ 976PCRE2_SERIALIZE.OBJ,\ 977PCRE2_STRING_UTILS.OBJ,\ 978PCRE2_STUDY.OBJ,\ 979PCRE2_SUBSTITUTE.OBJ,\ 980PCRE2_SUBSTRING.OBJ,\ 981PCRE2_TABLES.OBJ,\ 982PCRE2_UCD.OBJ,\ 983PCRE2_VALID_UTF.OBJ,\ 984PCRE2_XCLASS.OBJ 985 986ALL : PCRE2.H PCRE2.OLB PCRE2$SHR.EXE PCRE2DEMO.EXE PCRE2GREP.EXE 987 $! 988 989PCRE2$SHR.EXE : PCRE2.OLB 990 LINK/SHARE=PCRE2$SHR.EXE PCRE2:PCRE2.OLB/LIB,PCRE2:PCRE2$DEF.OPT/OPT 991 992PCRE2.OLB : $(OBJ) 993 LIB/CREA PCRE2.OLB $(OBJ) 994 995PCRE2DEMO.EXE : PCRE2DEMO.OBJ 996 LINK/EXE=PCRE2DEMO PCRE2DEMO,PCRE2:PCRE2.OPT/OPT 997 998PCRE2GREP.EXE : PCRE2GREP.OBJ 999 LINK/EXE=PCRE2GREP PCRE2GREP,PCRE2:PCRE2.OPT/OPT,ZLIB:ZLIB.OPT/OPT,BZ2LIB:BZIP2.OPT/OPT 1000 1001PCRE2.H : PCRE2.H_GENERIC 1002 WRITE SYS$OUTPUT "Patching PCRE2.H" 1003 COPY/CONCAT [-.VMS]PCRE2.H_PATCH,[]PCRE2.H_GENERIC PCRE2.H 1004 1005PCRE2_CHARTABLES.OBJ : PCRE2_CHARTABLES.C 1006 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) 1007 1008PCRE2_CHARTABLES.C : PCRE2_CHARTABLES.C_DIST 1009 COPY PCRE2_CHARTABLES.C_DIST PCRE2_CHARTABLES.C 1010 1011PCRE2DEMO.OBJ : PCRE2DEMO.C 1012 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) 1013 1014PCRE2GREP.OBJ : PCRE2GREP.C 1015 $(CC) $(CFLAGS) /WARN=DIS=ALL $(MMS$SOURCE) /OBJ=$(MMS$TARGET) 1016 1017PCRE2POSIX.OBJ : PCRE2POSIX.C 1018 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) 1019 1020PCRE2POSIX_TEST.OBJ : PCRE2POSIX_TEST.C 1021 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) 1022 1023PCRE2TEST.OBJ : PCRE2TEST.C 1024 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) 1025 1026PCRE2_AUTO_POSSESS.OBJ : PCRE2_AUTO_POSSESS.C 1027 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) 1028 1029PCRE2_CHKDINT.OBJ : PCRE2_CHKDINT.C 1030 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) 1031 1032PCRE2_COMPILE.OBJ : PCRE2_COMPILE.C 1033 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) 1034 1035PCRE2_CONFIG.OBJ : PCRE2_CONFIG.C 1036 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) 1037 1038PCRE2_CONTEXT.OBJ : PCRE2_CONTEXT.C 1039 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) 1040 1041PCRE2_CONVERT.OBJ : PCRE2_CONVERT.C 1042 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) 1043 1044PCRE2_DFA_MATCH.OBJ : PCRE2_DFA_MATCH.C 1045 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) 1046 1047PCRE2_DFTABLES.OBJ : PCRE2_DFTABLES.C 1048 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) 1049 1050PCRE2_ERROR.OBJ : PCRE2_ERROR.C 1051 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) 1052 1053PCRE2_EXTUNI.OBJ : PCRE2_EXTUNI.C 1054 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) 1055 1056PCRE2_FIND_BRACKET.OBJ : PCRE2_FIND_BRACKET.C 1057 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) 1058 1059PCRE2_FUZZSUPPORT.OBJ : PCRE2_FUZZSUPPORT.C 1060 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) 1061 1062PCRE2_JIT_COMPILE.OBJ : PCRE2_JIT_COMPILE.C 1063 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) 1064 1065PCRE2_JIT_MATCH.OBJ : PCRE2_JIT_MATCH.C 1066 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) 1067 1068PCRE2_JIT_MISC.OBJ : PCRE2_JIT_MISC.C 1069 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) 1070 1071PCRE2_JIT_TEST.OBJ : PCRE2_JIT_TEST.C 1072 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) 1073 1074PCRE2_MAKETABLES.OBJ : PCRE2_MAKETABLES.C 1075 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) 1076 1077PCRE2_MATCH.OBJ : PCRE2_MATCH.C 1078 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) 1079 1080PCRE2_MATCH_DATA.OBJ : PCRE2_MATCH_DATA.C 1081 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) 1082 1083PCRE2_NEWLINE.OBJ : PCRE2_NEWLINE.C 1084 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) 1085 1086PCRE2_ORD2UTF.OBJ : PCRE2_ORD2UTF.C 1087 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) 1088 1089PCRE2_PATTERN_INFO.OBJ : PCRE2_PATTERN_INFO.C 1090 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) 1091 1092PCRE2_PRINTINT.OBJ : PCRE2_PRINTINT.C 1093 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) 1094 1095PCRE2_SCRIPT_RUN.OBJ : PCRE2_SCRIPT_RUN.C 1096 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) 1097 1098PCRE2_SERIALIZE.OBJ : PCRE2_SERIALIZE.C 1099 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) 1100 1101PCRE2_STRING_UTILS.OBJ : PCRE2_STRING_UTILS.C 1102 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) 1103 1104PCRE2_STUDY.OBJ : PCRE2_STUDY.C 1105 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) 1106 1107PCRE2_SUBSTITUTE.OBJ : PCRE2_SUBSTITUTE.C 1108 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) 1109 1110PCRE2_SUBSTRING.OBJ : PCRE2_SUBSTRING.C 1111 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) 1112 1113PCRE2_TABLES.OBJ : PCRE2_TABLES.C 1114 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) 1115 1116PCRE2_UCD.OBJ : PCRE2_UCD.C 1117 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) 1118 1119PCRE2_UCPTABLES.OBJ : PCRE2_UCPTABLES.C 1120 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) 1121 1122PCRE2_VALID_UTF.OBJ : PCRE2_VALID_UTF.C 1123 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) 1124 1125PCRE2_XCLASS.OBJ : PCRE2_XCLASS.C 1126 $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) 1127 1128$! 1129$! 1130$WRITE SYS$OUTPUT "DESCRIP.MMS's have been created" 1131$WRITE SYS$OUTPUT " " 1132$WRITE SYS$OUTPUT " " 1133$WRITE SYS$OUTPUT "Now you can type @BUILD " 1134$! 1135$EXIT: 1136$DEFINE SYS$ERROR _NLA0: 1137$DEFINE SYS$OUTPUT _NLA0: 1138$DEL TEST.C;* 1139$DEL TEST.OBJ;* 1140$DEL TEST.EXE;* 1141$DEL TEST.OPT;* 1142$DEAS SYS$ERROR 1143$DEAS SYS$OUTPUT 1144 1145