home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network Support Encyclopedia 96-1
/
novell-nsepro-1996-1-cd2.iso
/
download
/
netware
/
dax1.exe
/
CLIENT
/
STRESS
/
NLM
/
MAKEFILE
next >
Wrap
Text File
|
1992-07-15
|
2KB
|
83 lines
#
# Program: stress.NLM
# This makefile rebuilds the stress NetWare Loadable Module
#
# Created: Thu Mar 12 17:37:46 1992
#
# MAKEINIT defines many of the macros used herein
# The following macros can be set via your environment:
# CCF386 : Set compile options
# QMKVER : Set to 'd' or 'p' to define VERSION
# SILENT : If defined, .SILENT will be set
!ifdef %SILENT
.silent
!endif
!ifndef %dcdir
dcdir = \nlm\dc
!else
dcdir = $(%dcdir)
!endif
program = stress
!ifndef %qmkver
version = d # use 'd' or 'p' here
!else
version = $(%qmkver)
!endif
!ifeq version d
lversion = DEBUG
!else
lversion = PRODUCTION
!endif
build_msg = Building a $(lversion) version of $(program)
d_linkopt = debug all debug novell
p_linkopt = debug
x_linkopt = $($(version)_linkopt)
debug = /dDEBUG=3 # use /dDEBUG to define DEBUG for C Preprocessor
!ifndef %ccf386
d_wcc386opt = /w4 /e99 /zp1 /3s /d2 /zl $(debug)
p_wcc386opt = /w4 /s /zp1 /3s /oax /zl
x_wcc386opt = $($(version)_wcc386opt)
!else
x_wcc386opt = $(%ccf386)
!endif
compiler_cmd = $(wcc386) $(x_wcc386opt) $[*.c
.BEFORE
echo $(build_msg)
set inc386=$(dcdir);$(inc_386)
set lib386=$(dcdir)
set wcg386=$(code_386)
.c.obj:
$(compiler_cmd)
Stress.nlm : Stress.obj Stress.lnk $(dcdir)\cp\cpc\nlm\cpapi.lib $(dcdir)\dap\dapa\nlm\dapapi.lib
$(linker) @stress
stress.lnk : makefile
@echo form novell nlm 'stress' >$^&.lnk
@echo name $^& >>$^&.lnk
@echo option stack=8k >>$^&.lnk
@echo option caseexact, verbose, nod >>$^&.lnk
@echo option version=1.00 >>$^&.lnk
@echo $(x_linkopt) >>$^&.lnk
@echo option map >>$^&.lnk
@echo file $(startup), $^& >>$^&.lnk
@echo module clib >>$^&.lnk
@echo option screenname 'stress' >>$^&.lnk
@echo option threadname 'stress__P ' >>$^&.lnk
@echo import @$(clibimp) >>$^&.lnk
@echo lib cp\cpc\nlm\cpapi >>$^&.lnk
@echo lib dap\dapa\nlm\dapapi >>$^&.lnk
stress.obj : stress.c