summaryrefslogtreecommitdiff
path: root/Build/source/extra/xz/dos
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/extra/xz/dos')
-rw-r--r--Build/source/extra/xz/dos/Makefile146
-rw-r--r--Build/source/extra/xz/dos/README88
-rw-r--r--Build/source/extra/xz/dos/config.h130
3 files changed, 0 insertions, 364 deletions
diff --git a/Build/source/extra/xz/dos/Makefile b/Build/source/extra/xz/dos/Makefile
deleted file mode 100644
index 3a028993edf..00000000000
--- a/Build/source/extra/xz/dos/Makefile
+++ /dev/null
@@ -1,146 +0,0 @@
-###############################################################################
-#
-# Makefile to build XZ Utils using DJGPP
-#
-# Author: Lasse Collin
-#
-# This file has been put into the public domain.
-# You can do whatever you want with this file.
-#
-###############################################################################
-
-# For debugging, set comment "#define NDEBUG 1" from config.h to enable
-# the assert() macro, set STRIP=rem to disable stripping, and finally
-# e.g. CFLAGS="-g -O0".
-CC = gcc
-STRIP = strip
-CPPFLAGS =
-CFLAGS = -g -Wall -Wextra -Wfatal-errors -march=i386 -mtune=i686 -O2
-LDFLAGS = -lemu
-
-# NOTE: -fgnu89-inline is needed on DJGPP 2.04 beta and GCC >= 4.3.0
-# because time.h uses GNU-style "extern inline".
-ALL_CFLAGS = -std=gnu99 -fgnu89-inline
-
-ALL_CPPFLAGS = \
- -I. \
- -I../lib \
- -I../src/common \
- -I../src/liblzma/api \
- -I../src/liblzma/common \
- -I../src/liblzma/check \
- -I../src/liblzma/rangecoder \
- -I../src/liblzma/lz \
- -I../src/liblzma/lzma \
- -I../src/liblzma/delta \
- -I../src/liblzma/simple \
- -DHAVE_CONFIG_H
-
-ALL_CPPFLAGS += $(CPPFLAGS)
-ALL_CFLAGS += $(CFLAGS)
-
-.PHONY: all
-all: xz.exe
-
-SRCS_C = \
- ../lib/getopt.c \
- ../lib/getopt1.c \
- ../src/common/tuklib_cpucores.c \
- ../src/common/tuklib_exit.c \
- ../src/common/tuklib_mbstr_fw.c \
- ../src/common/tuklib_mbstr_width.c \
- ../src/common/tuklib_open_stdxxx.c \
- ../src/common/tuklib_physmem.c \
- ../src/common/tuklib_progname.c \
- ../src/liblzma/check/check.c \
- ../src/liblzma/check/crc32_table.c \
- ../src/liblzma/check/crc64_table.c \
- ../src/liblzma/check/sha256.c \
- ../src/liblzma/common/alone_decoder.c \
- ../src/liblzma/common/alone_encoder.c \
- ../src/liblzma/common/block_decoder.c \
- ../src/liblzma/common/block_encoder.c \
- ../src/liblzma/common/block_header_decoder.c \
- ../src/liblzma/common/block_header_encoder.c \
- ../src/liblzma/common/block_util.c \
- ../src/liblzma/common/common.c \
- ../src/liblzma/common/filter_common.c \
- ../src/liblzma/common/filter_decoder.c \
- ../src/liblzma/common/filter_encoder.c \
- ../src/liblzma/common/filter_flags_decoder.c \
- ../src/liblzma/common/filter_flags_encoder.c \
- ../src/liblzma/common/hardware_physmem.c \
- ../src/liblzma/common/index.c \
- ../src/liblzma/common/index_decoder.c \
- ../src/liblzma/common/index_encoder.c \
- ../src/liblzma/common/index_hash.c \
- ../src/liblzma/common/stream_decoder.c \
- ../src/liblzma/common/stream_encoder.c \
- ../src/liblzma/common/stream_flags_common.c \
- ../src/liblzma/common/stream_flags_decoder.c \
- ../src/liblzma/common/stream_flags_encoder.c \
- ../src/liblzma/common/vli_decoder.c \
- ../src/liblzma/common/vli_encoder.c \
- ../src/liblzma/common/vli_size.c \
- ../src/liblzma/delta/delta_common.c \
- ../src/liblzma/delta/delta_decoder.c \
- ../src/liblzma/delta/delta_encoder.c \
- ../src/liblzma/lz/lz_decoder.c \
- ../src/liblzma/lz/lz_encoder.c \
- ../src/liblzma/lz/lz_encoder_mf.c \
- ../src/liblzma/lzma/fastpos_table.c \
- ../src/liblzma/lzma/lzma2_decoder.c \
- ../src/liblzma/lzma/lzma2_encoder.c \
- ../src/liblzma/lzma/lzma_decoder.c \
- ../src/liblzma/lzma/lzma_encoder.c \
- ../src/liblzma/lzma/lzma_encoder_optimum_fast.c \
- ../src/liblzma/lzma/lzma_encoder_optimum_normal.c \
- ../src/liblzma/lzma/lzma_encoder_presets.c \
- ../src/liblzma/rangecoder/price_table.c \
- ../src/liblzma/simple/arm.c \
- ../src/liblzma/simple/armthumb.c \
- ../src/liblzma/simple/ia64.c \
- ../src/liblzma/simple/powerpc.c \
- ../src/liblzma/simple/simple_coder.c \
- ../src/liblzma/simple/simple_decoder.c \
- ../src/liblzma/simple/simple_encoder.c \
- ../src/liblzma/simple/sparc.c \
- ../src/liblzma/simple/x86.c \
- ../src/xz/args.c \
- ../src/xz/coder.c \
- ../src/xz/file_io.c \
- ../src/xz/hardware.c \
- ../src/xz/list.c \
- ../src/xz/main.c \
- ../src/xz/message.c \
- ../src/xz/options.c \
- ../src/xz/signals.c \
- ../src/xz/suffix.c \
- ../src/xz/util.c
-SRCS_ASM = \
- ../src/liblzma/check/crc32_x86.S \
- ../src/liblzma/check/crc64_x86.S
-
-OBJS_C = $(SRCS_C:.c=.o)
-OBJS_ASM = $(SRCS_ASM:.S=.o)
-OBJS = $(OBJS_C) $(OBJS_ASM)
-
-getopt.h:
- update ../lib/getopt.in.h getopt.h
-
-$(OBJS): getopt.h
-
-$(OBJS_C): %.o: %.c
- $(CC) $(ALL_CPPFLAGS) $(ALL_CFLAGS) -c -o $@ $<
-
-$(OBJS_ASM): %.o: %.S
- $(CC) $(ALL_CPPFLAGS) $(ALL_CFLAGS) -c -o $@ $<
-
-# Make xz.exe not depend on an external DPMI server.
-xz.exe: $(OBJS)
- $(CC) $(ALL_CFLAGS) $(OBJS) $(LDFLAGS) -o $@
- $(STRIP) --strip-all $@
- exe2coff $@
- del $@
- copy /b $(DJGPP:DJGPP.ENV=BIN\CWSDSTUB.EXE) + $(@:.exe=) $@
- del $(@:.exe=)
diff --git a/Build/source/extra/xz/dos/README b/Build/source/extra/xz/dos/README
deleted file mode 100644
index 9456ea1f2ae..00000000000
--- a/Build/source/extra/xz/dos/README
+++ /dev/null
@@ -1,88 +0,0 @@
-
-XZ Utils on DOS
-===============
-
-Introduction
-
- This document explains how to build XZ Utils for DOS using DJGPP.
- The resulting binaries should run at least on various DOS versions
- and under Windows 95/98/98SE/ME, although the Windows version of
- XZ Utils is recommended under Windows 95 and later.
-
- This is currently experimental and has got very little testing.
-
- Note: Makefile and config.h are updated only now and then. This
- means that especially if you checked out a development version,
- building for DOS probably won't work without updating Makefile
- and config.h first.
-
-
-Getting and Installing DJGPP
-
- You may use <http://www.delorie.com/djgpp/zip-picker.html> to help
- deciding what to download, but as of writing (2010-10-09) that may
- not be the most convenient way taking into account what components
- are actually required to build XZ Utils. However, using the
- zip-picker can still be worth doing to get nice short summary of
- installation instructions (they can be found from readme.1st too).
-
- For a more manual method, first select a mirror from
- <http://www.delorie.com/djgpp/getting.html>. You need
- the following files:
-
- unzip32.exe (if you don't already have a LFN-capable unzipper)
- beta/v2/djdev204.zip
- v2gnu/bnu219b.zip
- v2gnu/gcc444b.zip
- v2gnu/mak3791b.zip
- v2misc/csdpmi7b.zip
-
- If newer versions are available, probably you should try them first.
- Note that djdev203.zip is too old to build XZ Utils; you need at
- least djdev204.zip. Also note that you want csdpmi7b.zip even if you
- run under Windows or DOSEMU, because the XZ Utils Makefile will embed
- cwsdstub.exe to the resulting binaries.
-
- See the instructions in readme.1st found from djdev204.zip. Here's
- a short summary, but you should still read readme.1st.
-
- C:\> mkdir DJGPP
- C:\> cd DJGPP
- C:\DJGPP> c:\download\unzip32 c:\download\djdev204.zip
- C:\DJGPP> c:\download\unzip32 c:\download\bnu219b.zip
- C:\DJGPP> c:\download\unzip32 c:\download\gcc444b.zip
- C:\DJGPP> c:\download\unzip32 c:\download\mak3791b.zip
- C:\DJGPP> c:\download\unzip32 c:\download\csdpmi7b.zip
-
- C:\DJGPP> set PATH=C:\DJGPP\BIN;%PATH%
- C:\DJGPP> set DJGPP=C:\DJGPP\DJGPP.ENV
-
- You may want to add the last two lines into AUTOEXEC.BAT or have,
- for example, DJGPP.BAT which you can run before using DJGPP.
-
- Make sure you use completely upper case path in the DJGPP environment
- variable. This is not required by DJGPP, but the XZ Utils Makefile is
- a bit stupid and expects that everything in DJGPP environment variable
- is uppercase.
-
-
-Building
-
- You need to have an environment that supports long filenames (LFN).
- Once you have built XZ Utils, the resulting binaries can be run
- without long filename support.
-
- Run "make" in this directory (the directory containing this README).
- You should get xz.exe (and a bunch of temporary files). Other tools
- are not built. Having e.g. xzdec.exe doesn't save much space compared
- to xz.exe, because the DJGPP runtime makes the .exe quite big anyway.
-
-
-Bugs
-
- xz doesn't necessarily work in Dosbox. It should work in DOSEMU.
-
- Pressing Ctrl-c or Ctrl-Break won't remove the incomplete target file
- when running under Windows XP Command Prompt (something goes wrong
- with SIGINT handling). It works correctly under Windows 95/98/98SE/ME.
-
diff --git a/Build/source/extra/xz/dos/config.h b/Build/source/extra/xz/dos/config.h
deleted file mode 100644
index 1ed81f67111..00000000000
--- a/Build/source/extra/xz/dos/config.h
+++ /dev/null
@@ -1,130 +0,0 @@
-/* How many MiB of RAM to assume if the real amount cannot be determined. */
-#define ASSUME_RAM 32
-
-/* Define to 1 if crc32 integrity check is enabled. */
-#define HAVE_CHECK_CRC32 1
-
-/* Define to 1 if crc64 integrity check is enabled. */
-#define HAVE_CHECK_CRC64 1
-
-/* Define to 1 if sha256 integrity check is enabled. */
-#define HAVE_CHECK_SHA256 1
-
-/* Define to 1 if arm decoder is enabled. */
-#define HAVE_DECODER_ARM 1
-
-/* Define to 1 if armthumb decoder is enabled. */
-#define HAVE_DECODER_ARMTHUMB 1
-
-/* Define to 1 if delta decoder is enabled. */
-#define HAVE_DECODER_DELTA 1
-
-/* Define to 1 if ia64 decoder is enabled. */
-#define HAVE_DECODER_IA64 1
-
-/* Define to 1 if lzma1 decoder is enabled. */
-#define HAVE_DECODER_LZMA1 1
-
-/* Define to 1 if lzma2 decoder is enabled. */
-#define HAVE_DECODER_LZMA2 1
-
-/* Define to 1 if powerpc decoder is enabled. */
-#define HAVE_DECODER_POWERPC 1
-
-/* Define to 1 if sparc decoder is enabled. */
-#define HAVE_DECODER_SPARC 1
-
-/* Define to 1 if x86 decoder is enabled. */
-#define HAVE_DECODER_X86 1
-
-/* Define to 1 if arm encoder is enabled. */
-#define HAVE_ENCODER_ARM 1
-
-/* Define to 1 if armthumb encoder is enabled. */
-#define HAVE_ENCODER_ARMTHUMB 1
-
-/* Define to 1 if delta encoder is enabled. */
-#define HAVE_ENCODER_DELTA 1
-
-/* Define to 1 if ia64 encoder is enabled. */
-#define HAVE_ENCODER_IA64 1
-
-/* Define to 1 if lzma1 encoder is enabled. */
-#define HAVE_ENCODER_LZMA1 1
-
-/* Define to 1 if lzma2 encoder is enabled. */
-#define HAVE_ENCODER_LZMA2 1
-
-/* Define to 1 if powerpc encoder is enabled. */
-#define HAVE_ENCODER_POWERPC 1
-
-/* Define to 1 if sparc encoder is enabled. */
-#define HAVE_ENCODER_SPARC 1
-
-/* Define to 1 if x86 encoder is enabled. */
-#define HAVE_ENCODER_X86 1
-
-/* Define to 1 if you have the <inttypes.h> header file. */
-#define HAVE_INTTYPES_H 1
-
-/* Define to 1 if you have the <limits.h> header file. */
-#define HAVE_LIMITS_H 1
-
-/* Define to 1 to enable bt2 match finder. */
-#define HAVE_MF_BT2 1
-
-/* Define to 1 to enable bt3 match finder. */
-#define HAVE_MF_BT3 1
-
-/* Define to 1 to enable bt4 match finder. */
-#define HAVE_MF_BT4 1
-
-/* Define to 1 to enable hc3 match finder. */
-#define HAVE_MF_HC3 1
-
-/* Define to 1 to enable hc4 match finder. */
-#define HAVE_MF_HC4 1
-
-/* Define to 1 if stdbool.h conforms to C99. */
-#define HAVE_STDBOOL_H 1
-
-/* Define to 1 if you have the <stdint.h> header file. */
-#define HAVE_STDINT_H 1
-
-/* Define to 1 if you have the <stdlib.h> header file. */
-#define HAVE_STDLIB_H 1
-
-/* Define to 1 if you have the <string.h> header file. */
-#define HAVE_STRING_H 1
-
-/* Define to 1 if you have the <sys/time.h> header file. */
-#define HAVE_SYS_TIME_H 1
-
-/* Define to 1 if you have the `utimes' function. */
-#define HAVE_UTIMES 1
-
-/* Define to 1 or 0, depending whether the compiler supports simple visibility
- declarations. */
-#define HAVE_VISIBILITY 0
-
-/* Define to 1 if the system has the type `_Bool'. */
-#define HAVE__BOOL 1
-
-/* Define to 1 to disable debugging code. */
-#define NDEBUG 1
-
-/* Define to the address where bug reports for this package should be sent. */
-#define PACKAGE_BUGREPORT "lasse.collin@tukaani.org"
-
-/* Define to the full name of this package. */
-#define PACKAGE_NAME "XZ Utils"
-
-/* Define to the home page for this package. */
-#define PACKAGE_URL "http://tukaani.org/xz/"
-
-/* The size of `size_t', as computed by sizeof. */
-#define SIZEOF_SIZE_T 4
-
-/* Define to 1 if the system supports fast unaligned access to 16-bit and
- 32-bit integers. */
-#define TUKLIB_FAST_UNALIGNED_ACCESS 1