diff -ruN ../suite3270-4.5/b3270/Makefile.obj.in ./b3270/Makefile.obj.in --- ../suite3270-4.5/b3270/Makefile.obj.in 2025-12-22 21:49:20.000000000 -0500 +++ ./b3270/Makefile.obj.in 2026-04-03 00:10:11.000000000 -0400 @@ -35,7 +35,7 @@ HOST = @host@ include b3270_files.mk libs.mk -VOBJS = $(B3270_OBJECTS) fallbacks.o +VOBJS = $(B3270_OBJECTS) fallbacks.o $(TOP)/Common/ft_strcasestr.o $(TOP)/Common/asprintf.o OBJS1 = $(VOBJS) version.o diff -ruN ../suite3270-4.5/c3270/Makefile.obj.in ./c3270/Makefile.obj.in --- ../suite3270-4.5/c3270/Makefile.obj.in 2025-12-22 21:49:20.000000000 -0500 +++ ./c3270/Makefile.obj.in 2026-04-03 00:10:11.000000000 -0400 @@ -35,7 +35,7 @@ HOST = @host@ include c3270_files.mk libs.mk -VOBJS = $(C3270_OBJECTS) fallbacks.o +VOBJS = $(C3270_OBJECTS) fallbacks.o $(TOP)/Common/ft_strcasestr.o $(TOP)/Common/asprintf.o OBJS1 = $(VOBJS) version.o diff -ruN ../suite3270-4.5/c3270/screen.c ./c3270/screen.c --- ../suite3270-4.5/c3270/screen.c 2025-12-22 21:49:20.000000000 -0500 +++ ./c3270/screen.c 2026-04-03 00:10:11.000000000 -0400 @@ -31,6 +31,27 @@ * Screen drawing */ +#ifdef _AIX + +/* 1-parameter terminfo capability */ +#define TIPARM_1(s, a1) \ + tparm((s), (a1), 0, 0, 0, 0, 0, 0, 0, 0) + +/* Full 9-parameter terminfo capability */ +#define TIPARM_9(s, a1, a2, a3, a4, a5, a6, a7, a8, a9) \ + tparm((s), (a1), (a2), (a3), (a4), (a5), (a6), (a7), (a8), (a9)) + +#else + +#define TIPARM_1(s, a1) \ + tiparm((s), (a1)) + +#define TIPARM_9(s, a1, a2, a3, a4, a5, a6, a7, a8, a9) \ + tiparm((s), (a1), (a2), (a3), (a4), (a5), (a6), (a7), (a8), (a9)) + +#endif + + #include "globals.h" #include @@ -536,11 +557,11 @@ static int color_map16[] = { 8 + COLOR_BLUE, COLOR_RED, 8 + COLOR_YELLOW }; const char *setaf; - setaf = tiparm(ti.setaf, + setaf = TIPARM_1(ti.setaf, (ti.colors >= 16)? color_map16[color]: color_map8[color]); setaf = txdFree(NewString(setaf)); if (ti.bold && color_map16[color] >= 8) { - char *sgr = tiparm(ti.sgr, 0, 0, 0, 0, 0, 1, 0, 0, 0); + char *sgr = TIPARM_9(ti.sgr, 0, 0, 0, 0, 0, 1, 0, 0, 0); return txAsprintf("%s%s", sgr, setaf); } else { diff -ruN ../suite3270-4.5/Common/asprintf.c ./Common/asprintf.c --- ../suite3270-4.5/Common/asprintf.c 2025-12-22 21:49:20.000000000 -0500 +++ ./Common/asprintf.c 2026-04-05 00:25:41.589149545 -0400 @@ -35,6 +35,15 @@ #include "asprintf.h" +#ifdef asprintf +#undef asprintf +#endif + +#ifdef vasprintf +#undef vasprintf +#endif + + #if !defined(_WIN32) /*[*/ /** * Linux implementation of the Windows vcsprintf() function. @@ -64,7 +73,7 @@ * @return length, not including NUL */ int -my_vasprintf(char **bufp, const char *fmt, va_list ap) +vasprintf(char **bufp, const char *fmt, va_list ap) { va_list ap_copy; int buflen; @@ -88,7 +97,7 @@ * @return length, not including NUL */ int -my_asprintf(char **bufp, const char *fmt, ...) +asprintf(char **bufp, const char *fmt, ...) { va_list ap; int len; @@ -98,4 +107,37 @@ va_end(ap); return len; } + +/* Make sure linker sees the "my_" symbols too */ +//int my_vasprintf(char **bufp, const char *fmt, va_list ap) __attribute__((alias("vasprintf"))); +//int my_asprintf(char **bufp, const char *fmt, ...) __attribute__((alias("asprintf"))); + +/* * On AIX, the alias attribute often fails for symbols defined in the same file. + * We use explicit wrappers instead to ensure the symbols are visible. + */ +#if defined(_AIX) +int +my_vasprintf(char **bufp, const char *fmt, va_list ap) +{ + return vasprintf(bufp, fmt, ap); +} + +int +my_asprintf(char **bufp, const char *fmt, ...) +{ + va_list ap; + int len; + + va_start(ap, fmt); + len = vasprintf(bufp, fmt, ap); + va_end(ap); + return len; +} +#else +/* Original Linux/Windows alias logic */ +int my_vasprintf(char **bufp, const char *fmt, va_list ap) __attribute__((alias("vasprintf"))); +int my_asprintf(char **bufp, const char *fmt, ...) __attribute__((alias("asprintf"))); +#endif + #endif /*]*/ + diff -ruN ../suite3270-4.5/Common/fb-strcasestr ./Common/fb-strcasestr --- ../suite3270-4.5/Common/fb-strcasestr 1969-12-31 19:00:00.000000000 -0500 +++ ./Common/fb-strcasestr 2026-04-03 00:10:11.000000000 -0400 @@ -0,0 +1,27 @@ +BEGIN strcasestr +EXPORT strcasestr + +char * +strcasestr(const char *haystack, const char *needle) +{ + if (!*needle) + return (char *)haystack; + + for (; *haystack; haystack++) { + const char *h = haystack; + const char *n = needle; + + while (*h && *n && + tolower((unsigned char)*h) == + tolower((unsigned char)*n)) { + h++; + n++; + } + + if (!*n) + return (char *)haystack; + } + return NULL; +} + +END strcasestr diff -ruN ../suite3270-4.5/Common/ft_strcasestr.c ./Common/ft_strcasestr.c --- ../suite3270-4.5/Common/ft_strcasestr.c 1969-12-31 19:00:00.000000000 -0500 +++ ./Common/ft_strcasestr.c 2026-04-03 00:10:11.000000000 -0400 @@ -0,0 +1,29 @@ +#include +#include + +/* + * AIX / IBM i PASE does not provide strcasestr(). + * lib3270 requires it. + */ +char * +strcasestr(const char *haystack, const char *needle) +{ + if (!*needle) + return (char *)haystack; + + for (; *haystack; haystack++) { + const char *h = haystack; + const char *n = needle; + + while (*h && *n && + tolower((unsigned char)*h) == + tolower((unsigned char)*n)) { + h++; + n++; + } + + if (!*n) + return (char *)haystack; + } + return NULL; +} diff -ruN ../suite3270-4.5/full_diff.good5.patch ./full_diff.good5.patch --- ../suite3270-4.5/full_diff.good5.patch 1969-12-31 19:00:00.000000000 -0500 +++ ./full_diff.good5.patch 2026-04-05 01:23:55.328262097 -0400 @@ -0,0 +1,208 @@ +diff -ruN ../suite3270-4.5/b3270/Makefile.obj.in ./b3270/Makefile.obj.in +--- ../suite3270-4.5/b3270/Makefile.obj.in 2025-12-22 21:49:20.000000000 -0500 ++++ ./b3270/Makefile.obj.in 2026-04-03 00:10:11.000000000 -0400 +@@ -35,7 +35,7 @@ + HOST = @host@ + include b3270_files.mk libs.mk + +-VOBJS = $(B3270_OBJECTS) fallbacks.o ++VOBJS = $(B3270_OBJECTS) fallbacks.o $(TOP)/Common/ft_strcasestr.o $(TOP)/Common/asprintf.o + + OBJS1 = $(VOBJS) version.o + +diff -ruN ../suite3270-4.5/c3270/Makefile.obj.in ./c3270/Makefile.obj.in +--- ../suite3270-4.5/c3270/Makefile.obj.in 2025-12-22 21:49:20.000000000 -0500 ++++ ./c3270/Makefile.obj.in 2026-04-03 00:10:11.000000000 -0400 +@@ -35,7 +35,7 @@ + HOST = @host@ + include c3270_files.mk libs.mk + +-VOBJS = $(C3270_OBJECTS) fallbacks.o ++VOBJS = $(C3270_OBJECTS) fallbacks.o $(TOP)/Common/ft_strcasestr.o $(TOP)/Common/asprintf.o + + OBJS1 = $(VOBJS) version.o + +diff -ruN ../suite3270-4.5/c3270/screen.c ./c3270/screen.c +--- ../suite3270-4.5/c3270/screen.c 2025-12-22 21:49:20.000000000 -0500 ++++ ./c3270/screen.c 2026-04-03 00:10:11.000000000 -0400 +@@ -31,6 +31,27 @@ + * Screen drawing + */ + ++#ifdef _AIX ++ ++/* 1-parameter terminfo capability */ ++#define TIPARM_1(s, a1) \ ++ tparm((s), (a1), 0, 0, 0, 0, 0, 0, 0, 0) ++ ++/* Full 9-parameter terminfo capability */ ++#define TIPARM_9(s, a1, a2, a3, a4, a5, a6, a7, a8, a9) \ ++ tparm((s), (a1), (a2), (a3), (a4), (a5), (a6), (a7), (a8), (a9)) ++ ++#else ++ ++#define TIPARM_1(s, a1) \ ++ tiparm((s), (a1)) ++ ++#define TIPARM_9(s, a1, a2, a3, a4, a5, a6, a7, a8, a9) \ ++ tiparm((s), (a1), (a2), (a3), (a4), (a5), (a6), (a7), (a8), (a9)) ++ ++#endif ++ ++ + #include "globals.h" + + #include +@@ -536,11 +557,11 @@ + static int color_map16[] = { 8 + COLOR_BLUE, COLOR_RED, 8 + COLOR_YELLOW }; + const char *setaf; + +- setaf = tiparm(ti.setaf, ++ setaf = TIPARM_1(ti.setaf, + (ti.colors >= 16)? color_map16[color]: color_map8[color]); + setaf = txdFree(NewString(setaf)); + if (ti.bold && color_map16[color] >= 8) { +- char *sgr = tiparm(ti.sgr, 0, 0, 0, 0, 0, 1, 0, 0, 0); ++ char *sgr = TIPARM_9(ti.sgr, 0, 0, 0, 0, 0, 1, 0, 0, 0); + + return txAsprintf("%s%s", sgr, setaf); + } else { +diff -ruN ../suite3270-4.5/Common/asprintf.c ./Common/asprintf.c +--- ../suite3270-4.5/Common/asprintf.c 2025-12-22 21:49:20.000000000 -0500 ++++ ./Common/asprintf.c 2026-04-05 00:25:41.589149545 -0400 +@@ -35,6 +35,15 @@ + + #include "asprintf.h" + ++#ifdef asprintf ++#undef asprintf ++#endif ++ ++#ifdef vasprintf ++#undef vasprintf ++#endif ++ ++ + #if !defined(_WIN32) /*[*/ + /** + * Linux implementation of the Windows vcsprintf() function. +@@ -64,7 +73,7 @@ + * @return length, not including NUL + */ + int +-my_vasprintf(char **bufp, const char *fmt, va_list ap) ++vasprintf(char **bufp, const char *fmt, va_list ap) + { + va_list ap_copy; + int buflen; +@@ -88,7 +97,7 @@ + * @return length, not including NUL + */ + int +-my_asprintf(char **bufp, const char *fmt, ...) ++asprintf(char **bufp, const char *fmt, ...) + { + va_list ap; + int len; +@@ -98,4 +107,37 @@ + va_end(ap); + return len; + } ++ ++/* Make sure linker sees the "my_" symbols too */ ++//int my_vasprintf(char **bufp, const char *fmt, va_list ap) __attribute__((alias("vasprintf"))); ++//int my_asprintf(char **bufp, const char *fmt, ...) __attribute__((alias("asprintf"))); ++ ++/* * On AIX, the alias attribute often fails for symbols defined in the same file. ++ * We use explicit wrappers instead to ensure the symbols are visible. ++ */ ++#if defined(_AIX) ++int ++my_vasprintf(char **bufp, const char *fmt, va_list ap) ++{ ++ return vasprintf(bufp, fmt, ap); ++} ++ ++int ++my_asprintf(char **bufp, const char *fmt, ...) ++{ ++ va_list ap; ++ int len; ++ ++ va_start(ap, fmt); ++ len = vasprintf(bufp, fmt, ap); ++ va_end(ap); ++ return len; ++} ++#else ++/* Original Linux/Windows alias logic */ ++int my_vasprintf(char **bufp, const char *fmt, va_list ap) __attribute__((alias("vasprintf"))); ++int my_asprintf(char **bufp, const char *fmt, ...) __attribute__((alias("asprintf"))); ++#endif ++ + #endif /*]*/ ++ +diff -ruN ../suite3270-4.5/Common/fb-strcasestr ./Common/fb-strcasestr +--- ../suite3270-4.5/Common/fb-strcasestr 1969-12-31 19:00:00.000000000 -0500 ++++ ./Common/fb-strcasestr 2026-04-03 00:10:11.000000000 -0400 +@@ -0,0 +1,27 @@ ++BEGIN strcasestr ++EXPORT strcasestr ++ ++char * ++strcasestr(const char *haystack, const char *needle) ++{ ++ if (!*needle) ++ return (char *)haystack; ++ ++ for (; *haystack; haystack++) { ++ const char *h = haystack; ++ const char *n = needle; ++ ++ while (*h && *n && ++ tolower((unsigned char)*h) == ++ tolower((unsigned char)*n)) { ++ h++; ++ n++; ++ } ++ ++ if (!*n) ++ return (char *)haystack; ++ } ++ return NULL; ++} ++ ++END strcasestr +diff -ruN ../suite3270-4.5/Common/ft_strcasestr.c ./Common/ft_strcasestr.c +--- ../suite3270-4.5/Common/ft_strcasestr.c 1969-12-31 19:00:00.000000000 -0500 ++++ ./Common/ft_strcasestr.c 2026-04-03 00:10:11.000000000 -0400 +@@ -0,0 +1,29 @@ ++#include ++#include ++ ++/* ++ * AIX / IBM i PASE does not provide strcasestr(). ++ * lib3270 requires it. ++ */ ++char * ++strcasestr(const char *haystack, const char *needle) ++{ ++ if (!*needle) ++ return (char *)haystack; ++ ++ for (; *haystack; haystack++) { ++ const char *h = haystack; ++ const char *n = needle; ++ ++ while (*h && *n && ++ tolower((unsigned char)*h) == ++ tolower((unsigned char)*n)) { ++ h++; ++ n++; ++ } ++ ++ if (!*n) ++ return (char *)haystack; ++ } ++ return NULL; ++} diff -ruN ../suite3270-4.5/include/asprintf.h ./include/asprintf.h --- ../suite3270-4.5/include/asprintf.h 2025-12-22 21:49:20.000000000 -0500 +++ ./include/asprintf.h 2026-04-03 00:10:11.000000000 -0400 @@ -36,9 +36,17 @@ # define vscprintf _vscprintf #endif /*]*/ +// #if !defined(HAVE_VASPRINTF) /*[*/ +// extern int my_asprintf(char **bufp, const char *fmt, ...) printflike(2, 3); +// # define asprintf my_asprintf +// extern int my_vasprintf(char **bufp, const char *fmt, va_list ap); +// # define vasprintf my_vasprintf +// #endif /*]*/ + + #if !defined(HAVE_VASPRINTF) /*[*/ extern int my_asprintf(char **bufp, const char *fmt, ...) printflike(2, 3); -# define asprintf my_asprintf +/* #define asprintf my_asprintf */ extern int my_vasprintf(char **bufp, const char *fmt, va_list ap); -# define vasprintf my_vasprintf +/* #define vasprintf my_vasprintf */ #endif /*]*/ diff -ruN ../suite3270-4.5/include/globals.h ./include/globals.h --- ../suite3270-4.5/include/globals.h 2025-12-22 21:49:20.000000000 -0500 +++ ./include/globals.h 2026-04-03 01:32:17.000000000 -0400 @@ -110,13 +110,35 @@ #endif /*]*/ #include /* C library time functions */ #include /* variable argument lists */ -#if !defined(_MSC_VER) /*[*/ -# include /* bool, true, false */ -#else /*][*/ -typedef char bool; /* roll our own for MSC */ + +#if defined(_AIX) + +/* Bloquer l'inclusion de stdbool.h */ +#define __STDBOOL_H +#define _STDBOOL_H +#ifndef bool + #define bool int + #define true 1 + #define false 0 +#endif +#define __bool_true_false_are_defined 1 + + +// typedef int bool; # define true 1 # define false 0 -#endif /*]*/ + +#elif !defined(_MSC_VER) +# include + +#else +typedef char bool; +# define true 1 +# define false 0 +#endif + + + #if defined(_WIN32) /*[*/ # include "wincmn.h" /* Common Windows definitions */ #endif /*]*/ diff -ruN ../suite3270-4.5/include/localdefs.h ./include/localdefs.h --- ../suite3270-4.5/include/localdefs.h 1969-12-31 19:00:00.000000000 -0500 +++ ./include/localdefs.h 2026-04-03 00:10:12.000000000 -0400 @@ -0,0 +1 @@ +#pragma once diff -ruN ../suite3270-4.5/lib/3270/Makefile.test ./lib/3270/Makefile.test --- ../suite3270-4.5/lib/3270/Makefile.test 1969-12-31 19:00:00.000000000 -0500 +++ ./lib/3270/Makefile.test 2026-04-03 01:34:01.000000000 -0400 @@ -0,0 +1,43 @@ +# Copyright (c) 2016-2025 Paul Mattes. +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# * Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# * Neither the name of Paul Mattes nor his contributors may be used +# to endorse or promote products derived from this software without +# specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY PAUL MATTES "AS IS" AND ANY EXPRESS OR +# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN +# NO EVENT SHALL PAUL MATTES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +# Makefile for lib3270 testing +objdir = ../../obj/powerpc-ibm-os400/lib3270/test +top = ../../../.. +this = $(top)/lib/3270 + +export VPATH = $(this):$(top)/Common:$(top)/Common/Nodisplay:$(top)/Common/Test +export TOP = $(top) +export THIS = $(this) + +MAKEINC = -I$(top)/Common -I$(this) + +default: all +all test coverage clean clobber: $(objdir) + $(MAKE) -C $(objdir) $(MAKEINC) -f $(this)/Makefile.test.obj $@ + +$(objdir): + mkdir -p $(objdir) diff -ruN ../suite3270-4.5/lib/32xx/32xx-deplibs.mk ./lib/32xx/32xx-deplibs.mk --- ../suite3270-4.5/lib/32xx/32xx-deplibs.mk 1969-12-31 19:00:00.000000000 -0500 +++ ./lib/32xx/32xx-deplibs.mk 2026-04-03 01:34:11.000000000 -0400 @@ -0,0 +1,2 @@ +# lib32xx depends on various libraries found by autoconf. +LIB32XX_DEPLIBS = -lssl -lcrypto diff -ruN ../suite3270-4.5/lib/32xx/Makefile.obj.in ./lib/32xx/Makefile.obj.in --- ../suite3270-4.5/lib/32xx/Makefile.obj.in 2025-12-22 21:49:20.000000000 -0500 +++ ./lib/32xx/Makefile.obj.in 2026-04-03 00:10:12.000000000 -0400 @@ -37,7 +37,7 @@ INCS = lib32xx_files.mk lib32xxu_files.mk include $(INCS) -OBJS = $(LIB32XX_OBJECTS) $(LIB32XXU_OBJECTS) @TLS_MODULES@ +OBJS = $(LIB32XX_OBJECTS) $(LIB32XXU_OBJECTS) $(TOP)/Common/asprintf.o @TLS_MODULES@ LIBDIR = @libdir@ prefix = @prefix@ diff -ruN ../suite3270-4.5/lib/32xx/Makefile.test ./lib/32xx/Makefile.test --- ../suite3270-4.5/lib/32xx/Makefile.test 1969-12-31 19:00:00.000000000 -0500 +++ ./lib/32xx/Makefile.test 2026-04-03 01:34:07.000000000 -0400 @@ -0,0 +1,43 @@ +# Copyright (c) 2016-2025 Paul Mattes. +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# * Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# * Neither the name of Paul Mattes nor his contributors may be used +# to endorse or promote products derived from this software without +# specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY PAUL MATTES "AS IS" AND ANY EXPRESS OR +# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN +# NO EVENT SHALL PAUL MATTES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +# Makefile for lib32xx testing +objdir = ../../obj/powerpc-ibm-os400/lib32xx/test +top = ../../../.. +this = $(top)/lib/32xx + +export VPATH = $(this):$(top)/Common:$(top)/Common/Nodisplay:$(top)/Common/Test +export TOP = $(top) +export THIS = $(this) + +MAKEINC = -I$(top)/Common -I$(this) + +default: all +all test coverage clean clobber: $(objdir) + $(MAKE) -C $(objdir) $(MAKEINC) -f $(this)/Makefile.test.obj $@ + +$(objdir): + mkdir -p $(objdir) diff -ruN ../suite3270-4.5/lib/include/windows/conf.h ./lib/include/windows/conf.h --- ../suite3270-4.5/lib/include/windows/conf.h 2025-12-22 21:49:20.000000000 -0500 +++ ./lib/include/windows/conf.h 1969-12-31 19:00:00.000000000 -0500 @@ -1,3 +0,0 @@ -/* Hard-coded conf.h for wc3270 */ - -#define LIBX3270DIR "." diff -ruN ../suite3270-4.5/lib/libexpat/Makefile ./lib/libexpat/Makefile --- ../suite3270-4.5/lib/libexpat/Makefile 2025-12-22 21:49:20.000000000 -0500 +++ ./lib/libexpat/Makefile 1969-12-31 19:00:00.000000000 -0500 @@ -1,62 +0,0 @@ -# Copyright (c) 2016-2025 Paul Mattes. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# * Neither the name of Paul Mattes nor his contributors may be used -# to endorse or promote products derived from this software without -# specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY PAUL MATTES "AS IS" AND ANY EXPRESS OR -# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN -# NO EVENT SHALL PAUL MATTES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -# Makefile for Windows libexpat -xtop = ../.. -top = ../../.. -objdir = $(xtop)/obj/$(HOST)/libexpat -extern = $(xtop)/extern -srcdir = $(extern)/libexpat/expat -this = $(top)/lib/libexpat - -export VPATH = $(this):$(top)/extern/libexpat/expat/lib -export TOP = $(top) -export THIS = $(this) - -MAKEINC = -I$(top)/extern/libexpat/expat/lib -I$(top)/Common/Win32 -I$(this) - -all: $(srcdir) $(objdir) - $(MAKE) -C $(objdir) $(MAKEINC) -f $(this)/Makefile.obj $@ -clean clobber: $(objdir) - $(MAKE) -C $(objdir) $(MAKEINC) -f $(this)/Makefile.obj $@ - -$(objdir): - mkdir -p $(objdir) - -EXPAT_VERSION = R_2_4_8 -tgz = $(EXPAT_VERSION).tar.gz -# If this is a git repo, init the libexpat submodule. Otherwise, get -# the libexpat tarball from github. -$(srcdir): - if [ -d $(xtop)/.git ]; \ - then git submodule update --init $(extern)/libexpat; \ - else tmpdir=/tmp/expat$$$$; \ - mkdir $$tmpdir && \ - wget -P $$tmpdir https://github.com/libexpat/libexpat/archive/refs/tags/$(tgz) && \ - tar -C $$tmpdir --exclude=libexpat-$(EXPAT_VERSION)/README.md -xzf $$tmpdir/$(tgz) && \ - mv $$tmpdir/libexpat-$(EXPAT_VERSION)/* $(extern)/libexpat && \ - rm -rf $$tmpdir; \ - fi diff -ruN ../suite3270-4.5/lib/libexpat/Makefile.obj ./lib/libexpat/Makefile.obj --- ../suite3270-4.5/lib/libexpat/Makefile.obj 2025-12-22 21:49:20.000000000 -0500 +++ ./lib/libexpat/Makefile.obj 1969-12-31 19:00:00.000000000 -0500 @@ -1,49 +0,0 @@ -# Copyright (c) 1999-2025 Paul Mattes. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# * Neither the names of Paul Mattes nor the names of his contributors -# may be used to endorse or promote products derived from this software -# without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY PAUL MATTES "AS IS" AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL PAUL MATTES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# - -# Makefile for (Windows) libexpat - -LIBEXPAT = libexpat.a - -XCPPFLAGS = $(WIN32_FLAGS) -I. -I$(TOP)/Common/libexpat/expat/lib -I$(THIS)/../include -I$(TOP)/include -DWIN32 -DCOMPILED_FROM_DSP -override CFLAGS += $(EXTRA_FLAGS) -g -Wall -Werror $(XCPPFLAGS) - -all:: $(LIBEXPAT) - -OBJ = o -include libexpat_files.mk -OBJS = $(LIBEXPAT_OBJECTS) - -$(LIBEXPAT): $(OBJS) - $(AR) crs $@ $(OBJS) - -clean: - $(RM) *.o $(LIBEXPAT) - -clobber: clean - $(RM) *.d - --include $(OBJS:.o=.d) diff -ruN ../suite3270-4.5/lib/w3270/Makefile ./lib/w3270/Makefile --- ../suite3270-4.5/lib/w3270/Makefile 2025-12-22 21:49:20.000000000 -0500 +++ ./lib/w3270/Makefile 1969-12-31 19:00:00.000000000 -0500 @@ -1,42 +0,0 @@ -# Copyright (c) 2016-2025 Paul Mattes. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# * Neither the name of Paul Mattes nor his contributors may be used -# to endorse or promote products derived from this software without -# specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY PAUL MATTES "AS IS" AND ANY EXPRESS OR -# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN -# NO EVENT SHALL PAUL MATTES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -# Makefile for libw3270 -objdir = ../../obj/$(HOST)/lib3270 -top = ../../.. -this = $(top)/lib/w3270 - -export VPATH = $(this):$(top)/Common/Win32:$(top)/Common:$(top)/Common/Nodisplay -export TOP = $(top) -export THIS = $(this) - -MAKEINC = -I$(top)/Common -I$(top)/Common/Win32 -I$(this) - -all clean clobber: $(objdir) - $(MAKE) -C $(objdir) $(MAKEINC) -f $(this)/Makefile.obj $@ - -$(objdir): - mkdir -p $(objdir) diff -ruN ../suite3270-4.5/lib/w3270/Makefile.test.obj ./lib/w3270/Makefile.test.obj --- ../suite3270-4.5/lib/w3270/Makefile.test.obj 2025-12-22 21:49:20.000000000 -0500 +++ ./lib/w3270/Makefile.test.obj 1969-12-31 19:00:00.000000000 -0500 @@ -1,80 +0,0 @@ -# Copyright (c) 1999-2025 Paul Mattes. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# * Neither the names of Paul Mattes nor the names of his contributors -# may be used to endorse or promote products derived from this software -# without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY PAUL MATTES "AS IS" AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL PAUL MATTES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# - -# Windows makefile for 3270 emulation library testing - -all: test - -JSON_OBJS = json_test.o json.o utf8.o varbuf.o sa_malloc.o snprintf.o asprintf.o -BIND_OPTS_OBJS = bind_opts_test.o bind-opt.o sa_malloc.o snprintf.o asprintf.o w3misc.o -UTF8_OBJS = utf8_test.o utf8.o sa_malloc.o snprintf.o asprintf.o -URI_OBJS = uri_test.o uri.o percent_decode.o varbuf.o sa_malloc.o snprintf.o asprintf.o -DEVNAME_OBJS = devname_test.o devname.o varbuf.o sa_malloc.o snprintf.o asprintf.o - -XCPPFLAGS = $(WIN32_FLAGS) -I. -I$(THIS)/../include/windows -I$(THIS)/../include -I$(TOP)/include -override CFLAGS += $(EXTRA_FLAGS) -g -Wall -Werror $(XCPPFLAGS) $(SSLCPP) - -test: json_test bind_opts_test utf8_test uri_test devname_test - @case `uname -s` in \ - *_NT*) \ - ./json_test.exe $(TESTOPTIONS) && \ - ./bind_opts_test.exe $(TESTOPTIONS) && \ - ./utf8_test.exe $(TESTOPTIONS) && \ - ./uri_test.exe $(TESTOPTIONS) && \ - ./devname_test.exe $(TESTOPTIONS) \ - ;; \ - *) \ - echo "Error: Must run tests on Windows"; exit 1 \ - ;; \ - esac - -json_test: $(JSON_OBJS) - $(CC) $(CFLAGS) -o $@ $(JSON_OBJS) - -bind_opts_test: $(BIND_OPTS_OBJS) - $(CC) $(CFLAGS) -o $@ $(BIND_OPTS_OBJS) -lws2_32 - -utf8_test: $(UTF8_OBJS) - $(CC) $(CFLAGS) -o $@ $(UTF8_OBJS) - -uri_test: $(URI_OBJS) - $(CC) $(CFLAGS) -o $@ $(URI_OBJS) - -devname_test: $(DEVNAME_OBJS) - $(CC) $(CFLAGS) -o $@ $(DEVNAME_OBJS) - -clean: - $(RM) *.o - -clobber: clean - $(RM) json_test.exe bind_opts_test.exe utf8_test.exe uri_test.exe devname_test.exe - $(RM) $(LIB3270) *.d - --include $(JSON_OBJS:.o=.d) --include $(BIND_OPTS_OBJS:.o=.d) --include $(UTF8_OBJS:.o=.d) --include $(URI_OBJS:.o=.d) --include $(DEVNAME_OBJS:.o=.d) diff -ruN ../suite3270-4.5/lib/w3270i/Makefile ./lib/w3270i/Makefile --- ../suite3270-4.5/lib/w3270i/Makefile 2025-12-22 21:49:20.000000000 -0500 +++ ./lib/w3270i/Makefile 1969-12-31 19:00:00.000000000 -0500 @@ -1,42 +0,0 @@ -# Copyright (c) 2016-2025 Paul Mattes. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# * Neither the name of Paul Mattes nor his contributors may be used -# to endorse or promote products derived from this software without -# specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY PAUL MATTES "AS IS" AND ANY EXPRESS OR -# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN -# NO EVENT SHALL PAUL MATTES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -# Makefile for libw3270 -objdir = ../../obj/$(HOST)/lib3270i -top = ../../.. -this = $(top)/lib/w3270i - -export VPATH = $(this):$(top)/Common/Win32:$(top)/Common -export TOP = $(top) -export THIS = $(this) - -MAKEINC = -I$(top)/Common -I$(top)/Common/Win32 -I$(this) - -all clean clobber: $(objdir) - $(MAKE) -C $(objdir) $(MAKEINC) -f $(this)/Makefile.obj $@ - -$(objdir): - mkdir -p $(objdir) diff -ruN ../suite3270-4.5/lib/w3270i/Makefile.obj ./lib/w3270i/Makefile.obj --- ../suite3270-4.5/lib/w3270i/Makefile.obj 2025-12-22 21:49:20.000000000 -0500 +++ ./lib/w3270i/Makefile.obj 1969-12-31 19:00:00.000000000 -0500 @@ -1,50 +0,0 @@ -# Copyright (c) 1999-2025 Paul Mattes. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# * Neither the names of Paul Mattes nor the names of his contributors -# may be used to endorse or promote products derived from this software -# without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY PAUL MATTES "AS IS" AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL PAUL MATTES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# - -# Windows makefile for 3270 emulation library - -LIB3270I = lib3270i.a - -XCPPFLAGS = $(WIN32_FLAGS) -I. -I$(THIS)/../include/windows -I$(THIS)/../include -I$(TOP)/include -override CFLAGS += $(EXTRA_FLAGS) -g -Wall -Werror -MMD -MP $(XCPPFLAGS) $(SSLCPP) - -all:: $(LIB3270I) - -INCS = lib3270i_files.mk -include $(INCS) -OBJS = $(LIB3270I_OBJECTS) - -$(LIB3270I): $(OBJS) $(INCS) - $(RM) $@ - $(AR) crs $@ $(OBJS) - -clean: - $(RM) *.o $(LIB3270I) - -clobber: clean - $(RM) *.d - --include $(OBJS:.o=.d) diff -ruN ../suite3270-4.5/lib/w3270stubs/Makefile ./lib/w3270stubs/Makefile --- ../suite3270-4.5/lib/w3270stubs/Makefile 2025-12-22 21:49:20.000000000 -0500 +++ ./lib/w3270stubs/Makefile 1969-12-31 19:00:00.000000000 -0500 @@ -1,42 +0,0 @@ -# Copyright (c) 2016-2025 Paul Mattes. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# * Neither the name of Paul Mattes nor his contributors may be used -# to endorse or promote products derived from this software without -# specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY PAUL MATTES "AS IS" AND ANY EXPRESS OR -# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN -# NO EVENT SHALL PAUL MATTES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -# Makefile for libw3270stubs -objdir = ../../obj/$(HOST)/lib3270stubs -top = ../../.. -this = $(top)/lib/w3270stubs - -export VPATH = $(this):$(top)/Common/Win32:$(top)/Common -export TOP = $(top) -export THIS = $(this) - -MAKEINC = -I$(top)/Common -I$(top)/Common/Win32 -I$(this) - -all clean clobber: $(objdir) - $(MAKE) -C $(objdir) $(MAKEINC) -f $(this)/Makefile.obj $@ - -$(objdir): - mkdir -p $(objdir) diff -ruN ../suite3270-4.5/lib/w3270stubs/Makefile.obj ./lib/w3270stubs/Makefile.obj --- ../suite3270-4.5/lib/w3270stubs/Makefile.obj 2025-12-22 21:49:20.000000000 -0500 +++ ./lib/w3270stubs/Makefile.obj 1969-12-31 19:00:00.000000000 -0500 @@ -1,50 +0,0 @@ -# Copyright (c) 1999-2025 Paul Mattes. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# * Neither the names of Paul Mattes nor the names of his contributors -# may be used to endorse or promote products derived from this software -# without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY PAUL MATTES "AS IS" AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL PAUL MATTES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# - -# Windows makefile for 3270 emulation stubs library - -LIB3270 = lib3270stubs.a - -XCPPFLAGS = $(WIN32_FLAGS) -I$(THIS) -I$(THIS)/../include/windows -I$(THIS)/../include -I$(TOP)/include -override CFLAGS += $(EXTRA_FLAGS) -g -Wall -Werror -MMD -MP $(XCPPFLAGS) $(SSLCPP) - -all:: $(LIB3270) - -INCS = lib3270stubs_files.mk libw3270stubs_files.mk -include $(INCS) -OBJS = $(LIB3270STUBS_OBJECTS) $(LIBW3270STUBS_OBJECTS) - -$(LIB3270): $(OBJS) $(INCS) - $(RM) $@ - $(AR) crs $@ $(OBJS) - -clean: - $(RM) *.o $(LIB3270) - -clobber: clean - $(RM) *.d - --include $(OBJS:.o=.d) diff -ruN ../suite3270-4.5/lib/w32xx/Makefile ./lib/w32xx/Makefile --- ../suite3270-4.5/lib/w32xx/Makefile 2025-12-22 21:49:20.000000000 -0500 +++ ./lib/w32xx/Makefile 1969-12-31 19:00:00.000000000 -0500 @@ -1,42 +0,0 @@ -# Copyright (c) 2016-2025 Paul Mattes. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# * Neither the name of Paul Mattes nor his contributors may be used -# to endorse or promote products derived from this software without -# specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY PAUL MATTES "AS IS" AND ANY EXPRESS OR -# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN -# NO EVENT SHALL PAUL MATTES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -# Makefile for libw32xx -objdir = ../../obj/$(HOST)/lib32xx -top = ../../.. -this = $(top)/lib/w32xx - -export VPATH = $(this):$(top)/Common/Win32:$(top)/Common -export TOP = $(top) -export THIS = $(this) - -MAKEINC = -I$(top)/Common -I$(top)/Common/Win32 -I$(this) - -all clean clobber: $(objdir) - $(MAKE) -C $(objdir) $(MAKEINC) -f $(this)/Makefile.obj $@ - -$(objdir): - mkdir -p $(objdir) diff -ruN ../suite3270-4.5/lib/w32xx/Makefile.test.obj ./lib/w32xx/Makefile.test.obj --- ../suite3270-4.5/lib/w32xx/Makefile.test.obj 2025-12-22 21:49:20.000000000 -0500 +++ ./lib/w32xx/Makefile.test.obj 1969-12-31 19:00:00.000000000 -0500 @@ -1,56 +0,0 @@ -# Copyright (c) 1999-2025 Paul Mattes. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# * Neither the names of Paul Mattes nor the names of his contributors -# may be used to endorse or promote products derived from this software -# without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY PAUL MATTES "AS IS" AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL PAUL MATTES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# - -# Windows makefile for 32xx library testing - -all: test - -BASE64_OBJS = base64_test.o base64.o sa_malloc.o snprintf.o asprintf.o - -XCPPFLAGS = $(WIN32_FLAGS) -I. -I$(THIS)/../include/windows -I$(THIS)/../include -I$(TOP)/include -override CFLAGS += $(EXTRA_FLAGS) -g -Wall -Werror $(XCPPFLAGS) $(SSLCPP) - -test: base64_test - @case `uname -s` in \ - *_NT*) \ - ./base64_test.exe $(TESTOPTIONS) \ - ;; \ - *) \ - echo "Error: Must run tests on Windows"; exit 1 \ - ;; \ - esac - -base64_test: $(BASE64_OBJS) - $(CC) $(CFLAGS) -o $@ $(BASE64_OBJS) - -clean: - $(RM) *.o - -clobber: clean - $(RM) base64_test.exe - $(RM) $(LIB3270) *.d - --include $(BASE64_OBJS:.o=.d) diff -ruN ../suite3270-4.5/pr3287/Makefile.obj.in ./pr3287/Makefile.obj.in --- ../suite3270-4.5/pr3287/Makefile.obj.in 2025-12-22 21:49:20.000000000 -0500 +++ ./pr3287/Makefile.obj.in 2026-04-03 00:10:12.000000000 -0400 @@ -49,7 +49,7 @@ HOST = @host@ include pr3287_files.mk libs.mk -OBJECTS = $(PR3287_OBJECTS) +OBJECTS = $(PR3287_OBJECTS) $(TOP)/Common/asprintf.o XVERSION = xversion.c version.o: mkversion.py $(OBJECTS) version.txt diff -ruN ../suite3270-4.5/s3270/Makefile.obj.in ./s3270/Makefile.obj.in --- ../suite3270-4.5/s3270/Makefile.obj.in 2025-12-22 21:49:20.000000000 -0500 +++ ./s3270/Makefile.obj.in 2026-04-03 00:10:12.000000000 -0400 @@ -35,7 +35,7 @@ HOST = @host@ include s3270_files.mk libs.mk -VOBJS = $(S3270_OBJECTS) fallbacks.o +VOBJS = $(S3270_OBJECTS) fallbacks.o $(TOP)/Common/ft_strcasestr.o $(TOP)/Common/asprintf.o OBJS1 = $(VOBJS) version.o diff -ruN ../suite3270-4.5/Shared/Makefile ./Shared/Makefile --- ../suite3270-4.5/Shared/Makefile 2025-12-22 21:49:20.000000000 -0500 +++ ./Shared/Makefile 1969-12-31 19:00:00.000000000 -0500 @@ -1,3 +0,0 @@ -# Makefile for shared objects - -bootstrap: diff -ruN ../suite3270-4.5/tcl3270/Makefile.obj.in ./tcl3270/Makefile.obj.in --- ../suite3270-4.5/tcl3270/Makefile.obj.in 2025-12-22 21:49:20.000000000 -0500 +++ ./tcl3270/Makefile.obj.in 2026-04-03 00:10:12.000000000 -0400 @@ -36,7 +36,7 @@ HOST = @host@ include tcl3270_files.mk libs.mk -VOBJS = $(TCL3270_OBJECTS) fallbacks.o +VOBJS = $(TCL3270_OBJECTS) fallbacks.o $(TOP)/Common/ft_strcasestr.o $(TOP)/Common/asprintf.o OBJS1 = $(VOBJS) version.o diff -ruN ../suite3270-4.5/wb3270/conf.h ./wb3270/conf.h --- ../suite3270-4.5/wb3270/conf.h 2025-12-22 21:49:20.000000000 -0500 +++ ./wb3270/conf.h 1969-12-31 19:00:00.000000000 -0500 @@ -1,3 +0,0 @@ -/* Hard-coded conf.h for wb3270 */ - -#define LIBX3270DIR "." diff -ruN ../suite3270-4.5/wb3270/Makefile ./wb3270/Makefile --- ../suite3270-4.5/wb3270/Makefile 2025-12-22 21:49:20.000000000 -0500 +++ ./wb3270/Makefile 1969-12-31 19:00:00.000000000 -0500 @@ -1,42 +0,0 @@ -# Copyright (c) 2016-2025 Paul Mattes. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# * Neither the name of Paul Mattes nor his contributors may be used -# to endorse or promote products derived from this software without -# specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY PAUL MATTES "AS IS" AND ANY EXPRESS OR -# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN -# NO EVENT SHALL PAUL MATTES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -# Makefile for Windows b3270 -objdir = ../obj/$(HOST)/b3270 -top = ../../.. -this = $(top)/wb3270 - -export VPATH = $(this):$(top)/Common/Win32:$(top)/Common/b3270:$(top)/Common -export TOP = $(top) -export THIS = $(this) - -MAKEINC = -I$(this) -I$(top)/Common -I$(top)/Common/b3270 -I$(top)/Common/Win32 - -all clean clobber: $(objdir) - $(MAKE) -C $(objdir) $(MAKEINC) -f $(this)/Makefile.obj $@ - -$(objdir): - mkdir -p $(objdir) diff -ruN ../suite3270-4.5/wc3270/conf.h ./wc3270/conf.h --- ../suite3270-4.5/wc3270/conf.h 2025-12-22 21:49:20.000000000 -0500 +++ ./wc3270/conf.h 1969-12-31 19:00:00.000000000 -0500 @@ -1,3 +0,0 @@ -/* Hard-coded conf.h for wc3270 */ - -#define LIBX3270DIR "." diff -ruN ../suite3270-4.5/wc3270/Makefile ./wc3270/Makefile --- ../suite3270-4.5/wc3270/Makefile 2025-12-22 21:49:20.000000000 -0500 +++ ./wc3270/Makefile 1969-12-31 19:00:00.000000000 -0500 @@ -1,42 +0,0 @@ -# Copyright (c) 2016-2025 Paul Mattes. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# * Neither the name of Paul Mattes nor his contributors may be used -# to endorse or promote products derived from this software without -# specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY PAUL MATTES "AS IS" AND ANY EXPRESS OR -# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN -# NO EVENT SHALL PAUL MATTES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -# Makefile for wc3270 -objdir = ../obj/$(HOST)/wc3270 -top = ../../.. -this = $(top)/wc3270 - -export VPATH = $(this):$(top)/Common/Win32:$(top)/Common/c3270:$(top)/Common -export TOP = $(top) -export THIS = $(this) - -MAKEINC = -I$(top)/Common -I$(top)/Common/Win32 - -all clean clobber: $(objdir) - $(MAKE) -C $(objdir) $(MAKEINC) -f $(this)/Makefile.obj $@ - -$(objdir): - mkdir -p $(objdir) diff -ruN ../suite3270-4.5/wc3270/Makefile.obj.in ./wc3270/Makefile.obj.in --- ../suite3270-4.5/wc3270/Makefile.obj.in 2025-12-22 21:49:20.000000000 -0500 +++ ./wc3270/Makefile.obj.in 2026-04-03 00:10:12.000000000 -0400 @@ -33,7 +33,7 @@ W = w include $(THIS)/wc3270_files.mk libs.mk -VOBJS = $(WC3270_OBJECTS) fallbacks.o wc3270res.o +VOBJS = $(WC3270_OBJECTS) fallbacks.o wc3270res.o $(TOP)/Common/ft_strcasestr.o $(TOP)/Common/ft_asprintf.o OBJECTS = $(VOBJS) version.o WOBJECTS = wizard.o wc3270res.o version.o shortcut.o relink.o diff -ruN ../suite3270-4.5/Webpage/Makefile ./Webpage/Makefile --- ../suite3270-4.5/Webpage/Makefile 2025-12-22 21:49:20.000000000 -0500 +++ ./Webpage/Makefile 1969-12-31 19:00:00.000000000 -0500 @@ -1,77 +0,0 @@ -# Copyright (c) 2007-2025 Paul Mattes. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# * Neither the names of Paul Mattes nor the names of his contributors -# may be used to endorse or promote products derived from this software -# without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY PAUL MATTES "AS IS" AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL PAUL MATTES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# Makefile for the Webpage directory - -PAGES = documentation-bugs.html documentation-manpages.html \ - documentation-misc.html documentation-other.html documentation.html \ - index.html screenshots.html x026.html - -SCREENS = c3270-thumb.png c3270.png cyrillic-thumb.png cyrillic.png \ - japanese-thumb.png japanese.png keypad-thumb.png keypad.png \ - wc3270-thumb.png wc3270.png x3270_main-thumb.png x3270_main.png - -OTHERS = $(SCREENS) .htaccess GitHub_Logo.png SS-HCS12-1372-00.pdf \ - c3270-help/.htaccess c3270-man.html ibm_hosts.html man/FAQ.html \ - pr3287-man.html s3270-man.html styles.css tcl3270-man.html \ - wc3270-help/.htaccess wc3270-man.html wx3270-help/.htaccess x026.gif \ - x3270-help/.htaccess x3270-man.html x3270.jpg - -all: $(PAGES) webpage.tgz - -clean: - $(RM) $(PAGES) webpage.tgz - -# Rules for HTML files with the navigation bar. -documentation.html: documentation-body.html mkpages.bash version.txt - ./mkpages.bash -I../Common documentation -documentation-bugs.html: documentation-bugs-body.html mkpages.bash version.txt - ./mkpages.bash -I../Common documentation-bugs -documentation-manpages.html: documentation-manpages-body.html mkpages.bash version.txt - ./mkpages.bash -I../Common documentation-manpages -documentation-misc.html: documentation-misc-body.html mkpages.bash version.txt - ./mkpages.bash -I../Common documentation-misc -documentation-other.html: documentation-other-body.html mkpages.bash version.txt - ./mkpages.bash -I../Common documentation-other -index.html: index-body.html mkpages.bash version.txt - ./mkpages.bash -I../Common index -screenshots.html: screenshots-body.html mkpages.bash version.txt - ./mkpages.bash -I../Common screenshots -x026.html: x026-body.html mkpages.bash version.txt - ./mkpages.bash -I../Common x026 - -c3270-man.html pr3287-man.html s3270-man.html tcl3270-man.html x3270-man.html wc3270-man.html: - $(MAKE) -C ../$(@:-man.html=) -f Makefile.aux html/$@ -ibm_hosts.html: - $(MAKE) -C ../ibm_hosts -f Makefile.aux html/ibm_hosts.html - -WPDIR=../obj/Webpage -TARBALL=$(WPDIR)/webpage.tgz -$(WPDIR): - mkdir -p $@ - -webpage.tgz: $(WPDIR) $(PAGES) $(OTHERS) mkpages.bash Makefile - ./mktar.bash -I../Common -I../c3270/html -I../ibm_hosts/html -I../pr3287/html -I../s3270/html -I../tcl3270/html -I../x3270/html -I../wc3270/html -o $(TARBALL) $(PAGES) $(OTHERS) - @ls -l $(TARBALL) diff -ruN ../suite3270-4.5/Webpage/Makefile.obj ./Webpage/Makefile.obj --- ../suite3270-4.5/Webpage/Makefile.obj 2025-12-22 21:49:20.000000000 -0500 +++ ./Webpage/Makefile.obj 1969-12-31 19:00:00.000000000 -0500 @@ -1,86 +0,0 @@ -# Copyright (c) 2007-2025 Paul Mattes. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are met: -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# * Neither the names of Paul Mattes nor the names of his contributors -# may be used to endorse or promote products derived from this software -# without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY PAUL MATTES "AS IS" AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL PAUL MATTES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# -# Makefile for the Webpage directory - -PAGES = documentation-bugs.html documentation-manpages.html \ - documentation-misc.html documentation-other.html documentation.html \ - index.html screenshots.html x026.html - -MANPAGES = c3270-man.html ibm_hosts.html pr3287-man.html s3270-man.html \ - tcl3270-man.html wc3270-man.html x3270-man.html - -LOCAL = .htaccess SS-HCS12-1372-00.pdf c3270-help/.htaccess c3270-thumb.png \ - c3270.png cyrillic-thumb.png cyrillic.png japanese-thumb.png \ - japanese.png keypad-thumb.png keypad.png man/FAQ.html styles.css \ - wc3270-help/.htaccess wc3270-thumb.png wc3270.png \ - wx3270-help/.htaccess x3270_main-thumb.png x3270_main.png - -DIRS = man c3270-help wc3270-help wx3270-help - -ODD = x3270.jpg x026.gif - -all: webpage.tgz - -INC = $(foreach dir,$(subst :, ,$(VPATH)),-I$(dir)) - -# Rules for HTML files with the navigation bar. -documentation.html: mkpages.bash documentation-body.html version.txt - $< $(INC) documentation -documentation-bugs.html: mkpages.bash documentation-bugs-body.html mkpages.bash version.txt - $< $(INC) documentation-bugs -documentation-manpages.html: mkpages.bash documentation-manpages-body.html version.txt - $< $(INC) documentation-manpages -documentation-misc.html: mkpages.bash documentation-misc-body.html version.txt - $< $(INC) documentation-misc -documentation-other.html: mkpages.bash documentation-other-body.html version.txt - $< $(INC) documentation-other -index.html: mkpages.bash index-body.html version.txt - $< $(INC) index -screenshots.html: mkpages.bash screenshots-body.html version.txt - $< $(INC) screenshots -x026.html: mkpages.bash x026-body.html version.txt - $< $(INC) x026 - -# Rules for manpages. -c3270-man.html pr3287-man.html s3270-man.html tcl3270-man.html wc3270-man.html x3270-man.html: - VPATH=../Common $(MAKE) -C $(TOP)/$(@:-man.html=) -I ../Common -f Makefile.aux html/$@ - cp -p $(TOP)/$(@:-man.html=)/html/$@ $@ -ibm_hosts.html: - VPATH=../Common $(MAKE) -C $(TOP)/ibm-hosts -I../Common -f Makefile.aux html/$@ - cp -p $(TOP)/ibm-hosts/html/$@ $@ - -# Get it all together. -webpage.tgz: $(PAGES) $(MANPAGES) $(LOCAL) $(ODD) mkpages.bash Makefile - mkdir -p $(DIRS) - tar -C $(THIS) -cf - $(LOCAL) | tar -xf - - $(RM) -f tmp-webpage.tgz - tar -czhf tmp-webpage.tgz $(PAGES) $(MANPAGES) $(LOCAL) $(ODD) - mv -f tmp-webpage.tgz webpage.tgz - -clean: - $(RM) -r $(PAGES) $(MANPAGES) $(LOCAL) $(ODD) $(DIRS) -clobber: clean - $(RM) webpage.tgz diff -ruN ../suite3270-4.5/wmitm/conf.h ./wmitm/conf.h --- ../suite3270-4.5/wmitm/conf.h 2025-12-22 21:49:20.000000000 -0500 +++ ./wmitm/conf.h 1969-12-31 19:00:00.000000000 -0500 @@ -1 +0,0 @@ -/* Hard-coded conf.h for wmitm */ diff -ruN ../suite3270-4.5/wmitm/Makefile ./wmitm/Makefile --- ../suite3270-4.5/wmitm/Makefile 2025-12-22 21:49:20.000000000 -0500 +++ ./wmitm/Makefile 1969-12-31 19:00:00.000000000 -0500 @@ -1,42 +0,0 @@ -# Copyright (c) 2016-2025 Paul Mattes. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# * Neither the name of Paul Mattes nor his contributors may be used -# to endorse or promote products derived from this software without -# specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY PAUL MATTES "AS IS" AND ANY EXPRESS OR -# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN -# NO EVENT SHALL PAUL MATTES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -# Makefile for mitm -objdir = ../obj/$(HOST)/mitm -top = ../../.. -this = $(top)/wmitm - -export VPATH = $(this):$(top)/Common/Win32:$(top)/Common -export TOP = $(top) -export THIS = $(this) - -MAKEINC = -I$(this) -I$(top)/Common -I$(top)/mitm -I$(top)/Common/Win32 - -all clean clobber: $(objdir) - $(MAKE) -C $(objdir) $(MAKEINC) -f $(this)/Makefile.obj $@ - -$(objdir): - mkdir -p $(objdir) diff -ruN ../suite3270-4.5/wplayback/Makefile ./wplayback/Makefile --- ../suite3270-4.5/wplayback/Makefile 2025-12-22 21:49:20.000000000 -0500 +++ ./wplayback/Makefile 1969-12-31 19:00:00.000000000 -0500 @@ -1,42 +0,0 @@ -# Copyright (c) 2016-2025 Paul Mattes. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# * Neither the name of Paul Mattes nor his contributors may be used -# to endorse or promote products derived from this software without -# specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY PAUL MATTES "AS IS" AND ANY EXPRESS OR -# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN -# NO EVENT SHALL PAUL MATTES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -# Makefile for Windows playback -objdir = ../obj/$(HOST)/playback -top = ../../.. -this = $(top)/wplayback - -export VPATH = $(this):$(top)/Common/Win32:$(top)/Common -export TOP = $(top) -export THIS = $(this) - -MAKEINC = -I$(this) -I$(top)/Common -I$(top)/Common/Win32 - -all clean clobber: $(objdir) - $(MAKE) -C $(objdir) $(MAKEINC) -f $(this)/Makefile.obj $@ - -$(objdir): - mkdir -p $(objdir) diff -ruN ../suite3270-4.5/wplayback/Makefile.obj ./wplayback/Makefile.obj --- ../suite3270-4.5/wplayback/Makefile.obj 2025-12-22 21:49:20.000000000 -0500 +++ ./wplayback/Makefile.obj 1969-12-31 19:00:00.000000000 -0500 @@ -1,52 +0,0 @@ -# Copyright (c) 2007-2025 Paul Mattes. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# * Neither the name of Paul Mattes nor his contributors may be used -# to endorse or promote products derived from this software without -# specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY PAUL MATTES "AS IS" AND ANY EXPRESS OR -# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN -# NO EVENT SHALL PAUL MATTES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -# Windows makefile for playback - -XCPPFLAGS = $(WIN32_FLAGS) -I$(THIS) -I$(TOP)/include -override CFLAGS += $(EXTRA_FLAGS) -g -Wall -Werror -MMD -MP $(XCPPFLAGS) - -W = w -include playback_files.mk libs.mk - -LIBS = -lws2_32 -LIBDEPS = $(DEP3270) $(DEP32XX) -DLLFLAGS = $(EXTRA_FLAGS) -mno-cygwin -shared -Wl,--export-all-symbols -Wl,--enable-auto-import - -PROGS = playback.exe -all: $(PROGS) - -playback.exe: $(PLAYBACK_OBJECTS) $(LIBDEPS) - $(CC) -o $@ $(CFLAGS) $(PLAYBACK_OBJECTS) $(LD3270) $(LD32XX) $(LIBS) - -clean: - rm -f *.o - -clobber: clean - rm -f $(PROGS) *.d - -# Include auto-generated eependencies --include $(OBJS:.o=.d) diff -ruN ../suite3270-4.5/wpr3287/conf.h ./wpr3287/conf.h --- ../suite3270-4.5/wpr3287/conf.h 2025-12-22 21:49:20.000000000 -0500 +++ ./wpr3287/conf.h 1969-12-31 19:00:00.000000000 -0500 @@ -1,45 +0,0 @@ -/* - * Copyright (c) 2000-2022 Paul Mattes. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * * Neither the name of Paul Mattes nor his contributors may be used - * to endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY PAUL MATTES "AS IS" AND ANY EXPRESS - * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL PAUL MATTES BE LIABLE FOR ANY DIRECT, - * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, - * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING - * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -/* - * conf.h - * System-specific #defines for libraries and library functions. - */ - -/* Libraries. */ - -/* Header files. */ - -/* Uncommon functions. */ -/* #undef HAVE_VASPRINTF */ - -/* Configuration options. */ -/* #undef USE_ICONV */ - -/* Optional parts. */ diff -ruN ../suite3270-4.5/wpr3287/Makefile ./wpr3287/Makefile --- ../suite3270-4.5/wpr3287/Makefile 2025-12-22 21:49:20.000000000 -0500 +++ ./wpr3287/Makefile 1969-12-31 19:00:00.000000000 -0500 @@ -1,42 +0,0 @@ -# Copyright (c) 2016-2025 Paul Mattes. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# * Neither the name of Paul Mattes nor his contributors may be used -# to endorse or promote products derived from this software without -# specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY PAUL MATTES "AS IS" AND ANY EXPRESS OR -# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN -# NO EVENT SHALL PAUL MATTES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -# Makefile for Windows pr3287 -objdir = ../obj/$(HOST)/pr3287 -top = ../../.. -this = $(top)/wpr3287 - -export VPATH = $(this):$(top)/Common/pr3287:$(top)/Common:$(top)/Common/Win32 -export TOP = $(top) -export THIS = $(this) - -MAKEINC = -I$(this) -I$(top)/Common/pr3287 -I$(top)/Common -I$(top)/Common/Win32 - -all clean clobber: $(objdir) - $(MAKE) -C $(objdir) $(MAKEINC) -f $(this)/Makefile.obj $@ - -$(objdir): - mkdir -p $(objdir) diff -ruN ../suite3270-4.5/wpr3287/Makefile.obj.in ./wpr3287/Makefile.obj.in --- ../suite3270-4.5/wpr3287/Makefile.obj.in 2025-12-22 21:49:20.000000000 -0500 +++ ./wpr3287/Makefile.obj.in 2026-04-03 00:10:12.000000000 -0400 @@ -35,7 +35,7 @@ include wpr3287_files.mk VOBJS = $(PR3287_OBJECTS) $(WPR3287_OBJECTS) -OBJECTS = $(VOBJS) version.o +OBJECTS = $(VOBJS) version.o $(TOP)/Common/asprintf.o LIBS = -lws2_32 -lwinspool -lcrypt32 -lsecur32 LIBDEPS = $(DEP32XX) $(DEP3270STUBS) diff -ruN ../suite3270-4.5/ws3270/conf.h ./ws3270/conf.h --- ../suite3270-4.5/ws3270/conf.h 2025-12-22 21:49:20.000000000 -0500 +++ ./ws3270/conf.h 1969-12-31 19:00:00.000000000 -0500 @@ -1,3 +0,0 @@ -/* Hard-coded conf.h for ws3270 */ - -#define LIBX3270DIR "." diff -ruN ../suite3270-4.5/ws3270/Makefile ./ws3270/Makefile --- ../suite3270-4.5/ws3270/Makefile 2025-12-22 21:49:20.000000000 -0500 +++ ./ws3270/Makefile 1969-12-31 19:00:00.000000000 -0500 @@ -1,42 +0,0 @@ -# Copyright (c) 2016-2025 Paul Mattes. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# * Neither the name of Paul Mattes nor his contributors may be used -# to endorse or promote products derived from this software without -# specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY PAUL MATTES "AS IS" AND ANY EXPRESS OR -# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN -# NO EVENT SHALL PAUL MATTES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -# Makefile for Windows s3270 -objdir = ../obj/$(HOST)/s3270 -top = ../../.. -this = $(top)/ws3270 - -export VPATH = $(this):$(top)/Common/Win32:$(top)/Common/s3270:$(top)/Common -export TOP = $(top) -export THIS = $(this) - -MAKEINC = -I$(this) -I$(top)/Common -I$(top)/Common/Win32 - -all clean clobber: $(objdir) - $(MAKE) -C $(objdir) $(MAKEINC) -f $(this)/Makefile.obj $@ - -$(objdir): - mkdir -p $(objdir) diff -ruN ../suite3270-4.5/ws3270/Makefile.obj.in ./ws3270/Makefile.obj.in --- ../suite3270-4.5/ws3270/Makefile.obj.in 2025-12-22 21:49:20.000000000 -0500 +++ ./ws3270/Makefile.obj.in 2026-04-03 00:10:12.000000000 -0400 @@ -34,7 +34,7 @@ W = w include ws3270_files.mk libs.mk -VOBJS = $(WS3270_OBJECTS) fallbacks.o ws3270res.o +VOBJS = $(WS3270_OBJECTS) fallbacks.o ws3270res.o $(TOP)/Common/ft_strcasestr.o OBJECTS = $(VOBJS) version.o LIBS = -lws2_32 -lcomdlg32 -lgdi32 -lwinspool -lcrypt32 -lsecur32 diff -ruN ../suite3270-4.5/wx3270if/Makefile ./wx3270if/Makefile --- ../suite3270-4.5/wx3270if/Makefile 2025-12-22 21:49:20.000000000 -0500 +++ ./wx3270if/Makefile 1969-12-31 19:00:00.000000000 -0500 @@ -1,42 +0,0 @@ -# Copyright (c) 2016-2025 Paul Mattes. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in the -# documentation and/or other materials provided with the distribution. -# * Neither the name of Paul Mattes nor his contributors may be used -# to endorse or promote products derived from this software without -# specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY PAUL MATTES "AS IS" AND ANY EXPRESS OR -# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN -# NO EVENT SHALL PAUL MATTES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -# Makefile for x3270if -objdir = ../obj/$(HOST)/x3270if -top = ../../.. -this = $(top)/wx3270if - -export VPATH = $(this):$(top)/Common/Win32:$(top)/Common -export TOP = $(top) -export THIS = $(this) - -MAKEINC = -I$(this) -I$(top)/Common -I$(top)/x3270if -I$(top)/Common/Win32 - -all clean clobber: $(objdir) - $(MAKE) -C $(objdir) $(MAKEINC) -f $(this)/Makefile.obj $@ - -$(objdir): - mkdir -p $(objdir) diff -ruN ../suite3270-4.5/wx3270if/Makefile.obj.in ./wx3270if/Makefile.obj.in --- ../suite3270-4.5/wx3270if/Makefile.obj.in 2025-12-22 21:49:20.000000000 -0500 +++ ./wx3270if/Makefile.obj.in 2026-04-03 00:10:12.000000000 -0400 @@ -34,7 +34,7 @@ W = w include x3270if_files.mk libs.mk -VOBJS = $(X3270IF_OBJECTS) +VOBJS = $(X3270IF_OBJECTS) $(TOP)/Common/ft_strcasestr.o OBJECTS = $(VOBJS) version.o LIBS = -lws2_32 diff -ruN ../suite3270-4.5/x3270/Makefile.obj.in ./x3270/Makefile.obj.in --- ../suite3270-4.5/x3270/Makefile.obj.in 2025-12-22 21:49:20.000000000 -0500 +++ ./x3270/Makefile.obj.in 2026-04-03 00:10:12.000000000 -0400 @@ -33,7 +33,7 @@ include x3270_files.mk libs.mk -VOBJS = $(X3270_OBJECTS) fallbacks.o +VOBJS = $(X3270_OBJECTS) fallbacks.o $(TOP)/Common/ft_strcasestr.o OBJS1 = $(VOBJS) version.o diff -ruN ../suite3270-4.5/x3270if/Makefile.obj.in ./x3270if/Makefile.obj.in --- ../suite3270-4.5/x3270if/Makefile.obj.in 2025-12-22 21:49:20.000000000 -0500 +++ ./x3270if/Makefile.obj.in 2026-04-03 00:10:12.000000000 -0400 @@ -34,7 +34,7 @@ HOST = @host@ include x3270if_files.mk -VOBJS = $(X3270IF_OBJECTS) +VOBJS = $(X3270IF_OBJECTS) $(TOP)/Common/ft_strcasestr.o OBJS1 = $(VOBJS) version.o