kusano fc6ab3
# descrip.mms: MMS description file for building zlib on VMS
kusano fc6ab3
# written by Martin P.J. Zinser <m.zinser@gsi.de></m.zinser@gsi.de>
kusano fc6ab3
kusano fc6ab3
cc_defs =
kusano fc6ab3
c_deb =
kusano fc6ab3
kusano fc6ab3
.ifdef __DECC__
kusano fc6ab3
pref = /prefix=all
kusano fc6ab3
.endif
kusano fc6ab3
kusano fc6ab3
OBJS = adler32.obj, compress.obj, crc32.obj, gzio.obj, uncompr.obj,\
kusano fc6ab3
       deflate.obj, trees.obj, zutil.obj, inflate.obj, infblock.obj,\
kusano fc6ab3
       inftrees.obj, infcodes.obj, infutil.obj, inffast.obj
kusano fc6ab3
kusano fc6ab3
CFLAGS= $(C_DEB) $(CC_DEFS) $(PREF)
kusano fc6ab3
kusano fc6ab3
all : example.exe minigzip.exe
kusano fc6ab3
        @ write sys$output " Example applications available"
kusano fc6ab3
libz.olb : libz.olb($(OBJS))
kusano fc6ab3
	@ write sys$output " libz available"
kusano fc6ab3
kusano fc6ab3
example.exe : example.obj libz.olb
kusano fc6ab3
              link example,libz.olb/lib
kusano fc6ab3
kusano fc6ab3
minigzip.exe : minigzip.obj libz.olb
kusano fc6ab3
              link minigzip,libz.olb/lib,x11vms:xvmsutils.olb/lib
kusano fc6ab3
kusano fc6ab3
clean :
kusano fc6ab3
	delete *.obj;*,libz.olb;*
kusano fc6ab3
kusano fc6ab3
kusano fc6ab3
# Other dependencies.
kusano fc6ab3
adler32.obj : zutil.h zlib.h zconf.h
kusano fc6ab3
compress.obj : zlib.h zconf.h
kusano fc6ab3
crc32.obj : zutil.h zlib.h zconf.h
kusano fc6ab3
deflate.obj : deflate.h zutil.h zlib.h zconf.h
kusano fc6ab3
example.obj : zlib.h zconf.h
kusano fc6ab3
gzio.obj : zutil.h zlib.h zconf.h
kusano fc6ab3
infblock.obj : zutil.h zlib.h zconf.h infblock.h inftrees.h infcodes.h infutil.h
kusano fc6ab3
infcodes.obj : zutil.h zlib.h zconf.h inftrees.h infutil.h infcodes.h inffast.h
kusano fc6ab3
inffast.obj : zutil.h zlib.h zconf.h inftrees.h infutil.h inffast.h
kusano fc6ab3
inflate.obj : zutil.h zlib.h zconf.h infblock.h
kusano fc6ab3
inftrees.obj : zutil.h zlib.h zconf.h inftrees.h
kusano fc6ab3
infutil.obj : zutil.h zlib.h zconf.h inftrees.h infutil.h
kusano fc6ab3
minigzip.obj : zlib.h zconf.h
kusano fc6ab3
trees.obj : deflate.h zutil.h zlib.h zconf.h
kusano fc6ab3
uncompr.obj : zlib.h zconf.h
kusano fc6ab3
zutil.obj : zutil.h zlib.h zconf.h