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 9SubDirCcFlags [ FDefines USE_TERMIO=1 OLD_ENVIRON=1 ENV_HACK=1 ] ; 10 11local sources = 12 authenc.c 13 commands.c 14 main.c 15 network.c 16 ring.c 17 sys_bsd.c 18 telnet.c 19 terminal.c 20 utilities.c 21; 22 23Includes [ FGristFiles $(sources) ] 24 : [ BuildFeatureAttribute ncurses : headers ] ; 25 26 27BinCommand telnet : 28 $(sources) 29 : [ BuildFeatureAttribute ncurses : library ] libtelnet.a libutil.a 30 libbsd.so $(TARGET_NETWORK_LIBS) 31; 32