1SubDir HAIKU_TOP src tools unzip ; 2 3SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src bin unzip ] ; 4 5if ! $(HOST_PLATFORM_HAIKU_COMPATIBLE) { 6 DEFINES += HAVE_TERMIOS_H=1 HAS_JUNK_EXTRA_FIELD_OPTION=1 ; 7} 8 9# avoid building host unzip with DEBUG, as that would pollute the build 10# with lots of unwanted output when unzip gets invoked. 11DEBUG = 0 ; 12 13USES_BE_API on <build>libunzip.a <build>unzip = true ; 14 15BuildPlatformStaticLibrary <build>libunzip.a : 16 crc32.c 17 ttyio.c 18 crctab.c 19 crypt.c 20 envargs.c 21 explode.c 22 extract.c 23 fileio.c 24 globals.c 25 inflate.c 26 list.c 27 match.c 28 process.c 29 zipinfo.c 30 beos.c 31 beosmain.cpp 32; 33 34BuildPlatformMain <build>unzip : 35 unzip.c 36 unreduce.c 37 unshrink.c 38 : <build>libunzip.a $(HOST_LIBBE) $(HOST_LIBSUPC++) 39; 40 41