xref: /haiku/src/tools/unzip/Jamfile (revision a2db5acb28c0635849a76467faac1e94f6c55659)
135f57d15SIngo WeinholdSubDir HAIKU_TOP src tools unzip ;
235f57d15SIngo Weinhold
335f57d15SIngo WeinholdSEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src bin unzip ] ;
435f57d15SIngo Weinhold
535f57d15SIngo Weinholdif ! $(HOST_PLATFORM_BEOS_COMPATIBLE) {
635f57d15SIngo Weinhold	DEFINES += HAVE_TERMIOS_H=1 HAS_JUNK_EXTRA_FIELD_OPTION=1 ;
735f57d15SIngo Weinhold}
835f57d15SIngo Weinhold
935f57d15SIngo WeinholdUSES_BE_API on <build>libunzip.a <build>unzip = true ;
1035f57d15SIngo Weinhold
1135f57d15SIngo WeinholdBuildPlatformStaticLibrary <build>libunzip.a :
1235f57d15SIngo Weinhold	crc32.c
1335f57d15SIngo Weinhold	ttyio.c
1435f57d15SIngo Weinhold	crctab.c
1535f57d15SIngo Weinhold	crypt.c
1635f57d15SIngo Weinhold	envargs.c
1735f57d15SIngo Weinhold	explode.c
1835f57d15SIngo Weinhold	extract.c
1935f57d15SIngo Weinhold	fileio.c
2035f57d15SIngo Weinhold	globals.c
2135f57d15SIngo Weinhold	inflate.c
2235f57d15SIngo Weinhold	list.c
2335f57d15SIngo Weinhold	match.c
2435f57d15SIngo Weinhold	process.c
2535f57d15SIngo Weinhold	zipinfo.c
2635f57d15SIngo Weinhold	beos.c
2735f57d15SIngo Weinhold	beosmain.cpp
2835f57d15SIngo Weinhold;
2935f57d15SIngo Weinhold
3035f57d15SIngo WeinholdBuildPlatformMain <build>unzip :
3135f57d15SIngo Weinhold	unzip.c
3235f57d15SIngo Weinhold	unreduce.c
3335f57d15SIngo Weinhold	unshrink.c
34*a2db5acbSIngo Weinhold	: <build>libunzip.a $(HOST_LIBBE) $(HOST_LIBSUPC++)
3535f57d15SIngo Weinhold;
3635f57d15SIngo Weinhold
37