1Contents of the "macos" sub-archive for UnZip 5.42 and later: 2 3 Contents this file 4 README.TXT Dirk Haase's infos on updated Macintosh ports of Zip/UnZip 5 HISTORY.TXT Dirk Haase's MacOS specific ChangeLog 6 7 UnZp.h config header used to build standalone app with GUI 8 UnZpLib.h config header used to build a static library 9 UnZpSFX.h config header used to build the SFX stub 10 UnZpSx.h config header for building a standalone app. with MW Sioux 11 UnZpPrj.xml Metrowerks CodeWarrior pro5 project file (xml export file) 12 13 source/ subdirectory containing all sources: 14 a) UnZip specific code 15 macbin3.c macbinary III code, used for extraction of ZipIt archives 16 macbin3.h macbinary III header, macbinary docu + public prototyping 17 macos.c Mac-specific filesystem code 18 maccfg.h Mac-specific configuration and global declarations 19 macdir.c Macintosh Posix-style directory emulation ("dirent") 20 macdir.h header file for directory emulation 21 macscreen.c screen functions to be used in standalone UnZip application 22 macstat.c Macintosh stat() emulation 23 macstat.h header file for stat() emulation 24 macunzip.c Macintosh standalone version main function 25 sxunzip.c main function for use with static library (SIOUX) 26 unzip_rc.hqx UnZip resource file for standalone application (BinHex) 27 28 b) general utilities shared between Zip and UnZip 29 charmap.h character mapping tables ISO 8859-1 <--> MacRoman 30 getenv.c simulation of unix compatible getenv() on MacOS 31 helpers.c some helper functions 32 helpers.h 33 macstuff.h wrapper to pull in some "MoreFiles" filemanager stuff 34 mactime.c replacement for broken Metrowerks RTL time functions 35 mactime.h 36 pathname.c functions for handling MacOS HFS path- /filenames 37 pathname.h 38 39The new UnZpPrj.hqx project file should be "un-BinHex'ed" into UnZpPrj, 40which builds the following targets: 41 Unzip (68k) -> standalone unzip for 68k 42 Unzip (PPC) -> standalone unzip for PPC 43 Unzip Lib (68k) -> static library 68k 44 Unzip Lib (PPC) -> static library PPC 45 Unzip Sioux (68k) -> MW Sioux standoalone App, good for debugging 46 Unzip Sioux (PPC) -> MW Sioux standoalone App, good for debugging 47 48 49Before you start a build on your Macintosh: 50 51Extract "*.hqx" and "source:*.hqx" first! 52And PLEASE, read the MacOS specific documentation in README.TXT! 53 54 55The resource files and the compiler project files are in BinHex form because 56they contain Macintosh resource forks. The resource info cannot be 57maintained when handling (e.g. repacking) the master source collection on 58non-Macintosh systems. The BinHex form is the traditional way for 59transferring such files via non-Macintosh systems. 60It's also the safest since it uses only printable characters. The ".hqx" 61files must be converted with StuffitExpander or BinHex 4.0 (or equivalent) 62on a Macintosh system before using them. 63