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 gdb.c
; ;
Includes [ FGristFiles $(gdbAllSources) ]
: [ BuildFeatureAttribute ncurses : headers ] ;
# build the static library # build the static library
StaticLibrary libgdb.a : StaticLibrary libgdb.a :
$(gdbAllLibSources) $(gdbAllLibSources)

View File

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

View File

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

View File

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