SubDir HAIKU_TOP src tools zip ;

SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src bin zip ] ;

USES_BE_API on <build>zip = true ;

if ! $(HOST_PLATFORM_BEOS_COMPATIBLE) {
	DEFINES += UNIX ;
}

BuildPlatformMain <build>zip :
	beos.c
	crc32.c
	crctab.c
	crypt.c
	deflate.c
	fileio.c
	globals.c
	trees.c
	ttyio.c
	util.c
	zip.c
	zipfile.c
	zipup.c
	: $(HOST_LIBBE) $(HOST_LIBSUPC++)
;
