Add the ncurses headers dependency where needed.

Should fix the build for real.
This commit is contained in:
Adrien Destugues 2014-12-18 13:49:14 +01:00
parent 2661e81977
commit a0952d1cb3
4 changed files with 30 additions and 3 deletions

View File

@ -272,6 +272,9 @@ local gdbAllSources =
gdb.c
;
Includes [ FGristFiles $(gdbAllSources) ]
: [ BuildFeatureAttribute ncurses : headers ] ;
# build the static library
StaticLibrary libgdb.a :
$(gdbAllLibSources)

View File

@ -11,7 +11,7 @@ local defines = [ FDefines USE_TERMIO=1 OLD_ENVIRON=1 ENV_HACK=1 ] ;
SubDirCcFlags $(defines) ;
SubDirC++Flags $(defines) ;
BinCommand telnet :
local sources =
authenc.c
commands.c
main.c
@ -21,6 +21,14 @@ BinCommand telnet :
telnet.c
terminal.c
utilities.c
;
Includes [ FGristFiles $(sources) ]
: [ BuildFeatureAttribute ncurses : headers ] ;
BinCommand telnet :
$(sources)
: [ BuildFeatureAttribute ncurses : library ] libtelnet.a libutil.a
libbsd.so $(TARGET_NETWORK_LIBS)
;

View File

@ -10,7 +10,7 @@ local defines = [ FDefines USE_TERMIO=1 ] ;
SubDirCcFlags $(defines) ;
SubDirC++Flags $(defines) ;
BinCommand telnetd :
local sources =
authenc.c
global.c
slc.c
@ -19,6 +19,14 @@ BinCommand telnetd :
telnetd.c
termstat.c
utility.c
;
Includes [ FGristFiles $(sources) ]
: [ BuildFeatureAttribute ncurses : headers ] ;
BinCommand telnetd :
$(sources)
: [ BuildFeatureAttribute ncurses : library ] libtelnet.a libutil.a
libbsd.so $(TARGET_NETWORK_LIBS)
;

View File

@ -9,7 +9,7 @@ UseHeaders [ FDirName $(HAIKU_TOP) headers libs ncurses ] : true ;
local defines = [ FDefines SCCSID=0 ] ;
SubDirCcFlags $(defines) ;
StaticLibrary libedit.a :
local sources =
chared.c
common.c
el.c
@ -32,3 +32,11 @@ StaticLibrary libedit.a :
vi.c
;
Includes [ FGristFiles $(sources) ]
: [ BuildFeatureAttribute ncurses : headers ] ;
StaticLibrary libedit.a :
$(sources)
;