xref: /haiku/src/bin/network/ftpd/Jamfile (revision 89755088d790ff4fe36f8aa77dacb2bd15507108)
1SubDir HAIKU_TOP src bin network ftpd ;
2
3SetSubDirSupportedPlatforms $(HAIKU_BONE_COMPATIBLE_PLATFORMS) ;
4
5if ! $(TARGET_PLATFORM_HAIKU_COMPATIBLE) {
6	UseHeaders [ FDirName $(HAIKU_TOP) headers posix ] : true ;
7		# We need the public network headers also when not compiling for Haiku.
8		# Unfortunately we get more than we want, namely all POSIX headers.
9}
10
11UseHeaders [ FDirName $(HAIKU_TOP) headers compatibility bsd ] : true ;
12UseHeaders $(SUBDIR) : true ;
13
14BinCommand ftpd :
15	ftpd.c
16	ftpcmd.y
17	logwtmp.c
18	popen.c
19
20	# from libmd
21	md5c.c
22	md5hl.c
23	: libutil.a libbsd.so $(TARGET_NETWORK_LIBS)
24;
25