Archive-Unzip-Burst

 view release on metacpan or  search on metacpan

unzip-6.0/msdos/makefile.dj2  view on Meta::CPAN

# Makefile for Info-ZIP's UnZip, UnZipSFX and fUnZip using DJGPP v2.01 or
# higher, by Frank Donahoe.                      Last updated: 21 Jul 2008

# This Makefile is specifically tailored for GNU make and GNU C and
# may not work with a generic Unix-compatible make utility.  The latest
# make version is 3.78.1.  Thanks to Eli Zaretskii for generously responding
# to questions with advice on the changes needed to make install work under
# DJGPP version 2.0x.
# Features used:
# - pattern rules (%.o : %.c, etc.)
# - GNU-specific conditionals and functions  (ifeq, $(patsubst,,),...)
# - simply expanded variables (VAR := text)
#
# The stand-alone executable requires DPMI services to run.  If running
# in a DOS window under Windows 3.1 or later, the dpmi server is auto-
# matically present.  Under DOS, if a DPMI server is not loaded, the
# program will look for "cwsdpmi.exe."  If found, it will be loaded for
# the duration of the program.
#
# cwsdpmi is a "free" dpmi server written by Charles W. Sandmann
# (sandman@clio.rice.edu).  It may be found, among other sites, on SimTel
# Net at the URL:
#
#   ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2misc/csdpmi?[b,s].zip
#
# and on its mirrors worldwide.  The latest version as of this writing is 5.
# Archives with the b postscript contain the binaries.  An alternate server
# is found, l.c., in the archive pmode??[b,s].zip.  The latest (20001022) is
# v1.3.

# Separators colon and <sp> are used in Unix, semi-colon and <sp> in DOS.
VPATH=. msdos

ifdef NOASM
USE_ASMCRC=
else
USE_ASMCRC=1
endif

.PHONY : clean install uninstall

# UnZip flags
# LOCAL_UNZIP may be set in "AUTOEXEC.BAT" or defined in "djgpp.env" under
# [make] as in the example below.  Or, if you habitually work in a DOS box
# under Windows9x, right click on the MS-DOS icon, select properties, then
# program, to find a slot called batch file, where you may specify the path
# to a file which will set the variables of choice every time the box is
# opened.
# See, for example, DOSWILD, in the file INSTALL.

# [make]
# +BUTT=-mcpu=pentiumpro
# +LOC=-W -Wall
# +LOCAL_UNZIP=-DUSE_UNSHRINK

# BUTT may be defined to specify the target system.  With gcc v2.95,
# optimizing options like "-mcpu=pentiumpro -march=pentiumpro" are supported,
# but the traditional "-m386" and "-m486" options of previous gcc 2.x
# version will continue to work.
# So if you are in the habit of compiling from source, programs for your
# own use, it is well to consult gcc's manual for options suitable to
# your processer and to set BUTT accordingly.  Consult INSTALL for



( run in 1.010 second using v1.01-cache-2.11-cpan-5b529ec07f3 )