Archive-Unzip-Burst
view release on metacpan or search on metacpan
unzip-6.0/msdos/makefile.emx view on Meta::CPAN
# Makefile for UnZip, fUnZip and UnZipSFX
# for emx 0.9c / gcc under MS-DOS. Derived from makefile.os2
# By E-Yen Tan (with mods by Christian Spieler).
# Last updated 25 December 2006 (Christian Spieler).
#
# This makefile should work fine with GNU make and hopefully some others.
# Tested with GNU make 3.71 gnuish 16-bit and djgpp 32-bit versions.
#ifdef NOASM
#AS_FLAGS =
#else
AS_FLAGS = -DASM_CRC
#endif
CP=copy
RM=del
CC=gcc -O -I. -m486
# Version 5.1 of the RSX extender provides long file name support under
# Windows 95. If you don't have Windows 95 or use a version of RSX prior
# to 5.1 (or simply don't want LFN support) remove -DUSE_VFAT from CFLAGS.
# Note that if you have a version of RSX prior to 5.1, you can still compile
# with USE_VFAT enabled and upgrade RSX.EXE at a later stage.
#
# If you enable USE_VFAT then long file names under plain DOS will simply be
# truncated to 8.3 format without mapping. See doscfg.h for details.
#
CFLAGS=-Wall -DMSDOS $(AS_FLAGS) $(LOCAL_UNZIP) -DUSE_VFAT
NFLAGS=
DLLFLAG=
AS=gcc
ASFLAGS=-Di386
LDFLAGS=-o ./
LDFLAGS2=-Zsmall-conv -s
OUT=-o
OBJ=.o
#ifdef NOASM
#CRCA_O=
#else
CRCA_O=crc_gcc$(OBJ)
#endif
OBJUS=msdos$(OBJ)
OBJXS=msdos_$(OBJ)
OSDEP_H=msdos/doscfg.h
# default settings for target dependent macros:
DIRSEP = /
AS_DIRSEP = /
OBJU1 = unzip$(OBJ) crc32$(OBJ) $(CRCA_O) crypt$(OBJ) envargs$(OBJ)
OBJU2 = explode$(OBJ) extract$(OBJ) fileio$(OBJ) globals$(OBJ)
OBJU3 = inflate$(OBJ) list$(OBJ) match$(OBJ) process$(OBJ) ttyio$(OBJ)
OBJU4 = ubz2err$(OBJ) unreduce$(OBJ) unshrink$(OBJ) zipinfo$(OBJ)
OBJU = $(OBJU1) $(OBJU2) $(OBJU3) $(OBJU4) $(OBJUS)
OBJX1 = unzipsf_$(OBJ) crc32_$(OBJ) $(CRCA_O) crypt_$(OBJ)
OBJX2 = extract_$(OBJ) fileio_$(OBJ) globals_$(OBJ) inflate_$(OBJ)
OBJX3 = match_$(OBJ) process_$(OBJ) ttyio_$(OBJ) ubz2err_$(OBJ)
OBJX = $(OBJX1) $(OBJX2) $(OBJX3) $(OBJXS)
OBJF = funzip$(OBJ) crc32f$(OBJ) $(CRCA_O) cryptf$(OBJ) inflatef$(OBJ) \
globalsf$(OBJ) ttyiof$(OBJ)
( run in 1.129 second using v1.01-cache-2.11-cpan-97f6503c9c8 )