SubDir HAIKU_TOP src tools unzip ; SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src bin unzip ] ; if ! $(HOST_PLATFORM_HAIKU_COMPATIBLE) { DEFINES += HAVE_TERMIOS_H=1 HAS_JUNK_EXTRA_FIELD_OPTION=1 ; } # avoid building host unzip with DEBUG, as that would pollute the build # with lots of unwanted output when unzip gets invoked. DEBUG = 0 ; USES_BE_API on libunzip.a unzip = true ; BuildPlatformStaticLibrary libunzip.a : crc32.c ttyio.c crctab.c crypt.c envargs.c explode.c extract.c fileio.c globals.c inflate.c list.c match.c process.c zipinfo.c beos.c beosmain.cpp ; BuildPlatformMain unzip : unzip.c unreduce.c unshrink.c : libunzip.a $(HOST_LIBBE) $(HOST_LIBSUPC++) ;