Archive-Unzip-Burst

 view release on metacpan or  search on metacpan

unzip-6.0/netware/makefile.wat  view on Meta::CPAN

#------------------------------------------------------------------------------
# Makefile for UnZip 5.53 and later                      Mark Wright and others
# Version:  Watcom C                                                  31 Mar 07
#------------------------------------------------------------------------------


# WARNING:  this is a hacked-up version of an ancient (1993) makefile.  It will
#   not work without modifications to the UnZip 5.3 sources.  This makefile is
#   (for now) included only for completeness and as a starting point for a real
#   Novell Netware NLM port.  (This makefile was intended for Netware 3.11.)


# Commands to execute before making any target
# Set environment variables for compiler
.BEFORE
    @set inc386=\watcom\novh
    @set wcg386=\watcom\binp\wcl386.exe

# Macro definitions
NLMNAME = unzip
DESCRIPTION = unzip utility
VERSION = 5.5.3
COPYRIGHT = Copyright 1990-2007 Info-ZIP (www.info-zip.org).
SCREENNAME = Info-ZIP's UnZip Utility
CLIBIMP = \watcom\novi\clib.imp
OBJFILE = $NLMNAME.obj
PRELUDE = \watcom\novi\prelude.obj

# Compile switches
# d2    include full symbolic debugging information
# 5s    generate 586 instructions, use stack-based argument-passing conventions
# zdp   allows DS register to "peg" it to DGROUP
# zq    "quiet" mode
# NLM   produce Netware Loadable Module
# DEBUG include debug info

CC = wcc386
# COMPILE = wcc386 -zq -d2 -3s -zdp -w4 -DNLM
# COMPILE = wcc386 -zq -d2 -5s -zdp -w4 -DNLM $(LOCAL_UNZIP)
COMPILE = $(CC) -zq -olax -5s -zp1 -ei -ez -ri -w4 -DNLM -DN_PLAT_NLM -U_WIN32 $(LOCAL_UNZIP)
LINK = wlink
DESTDIR = target

# All .obj files implicitly depend on .c files
.c.obj :
   @echo Compiling $[*.c
   @$COMPILE $[*.c


UNZIP_H = unzip.h unzpriv.h globals.h netware/nlmcfg.h

crc32.obj:      crc32.c $(UNZIP_H) zip.h crc32.h
crypt.obj:      crypt.c $(UNZIP_H) crc32.h crypt.h ttyio.h zip.h
envargs.obj:    envargs.c $(UNZIP_H)
explode.obj:    explode.c $(UNZIP_H)
extract.obj:    extract.c $(UNZIP_H) crc32.h crypt.h
fileio.obj:     fileio.c $(UNZIP_H) crc32.h crypt.h ttyio.h ebcdic.h
globals.obj:    globals.c $(UNZIP_H)
inflate.obj:    inflate.c inflate.h $(UNZIP_H)
list.obj:       list.c $(UNZIP_H)
match.obj:      match.c $(UNZIP_H)
process.obj:    process.c $(UNZIP_H) crc32.h
ttyio.obj:      ttyio.c $(UNZIP_H) crypt.h ttyio.h zip.h
unreduce.obj:   unreduce.c $(UNZIP_H)
unshrink.obj:   unshrink.c $(UNZIP_H)
unzip.obj:      unzip.c $(UNZIP_H) crypt.h unzvers.h consts.h
zipinfo.obj:    zipinfo.c $(UNZIP_H)

# individual dependencies and action rules:
#crc_i86.obj:    msdos\crc_i86.asm
#	$(AS) $(ASFLAGS) -D$(ASUNMODEL) msdos\crc_i86.asm, $@;

netware.obj:     netware/netware.c $(UNZIP_H)
	$(CC) -c -A$(UNMODEL) $(CFLAGS) netware/netware.c


OBJ01 = unzip.obj
OBJ02 = crc32.obj
OBJ03 = crypt.obj



( run in 0.817 second using v1.01-cache-2.11-cpan-5735350b133 )