1SubDir HAIKU_TOP src bin network telnetd ; 2 3UseBuildFeatureHeaders ncurses ; 4UseHeaders [ FDirName $(HAIKU_TOP) headers compatibility bsd ] : true ; 5UseHeaders [ FDirName $(HAIKU_TOP) src libs ] : true ; 6UseHeaders [ FDirName $(HAIKU_TOP) src libs libtelnet ] : false ; 7UseHeaders [ FDirName $(SUBDIR) .. telnet ] : false ; 8 9SubDirCcFlags [ FDefines USE_TERMIO=1 ] ; 10 11local sources = 12 authenc.c 13 global.c 14 slc.c 15 state.c 16 sys_term.c 17 telnetd.c 18 termstat.c 19 utility.c 20; 21 22Includes [ FGristFiles $(sources) ] 23 : [ BuildFeatureAttribute ncurses : headers ] ; 24 25 26BinCommand telnetd : 27 $(sources) 28 : [ BuildFeatureAttribute ncurses : library ] libtelnet.a libutil.a 29 libbsd.so $(TARGET_NETWORK_LIBS) 30; 31