diff options
| author | Mehmet Samet Duman <yongdohyun@projecttick.org> | 2026-04-02 18:51:45 +0300 |
|---|---|---|
| committer | Mehmet Samet Duman <yongdohyun@projecttick.org> | 2026-04-02 18:51:45 +0300 |
| commit | d3261e64152397db2dca4d691a990c6bc2a6f4dd (patch) | |
| tree | fac2f7be638651181a72453d714f0f96675c2b8b /archived/ptlibzippy/msdos | |
| parent | 31b9a8949ed0a288143e23bf739f2eb64fdc63be (diff) | |
| download | Project-Tick-d3261e64152397db2dca4d691a990c6bc2a6f4dd.tar.gz Project-Tick-d3261e64152397db2dca4d691a990c6bc2a6f4dd.zip | |
NOISSUE add archived projects
Signed-off-by: Mehmet Samet Duman <yongdohyun@projecttick.org>
Diffstat (limited to 'archived/ptlibzippy/msdos')
| -rw-r--r-- | archived/ptlibzippy/msdos/Makefile.bor | 115 | ||||
| -rw-r--r-- | archived/ptlibzippy/msdos/Makefile.dj2 | 105 | ||||
| -rw-r--r-- | archived/ptlibzippy/msdos/Makefile.emx | 70 | ||||
| -rw-r--r-- | archived/ptlibzippy/msdos/Makefile.msc | 112 | ||||
| -rw-r--r-- | archived/ptlibzippy/msdos/Makefile.tc | 100 |
5 files changed, 502 insertions, 0 deletions
diff --git a/archived/ptlibzippy/msdos/Makefile.bor b/archived/ptlibzippy/msdos/Makefile.bor new file mode 100644 index 0000000000..61db851bdc --- /dev/null +++ b/archived/ptlibzippy/msdos/Makefile.bor @@ -0,0 +1,115 @@ +# Makefile for PTlibzippy +# Borland C++ +# Last updated: 15-Mar-2003 + +# To use, do "make -fmakefile.bor" +# To compile in small model, set below: MODEL=s + +# WARNING: the small model is supported but only for small values of +# MAX_WBITS and MAX_MEM_LEVEL. For example: +# -DMAX_WBITS=11 -DDEF_WBITS=11 -DMAX_MEM_LEVEL=3 +# If you wish to reduce the memory requirements (default 256K for big +# objects plus a few K), you can add to the LOC macro below: +# -DMAX_MEM_LEVEL=7 -DMAX_WBITS=14 +# See ptzippyconf.h for details about the memory requirements. + +# ------------ Turbo C++, Borland C++ ------------ + +# Optional nonstandard preprocessor flags (e.g. -DMAX_MEM_LEVEL=7) +# should be added to the environment via "set LOCAL_PTLIBZIPPY=-DFOO" or added +# to the declaration of LOC here: +LOC = $(LOCAL_PTLIBZIPPY) + +# type for CPU required: 0: 8086, 1: 80186, 2: 80286, 3: 80386, etc. +CPU_TYP = 0 + +# memory model: one of s, m, c, l (small, medium, compact, large) +MODEL=l + +# replace bcc with tcc for Turbo C++ 1.0, with bcc32 for the 32 bit version +CC=bcc +LD=bcc +AR=tlib + +# compiler flags +# replace "-O2" by "-O -G -a -d" for Turbo C++ 1.0 +CFLAGS=-O2 -Z -m$(MODEL) $(LOC) + +LDFLAGS=-m$(MODEL) -f- + + +# variables +PTLIBZIPPY_LIB = ptlibzippy_$(MODEL).lib + +OBJ1 = adler32.obj compress.obj crc32.obj deflate.obj gzclose.obj gzlib.obj gzread.obj +OBJ2 = gzwrite.obj infback.obj inffast.obj inflate.obj inftrees.obj trees.obj uncompr.obj ptzippyutil.obj +OBJP1 = +adler32.obj+compress.obj+crc32.obj+deflate.obj+gzclose.obj+gzlib.obj+gzread.obj +OBJP2 = +gzwrite.obj+infback.obj+inffast.obj+inflate.obj+inftrees.obj+trees.obj+uncompr.obj+ptzippyutil.obj + + +# targets +all: $(PTLIBZIPPY_LIB) example.exe minigzip.exe + +.c.obj: + $(CC) -c $(CFLAGS) $*.c + +adler32.obj: adler32.c ptlibzippy.h ptzippyconf.h + +compress.obj: compress.c ptlibzippy.h ptzippyconf.h + +crc32.obj: crc32.c ptlibzippy.h ptzippyconf.h crc32.h + +deflate.obj: deflate.c deflate.h ptzippyutil.h ptlibzippy.h ptzippyconf.h + +gzclose.obj: gzclose.c ptlibzippy.h ptzippyconf.h ptzippyguts.h + +gzlib.obj: gzlib.c ptlibzippy.h ptzippyconf.h ptzippyguts.h + +gzread.obj: gzread.c ptlibzippy.h ptzippyconf.h ptzippyguts.h + +gzwrite.obj: gzwrite.c ptlibzippy.h ptzippyconf.h ptzippyguts.h + +infback.obj: infback.c ptzippyutil.h ptlibzippy.h ptzippyconf.h inftrees.h inflate.h \ + inffast.h inffixed.h + +inffast.obj: inffast.c ptzippyutil.h ptlibzippy.h ptzippyconf.h inftrees.h inflate.h \ + inffast.h + +inflate.obj: inflate.c ptzippyutil.h ptlibzippy.h ptzippyconf.h inftrees.h inflate.h \ + inffast.h inffixed.h + +inftrees.obj: inftrees.c ptzippyutil.h ptlibzippy.h ptzippyconf.h inftrees.h + +trees.obj: trees.c ptzippyutil.h ptlibzippy.h ptzippyconf.h deflate.h trees.h + +uncompr.obj: uncompr.c ptlibzippy.h ptzippyconf.h + +ptzippyutil.obj: ptzippyutil.c ptzippyutil.h ptlibzippy.h ptzippyconf.h + +example.obj: test/example.c ptlibzippy.h ptzippyconf.h + +minigzip.obj: test/minigzip.c ptlibzippy.h ptzippyconf.h + + +# the command line is cut to fit in the MS-DOS 128 byte limit: +$(PTLIBZIPPY_LIB): $(OBJ1) $(OBJ2) + -del $(PTLIBZIPPY_LIB) + $(AR) $(PTLIBZIPPY_LIB) $(OBJP1) + $(AR) $(PTLIBZIPPY_LIB) $(OBJP2) + +example.exe: example.obj $(PTLIBZIPPY_LIB) + $(LD) $(LDFLAGS) example.obj $(PTLIBZIPPY_LIB) + +minigzip.exe: minigzip.obj $(PTLIBZIPPY_LIB) + $(LD) $(LDFLAGS) minigzip.obj $(PTLIBZIPPY_LIB) + +test: example.exe minigzip.exe + example + echo hello world | minigzip | minigzip -d + +clean: + -del *.obj + -del *.lib + -del *.exe + -del ptlibzippy_*.bak + -del foo.gz diff --git a/archived/ptlibzippy/msdos/Makefile.dj2 b/archived/ptlibzippy/msdos/Makefile.dj2 new file mode 100644 index 0000000000..980897a873 --- /dev/null +++ b/archived/ptlibzippy/msdos/Makefile.dj2 @@ -0,0 +1,105 @@ +# Makefile for PTlibzippy. Modified for djgpp v2.0 by F. J. Donahoe, 3/15/96. +# Copyright (C) 1995-1998 Jean-loup Gailly. +# Copyright (C) 2026 Project Tick +# For conditions of distribution and use, see copyright notice in ptlibzippy.h + +# To compile, or to compile and test, type: +# +# make -fmakefile.dj2; make test -fmakefile.dj2 +# +# To install libptlibzippy.a, ptzippyconf.h and ptlibzippy.h in the djgpp directories, type: +# +# make install -fmakefile.dj2 +# +# after first defining LIBRARY_PATH and INCLUDE_PATH in djgpp.env as +# in the sample below if the pattern of the DJGPP distribution is to +# be followed. Remember that, while <sp>'es around <=> are ignored in +# makefiles, they are *not* in batch files or in djgpp.env. +# - - - - - +# [make] +# INCLUDE_PATH=%\>;INCLUDE_PATH%%\DJDIR%\include +# LIBRARY_PATH=%\>;LIBRARY_PATH%%\DJDIR%\lib +# BUTT=-m486 +# - - - - - +# Alternately, these variables may be defined below, overriding the values +# in djgpp.env, as +# INCLUDE_PATH=c:\usr\include +# LIBRARY_PATH=c:\usr\lib + +CC=gcc + +#CFLAGS=-MMD -O +#CFLAGS=-O -DMAX_WBITS=14 -DMAX_MEM_LEVEL=7 +#CFLAGS=-MMD -g -DPTLIBZIPPY_DEBUG +CFLAGS=-MMD -O3 $(BUTT) -Wall -Wwrite-strings -Wpointer-arith \ + -Wstrict-prototypes -Wmissing-prototypes + +# If cp.exe is available, replace "copy /Y" with "cp -fp" . +CP=copy /Y +# If gnu install.exe is available, replace $(CP) with ginstall. +INSTALL=$(CP) +# The default value of RM is "rm -f." If "rm.exe" is found, comment out: +RM=del +LDLIBS=-L. -lptlibzippy +LD=$(CC) -s -o +LDSHARED=$(CC) + +INCL=ptlibzippy.h ptzippyconf.h +LIBS=libptlibzippy.a + +AR=ar rcs + +prefix=/usr/local +exec_prefix = $(prefix) + +OBJS = adler32.o compress.o crc32.o gzclose.o gzlib.o gzread.o gzwrite.o \ + uncompr.o deflate.o trees.o ptzippyutil.o inflate.o infback.o inftrees.o inffast.o + +OBJA = +# to use the asm code: make OBJA=match.o + +TEST_OBJS = example.o minigzip.o + +all: example.exe minigzip.exe + +check: test +test: all + ./example + echo hello world | .\minigzip | .\minigzip -d + +%.o : %.c + $(CC) $(CFLAGS) -c $< -o $@ + +libptlibzippy.a: $(OBJS) $(OBJA) + $(AR) $@ $(OBJS) $(OBJA) + +%.exe : %.o $(LIBS) + $(LD) $@ $< $(LDLIBS) + +# INCLUDE_PATH and LIBRARY_PATH were set for [make] in djgpp.env . + +.PHONY : uninstall clean + +install: $(INCL) $(LIBS) + -@if not exist $(INCLUDE_PATH)\nul mkdir $(INCLUDE_PATH) + -@if not exist $(LIBRARY_PATH)\nul mkdir $(LIBRARY_PATH) + $(INSTALL) ptlibzippy.h $(INCLUDE_PATH) + $(INSTALL) ptzippyconf.h $(INCLUDE_PATH) + $(INSTALL) libptlibzippy.a $(LIBRARY_PATH) + +uninstall: + $(RM) $(INCLUDE_PATH)\ptlibzippy.h + $(RM) $(INCLUDE_PATH)\ptzippyconf.h + $(RM) $(LIBRARY_PATH)\libptlibzippy.a + +clean: + $(RM) *.d + $(RM) *.o + $(RM) *.exe + $(RM) libptlibzippy.a + $(RM) foo.gz + +DEPS := $(wildcard *.d) +ifneq ($(DEPS),) +include $(DEPS) +endif diff --git a/archived/ptlibzippy/msdos/Makefile.emx b/archived/ptlibzippy/msdos/Makefile.emx new file mode 100644 index 0000000000..0b76feee23 --- /dev/null +++ b/archived/ptlibzippy/msdos/Makefile.emx @@ -0,0 +1,70 @@ +# Makefile for PTlibzippy. Modified for emx 0.9c by Chr. Spieler, 6/17/98. +# Copyright (C) 1995-1998 Jean-loup Gailly. +# Copyright (C) 2026 Project Tick +# For conditions of distribution and use, see copyright notice in ptlibzippy.h + +# To compile, or to compile and test, type: +# +# make -fmakefile.emx; make test -fmakefile.emx +# + +CC=gcc + +#CFLAGS=-MMD -O +#CFLAGS=-O -DMAX_WBITS=14 -DMAX_MEM_LEVEL=7 +#CFLAGS=-MMD -g -DPTLIBZIPPY_DEBUG +CFLAGS=-MMD -O3 $(BUTT) -Wall -Wwrite-strings -Wpointer-arith -Wconversion \ + -Wstrict-prototypes -Wmissing-prototypes + +# If cp.exe is available, replace "copy /Y" with "cp -fp" . +CP=copy /Y +# If gnu install.exe is available, replace $(CP) with ginstall. +INSTALL=$(CP) +# The default value of RM is "rm -f." If "rm.exe" is found, comment out: +RM=del +LDLIBS=-L. -lptlibzippy +LD=$(CC) -s -o +LDSHARED=$(CC) + +INCL=ptlibzippy.h ptzippyconf.h +LIBS=ptlibzippy.a + +AR=ar rcs + +prefix=/usr/local +exec_prefix = $(prefix) + +OBJS = adler32.o compress.o crc32.o gzclose.o gzlib.o gzread.o gzwrite.o \ + uncompr.o deflate.o trees.o ptzippyutil.o inflate.o infback.o inftrees.o inffast.o + +TEST_OBJS = example.o minigzip.o + +all: example.exe minigzip.exe + +test: all + ./example + echo hello world | .\minigzip | .\minigzip -d + +%.o : %.c + $(CC) $(CFLAGS) -c $< -o $@ + +ptlibzippy.a: $(OBJS) + $(AR) $@ $(OBJS) + +%.exe : %.o $(LIBS) + $(LD) $@ $< $(LDLIBS) + + +.PHONY : clean + +clean: + $(RM) *.d + $(RM) *.o + $(RM) *.exe + $(RM) ptlibzippy.a + $(RM) foo.gz + +DEPS := $(wildcard *.d) +ifneq ($(DEPS),) +include $(DEPS) +endif diff --git a/archived/ptlibzippy/msdos/Makefile.msc b/archived/ptlibzippy/msdos/Makefile.msc new file mode 100644 index 0000000000..4c5011f355 --- /dev/null +++ b/archived/ptlibzippy/msdos/Makefile.msc @@ -0,0 +1,112 @@ +# Makefile for PTlibzippy +# Microsoft C 5.1 or later +# Last updated: 19-Mar-2003 + +# To use, do "make makefile.msc" +# To compile in small model, set below: MODEL=S + +# If you wish to reduce the memory requirements (default 256K for big +# objects plus a few K), you can add to the LOC macro below: +# -DMAX_MEM_LEVEL=7 -DMAX_WBITS=14 +# See ptzippyconf.h for details about the memory requirements. + +# ------------- Microsoft C 5.1 and later ------------- + +# Optional nonstandard preprocessor flags (e.g. -DMAX_MEM_LEVEL=7) +# should be added to the environment via "set LOCAL_PTLIBZIPPY=-DFOO" or added +# to the declaration of LOC here: +LOC = $(LOCAL_PTLIBZIPPY) + +# Type for CPU required: 0: 8086, 1: 80186, 2: 80286, 3: 80386, etc. +CPU_TYP = 0 + +# Memory model: one of S, M, C, L (small, medium, compact, large) +MODEL=L + +CC=cl +CFLAGS=-nologo -A$(MODEL) -G$(CPU_TYP) -W3 -Oait -Gs $(LOC) +#-Ox generates bad code with MSC 5.1 +LIB_CFLAGS=-Zl $(CFLAGS) + +LD=link +LDFLAGS=/noi/e/st:0x1500/noe/farcall/packcode +# "/farcall/packcode" are only useful for `large code' memory models +# but should be a "no-op" for small code models. + + +# variables +PTLIBZIPPY_LIB = ptlibzippy_$(MODEL).lib + +OBJ1 = adler32.obj compress.obj crc32.obj deflate.obj gzclose.obj gzlib.obj gzread.obj +OBJ2 = gzwrite.obj infback.obj inffast.obj inflate.obj inftrees.obj trees.obj uncompr.obj ptzippyutil.obj + + +# targets +all: $(PTLIBZIPPY_LIB) example.exe minigzip.exe + +.c.obj: + $(CC) -c $(LIB_CFLAGS) $*.c + +adler32.obj: adler32.c ptlibzippy.h ptzippyconf.h + +compress.obj: compress.c ptlibzippy.h ptzippyconf.h + +crc32.obj: crc32.c ptlibzippy.h ptzippyconf.h crc32.h + +deflate.obj: deflate.c deflate.h ptzippyutil.h ptlibzippy.h ptzippyconf.h + +gzclose.obj: gzclose.c ptlibzippy.h ptzippyconf.h ptzippyguts.h + +gzlib.obj: gzlib.c ptlibzippy.h ptzippyconf.h ptzippyguts.h + +gzread.obj: gzread.c ptlibzippy.h ptzippyconf.h ptzippyguts.h + +gzwrite.obj: gzwrite.c ptlibzippy.h ptzippyconf.h ptzippyguts.h + +infback.obj: infback.c ptzippyutil.h ptlibzippy.h ptzippyconf.h inftrees.h inflate.h \ + inffast.h inffixed.h + +inffast.obj: inffast.c ptzippyutil.h ptlibzippy.h ptzippyconf.h inftrees.h inflate.h \ + inffast.h + +inflate.obj: inflate.c ptzippyutil.h ptlibzippy.h ptzippyconf.h inftrees.h inflate.h \ + inffast.h inffixed.h + +inftrees.obj: inftrees.c ptzippyutil.h ptlibzippy.h ptzippyconf.h inftrees.h + +trees.obj: trees.c ptzippyutil.h ptlibzippy.h ptzippyconf.h deflate.h trees.h + +uncompr.obj: uncompr.c ptlibzippy.h ptzippyconf.h + +ptzippyutil.obj: ptzippyutil.c ptzippyutil.h ptlibzippy.h ptzippyconf.h + +example.obj: test/example.c ptlibzippy.h ptzippyconf.h + $(CC) -c $(CFLAGS) $*.c + +minigzip.obj: test/minigzip.c ptlibzippy.h ptzippyconf.h + $(CC) -c $(CFLAGS) $*.c + + +# the command line is cut to fit in the MS-DOS 128 byte limit: +$(PTLIBZIPPY_LIB): $(OBJ1) $(OBJ2) + if exist $(PTLIBZIPPY_LIB) del $(PTLIBZIPPY_LIB) + lib $(PTLIBZIPPY_LIB) $(OBJ1); + lib $(PTLIBZIPPY_LIB) $(OBJ2); + +example.exe: example.obj $(PTLIBZIPPY_LIB) + $(LD) $(LDFLAGS) example.obj,,,$(PTLIBZIPPY_LIB); + +minigzip.exe: minigzip.obj $(PTLIBZIPPY_LIB) + $(LD) $(LDFLAGS) minigzip.obj,,,$(PTLIBZIPPY_LIB); + +test: example.exe minigzip.exe + example + echo hello world | minigzip | minigzip -d + +clean: + -del *.obj + -del *.lib + -del *.exe + -del *.map + -del ptlibzippy_*.bak + -del foo.gz diff --git a/archived/ptlibzippy/msdos/Makefile.tc b/archived/ptlibzippy/msdos/Makefile.tc new file mode 100644 index 0000000000..20541302fd --- /dev/null +++ b/archived/ptlibzippy/msdos/Makefile.tc @@ -0,0 +1,100 @@ +# Makefile for PTlibzippy +# Turbo C 2.01, Turbo C++ 1.01 +# Last updated: 15-Mar-2003 + +# To use, do "make -fmakefile.tc" +# To compile in small model, set below: MODEL=s + +# WARNING: the small model is supported but only for small values of +# MAX_WBITS and MAX_MEM_LEVEL. For example: +# -DMAX_WBITS=11 -DMAX_MEM_LEVEL=3 +# If you wish to reduce the memory requirements (default 256K for big +# objects plus a few K), you can add to CFLAGS below: +# -DMAX_MEM_LEVEL=7 -DMAX_WBITS=14 +# See ptzippyconf.h for details about the memory requirements. + +# ------------ Turbo C 2.01, Turbo C++ 1.01 ------------ +MODEL=l +CC=tcc +LD=tcc +AR=tlib +# CFLAGS=-O2 -G -Z -m$(MODEL) -DMAX_WBITS=11 -DMAX_MEM_LEVEL=3 +CFLAGS=-O2 -G -Z -m$(MODEL) +LDFLAGS=-m$(MODEL) -f- + + +# variables +PTLIBZIPPY_LIB = ptlibzippy_$(MODEL).lib + +OBJ1 = adler32.obj compress.obj crc32.obj deflate.obj gzclose.obj gzlib.obj gzread.obj +OBJ2 = gzwrite.obj infback.obj inffast.obj inflate.obj inftrees.obj trees.obj uncompr.obj ptzippyutil.obj +OBJP1 = +adler32.obj+compress.obj+crc32.obj+deflate.obj+gzclose.obj+gzlib.obj+gzread.obj +OBJP2 = +gzwrite.obj+infback.obj+inffast.obj+inflate.obj+inftrees.obj+trees.obj+uncompr.obj+ptzippyutil.obj + + +# targets +all: $(PTLIBZIPPY_LIB) example.exe minigzip.exe + +.c.obj: + $(CC) -c $(CFLAGS) $*.c + +adler32.obj: adler32.c ptlibzippy.h ptzippyconf.h + +compress.obj: compress.c ptlibzippy.h ptzippyconf.h + +crc32.obj: crc32.c ptlibzippy.h ptzippyconf.h crc32.h + +deflate.obj: deflate.c deflate.h ptzippyutil.h ptlibzippy.h ptzippyconf.h + +gzclose.obj: gzclose.c ptlibzippy.h ptzippyconf.h ptzippyguts.h + +gzlib.obj: gzlib.c ptlibzippy.h ptzippyconf.h ptzippyguts.h + +gzread.obj: gzread.c ptlibzippy.h ptzippyconf.h ptzippyguts.h + +gzwrite.obj: gzwrite.c ptlibzippy.h ptzippyconf.h ptzippyguts.h + +infback.obj: infback.c ptzippyutil.h ptlibzippy.h ptzippyconf.h inftrees.h inflate.h \ + inffast.h inffixed.h + +inffast.obj: inffast.c ptzippyutil.h ptlibzippy.h ptzippyconf.h inftrees.h inflate.h \ + inffast.h + +inflate.obj: inflate.c ptzippyutil.h ptlibzippy.h ptzippyconf.h inftrees.h inflate.h \ + inffast.h inffixed.h + +inftrees.obj: inftrees.c ptzippyutil.h ptlibzippy.h ptzippyconf.h inftrees.h + +trees.obj: trees.c ptzippyutil.h ptlibzippy.h ptzippyconf.h deflate.h trees.h + +uncompr.obj: uncompr.c ptlibzippy.h ptzippyconf.h + +ptzippyutil.obj: ptzippyutil.c ptzippyutil.h ptlibzippy.h ptzippyconf.h + +example.obj: test/example.c ptlibzippy.h ptzippyconf.h + +minigzip.obj: test/minigzip.c ptlibzippy.h ptzippyconf.h + + +# the command line is cut to fit in the MS-DOS 128 byte limit: +$(PTLIBZIPPY_LIB): $(OBJ1) $(OBJ2) + -del $(PTLIBZIPPY_LIB) + $(AR) $(PTLIBZIPPY_LIB) $(OBJP1) + $(AR) $(PTLIBZIPPY_LIB) $(OBJP2) + +example.exe: example.obj $(PTLIBZIPPY_LIB) + $(LD) $(LDFLAGS) example.obj $(PTLIBZIPPY_LIB) + +minigzip.exe: minigzip.obj $(PTLIBZIPPY_LIB) + $(LD) $(LDFLAGS) minigzip.obj $(PTLIBZIPPY_LIB) + +test: example.exe minigzip.exe + example + echo hello world | minigzip | minigzip -d + +clean: + -del *.obj + -del *.lib + -del *.exe + -del ptlibzippy_*.bak + -del foo.gz |
