135f57d15SIngo WeinholdSubDir HAIKU_TOP src tools unzip ; 235f57d15SIngo Weinhold 335f57d15SIngo WeinholdSEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src bin unzip ] ; 435f57d15SIngo Weinhold 5*b357daa5SAugustin Cavalierif ! $(HOST_PLATFORM_HAIKU_COMPATIBLE) { 635f57d15SIngo Weinhold DEFINES += HAVE_TERMIOS_H=1 HAS_JUNK_EXTRA_FIELD_OPTION=1 ; 735f57d15SIngo Weinhold} 835f57d15SIngo Weinhold 9d527dbc8SOliver Tappe# avoid building host unzip with DEBUG, as that would pollute the build 10d527dbc8SOliver Tappe# with lots of unwanted output when unzip gets invoked. 11d527dbc8SOliver TappeDEBUG = 0 ; 12d527dbc8SOliver Tappe 1335f57d15SIngo WeinholdUSES_BE_API on <build>libunzip.a <build>unzip = true ; 1435f57d15SIngo Weinhold 1535f57d15SIngo WeinholdBuildPlatformStaticLibrary <build>libunzip.a : 1635f57d15SIngo Weinhold crc32.c 1735f57d15SIngo Weinhold ttyio.c 1835f57d15SIngo Weinhold crctab.c 1935f57d15SIngo Weinhold crypt.c 2035f57d15SIngo Weinhold envargs.c 2135f57d15SIngo Weinhold explode.c 2235f57d15SIngo Weinhold extract.c 2335f57d15SIngo Weinhold fileio.c 2435f57d15SIngo Weinhold globals.c 2535f57d15SIngo Weinhold inflate.c 2635f57d15SIngo Weinhold list.c 2735f57d15SIngo Weinhold match.c 2835f57d15SIngo Weinhold process.c 2935f57d15SIngo Weinhold zipinfo.c 3035f57d15SIngo Weinhold beos.c 3135f57d15SIngo Weinhold beosmain.cpp 3235f57d15SIngo Weinhold; 3335f57d15SIngo Weinhold 3435f57d15SIngo WeinholdBuildPlatformMain <build>unzip : 3535f57d15SIngo Weinhold unzip.c 3635f57d15SIngo Weinhold unreduce.c 3735f57d15SIngo Weinhold unshrink.c 38a2db5acbSIngo Weinhold : <build>libunzip.a $(HOST_LIBBE) $(HOST_LIBSUPC++) 3935f57d15SIngo Weinhold; 4035f57d15SIngo Weinhold 41