forked from Xeeynamo/sonic-hybrid-rsdk
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
7,643 additions
and
0 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
sonic3air-main/framework/external/zlib/zlib/contrib/minizip/make_vms.com
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
$ if f$search("ioapi.h_orig") .eqs. "" then copy ioapi.h ioapi.h_orig | ||
$ open/write zdef vmsdefs.h | ||
$ copy sys$input: zdef | ||
$ deck | ||
#define unix | ||
#define fill_zlib_filefunc64_32_def_from_filefunc32 fillzffunc64from | ||
#define Write_Zip64EndOfCentralDirectoryLocator Write_Zip64EoDLocator | ||
#define Write_Zip64EndOfCentralDirectoryRecord Write_Zip64EoDRecord | ||
#define Write_EndOfCentralDirectoryRecord Write_EoDRecord | ||
$ eod | ||
$ close zdef | ||
$ copy vmsdefs.h,ioapi.h_orig ioapi.h | ||
$ cc/include=[--]/prefix=all ioapi.c | ||
$ cc/include=[--]/prefix=all miniunz.c | ||
$ cc/include=[--]/prefix=all unzip.c | ||
$ cc/include=[--]/prefix=all minizip.c | ||
$ cc/include=[--]/prefix=all zip.c | ||
$ link miniunz,unzip,ioapi,[--]libz.olb/lib | ||
$ link minizip,zip,ioapi,[--]libz.olb/lib | ||
$ mcr []minizip test minizip_info.txt | ||
$ mcr []miniunz -l test.zip | ||
$ rename minizip_info.txt; minizip_info.txt_old | ||
$ mcr []miniunz test.zip | ||
$ delete test.zip;* | ||
$exit |
Oops, something went wrong.