1SubDir HAIKU_TOP src bin network telnet ; 2 3UseHeaders [ FDirName $(HAIKU_TOP) headers compatibility bsd ] : true ; 4UseHeaders [ FDirName $(HAIKU_TOP) src libs ] : true ; 5UseHeaders [ FDirName $(HAIKU_TOP) src libs libtelnet ] : false ; 6 7UseBuildFeatureHeaders ncurses ; 8 9local defines = [ FDefines USE_TERMIO=1 OLD_ENVIRON=1 ENV_HACK=1 ] ; 10 11SubDirCcFlags $(defines) ; 12SubDirC++Flags $(defines) ; 13 14local sources = 15 authenc.c 16 commands.c 17 main.c 18 network.c 19 ring.c 20 sys_bsd.c 21 telnet.c 22 terminal.c 23 utilities.c 24; 25 26Includes [ FGristFiles $(sources) ] 27 : [ BuildFeatureAttribute ncurses : headers ] ; 28 29 30BinCommand telnet : 31 $(sources) 32 : [ BuildFeatureAttribute ncurses : library ] libtelnet.a libutil.a 33 libbsd.so $(TARGET_NETWORK_LIBS) 34; 35