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 ; 7 8local defines = [ FDefines USE_TERMIO=1 _BSD_SOURCE=1 ] ; 9 10SubDirCcFlags $(defines) ; 11SubDirC++Flags $(defines) ; 12 13local sources = 14 authenc.c 15 global.c 16 slc.c 17 state.c 18 sys_term.c 19 telnetd.c 20 termstat.c 21 utility.c 22; 23 24Includes [ FGristFiles $(sources) ] 25 : [ BuildFeatureAttribute ncurses : headers ] ; 26 27 28BinCommand telnetd : 29 $(sources) 30 : [ BuildFeatureAttribute ncurses : library ] libtelnet.a libutil.a 31 libbsd.so $(TARGET_NETWORK_LIBS) 32; 33