xref: /haiku/src/tools/unzip/Jamfile (revision a381c8a06378de22ff08adf4282b4e3f7e50d250)
1SubDir HAIKU_TOP src tools unzip ;
2
3SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src bin unzip ] ;
4
5if ! $(HOST_PLATFORM_BEOS_COMPATIBLE) {
6	DEFINES += HAVE_TERMIOS_H=1 HAS_JUNK_EXTRA_FIELD_OPTION=1 ;
7}
8
9USES_BE_API on <build>libunzip.a <build>unzip = true ;
10
11BuildPlatformStaticLibrary <build>libunzip.a :
12	crc32.c
13	ttyio.c
14	crctab.c
15	crypt.c
16	envargs.c
17	explode.c
18	extract.c
19	fileio.c
20	globals.c
21	inflate.c
22	list.c
23	match.c
24	process.c
25	zipinfo.c
26	beos.c
27	beosmain.cpp
28;
29
30BuildPlatformMain <build>unzip :
31	unzip.c
32	unreduce.c
33	unshrink.c
34	: <build>libunzip.a $(HOST_LIBBE) $(HOST_LIBSUPC++)
35;
36
37