* Prefixed the variables NETWORK_LIBS, NETAPI_LIB, and
SELECT_UNAME_ETC_LIB with TARGET_ and introduced HAIKU_* and HOST_* counterparts. * Use HOST_NETWORK_LIBS for building remote_disk_server. * Also got rid of {R5,BONE,DANO,HAIKU}_COMPATIBLE. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21912 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
ed8dc403a9
commit
7e8ac2903b
@ -282,6 +282,11 @@ if $(HAIKU_SHARED_LIBSUPC++) {
|
|||||||
HAIKU_LIBSUPC++ = ;
|
HAIKU_LIBSUPC++ = ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# network libraries
|
||||||
|
HAIKU_NETWORK_LIBS = network ;
|
||||||
|
HAIKU_NETAPI_LIB = network ;
|
||||||
|
HAIKU_SELECT_UNAME_ETC_LIB = ; # libroot, against which we link anyway
|
||||||
|
|
||||||
# library and executable glue code
|
# library and executable glue code
|
||||||
local commonGlueCode =
|
local commonGlueCode =
|
||||||
<src!system!glue>init_term_dyn.o
|
<src!system!glue>init_term_dyn.o
|
||||||
@ -534,6 +539,26 @@ if $(HOST_PLATFORM_BEOS_COMPATIBLE) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# network libraries
|
||||||
|
if $(HOST_PLATFORM_HAIKU_COMPATIBLE) {
|
||||||
|
HOST_NETWORK_LIBS = network ;
|
||||||
|
HOST_NETAPI_LIB = network ;
|
||||||
|
HOST_SELECT_UNAME_ETC_LIB = ; # libroot
|
||||||
|
} else if $(HOST_PLATFORM_BONE_COMPATIBLE) {
|
||||||
|
HOST_NETWORK_LIBS = socket bind ;
|
||||||
|
HOST_NETAPI_LIB = bnetapi ;
|
||||||
|
HOST_SELECT_UNAME_ETC_LIB = ; # libroot
|
||||||
|
} else if $(HOST_PLATFORM_BEOS_COMPATIBLE) {
|
||||||
|
HOST_NETWORK_LIBS = net ;
|
||||||
|
HOST_NETAPI_LIB = netapi ;
|
||||||
|
HOST_SELECT_UNAME_ETC_LIB = net ;
|
||||||
|
} else {
|
||||||
|
# Linux,...
|
||||||
|
HOST_NETWORK_LIBS = ;
|
||||||
|
HOST_NETAPI_LIB = ;
|
||||||
|
HOST_SELECT_UNAME_ETC_LIB = ;
|
||||||
|
}
|
||||||
|
|
||||||
# define the executable MIME type
|
# define the executable MIME type
|
||||||
HOST_EXECUTABLE_MIME_TYPE = "application/x-vnd.Be-elfexecutable" ;
|
HOST_EXECUTABLE_MIME_TYPE = "application/x-vnd.Be-elfexecutable" ;
|
||||||
|
|
||||||
@ -583,27 +608,6 @@ if $(TARGET_PLATFORM) != haiku {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# TODO: Fix the naming!
|
|
||||||
if $(TARGET_PLATFORM_HAIKU_COMPATIBLE) {
|
|
||||||
NETWORK_LIBS = network ;
|
|
||||||
SELECT_UNAME_ETC_LIB = root ;
|
|
||||||
NETAPI_LIB = network ;
|
|
||||||
} else if $(TARGET_PLATFORM_BONE_COMPATIBLE) {
|
|
||||||
NETWORK_LIBS = socket bind ;
|
|
||||||
NETAPI_LIB = bnetapi ;
|
|
||||||
SELECT_UNAME_ETC_LIB = root ;
|
|
||||||
} else {
|
|
||||||
NETWORK_LIBS = net ;
|
|
||||||
NETAPI_LIB = netapi ;
|
|
||||||
SELECT_UNAME_ETC_LIB = net ;
|
|
||||||
}
|
|
||||||
|
|
||||||
# TODO: For compatibility only. Remove when no longer used.
|
|
||||||
R5_COMPATIBLE = $(TARGET_PLATFORM_BEOS_COMPATIBLE) ;
|
|
||||||
BONE_COMPATIBLE = $(TARGET_PLATFORM_BONE_COMPATIBLE) ;
|
|
||||||
DANO_COMPATIBLE = $(TARGET_PLATFORM_DANO_COMPATIBLE) ;
|
|
||||||
HAIKU_COMPATIBLE = $(TARGET_PLATFORM_HAIKU_COMPATIBLE) ;
|
|
||||||
|
|
||||||
# Set TARGET_* variables either from HAIKU_* or HOST_* depending on the
|
# Set TARGET_* variables either from HAIKU_* or HOST_* depending on the
|
||||||
# specified TARGET_PLATFORM.
|
# specified TARGET_PLATFORM.
|
||||||
|
|
||||||
@ -634,6 +638,8 @@ local buildVars =
|
|||||||
|
|
||||||
LIBSTDC++ LIBSUPC++
|
LIBSTDC++ LIBSUPC++
|
||||||
|
|
||||||
|
NETWORK_LIBS NETAPI_LIB SELECT_UNAME_ETC_LIB
|
||||||
|
|
||||||
ARCH_MACRO_DEFINE EXECUTABLE_MIME_TYPE
|
ARCH_MACRO_DEFINE EXECUTABLE_MIME_TYPE
|
||||||
|
|
||||||
OBJECT_BASE_DIR COMMON_ARCH_OBJECT_DIR COMMON_DEBUG_OBJECT_DIR
|
OBJECT_BASE_DIR COMMON_ARCH_OBJECT_DIR COMMON_DEBUG_OBJECT_DIR
|
||||||
|
@ -21,7 +21,7 @@ Addon IMAP :
|
|||||||
imap_config.cpp
|
imap_config.cpp
|
||||||
NestedString.cpp ;
|
NestedString.cpp ;
|
||||||
|
|
||||||
LinkAgainst IMAP : be libmail.so $(NETWORK_LIBS) ;
|
LinkAgainst IMAP : be libmail.so $(TARGET_NETWORK_LIBS) ;
|
||||||
|
|
||||||
if $(USESSL) {
|
if $(USESSL) {
|
||||||
LinkAgainst IMAP : ssl crypto ;
|
LinkAgainst IMAP : ssl crypto ;
|
||||||
|
@ -22,7 +22,7 @@ Addon POP3 :
|
|||||||
SimpleMailProtocol.cpp
|
SimpleMailProtocol.cpp
|
||||||
md5c.c ;
|
md5c.c ;
|
||||||
|
|
||||||
LinkAgainst POP3 : be libmail.so $(NETWORK_LIBS) ;
|
LinkAgainst POP3 : be libmail.so $(TARGET_NETWORK_LIBS) ;
|
||||||
|
|
||||||
if $(USESSL) {
|
if $(USESSL) {
|
||||||
LinkAgainst POP3 : ssl crypto ;
|
LinkAgainst POP3 : ssl crypto ;
|
||||||
|
@ -20,7 +20,7 @@ Addon SMTP :
|
|||||||
smtp.cpp
|
smtp.cpp
|
||||||
md5c.c ;
|
md5c.c ;
|
||||||
|
|
||||||
LinkAgainst SMTP : be libmail.so $(NETWORK_LIBS) ;
|
LinkAgainst SMTP : be libmail.so $(TARGET_NETWORK_LIBS) ;
|
||||||
|
|
||||||
if $(USESSL) {
|
if $(USESSL) {
|
||||||
LinkAgainst SMTP : ssl crypto ;
|
LinkAgainst SMTP : ssl crypto ;
|
||||||
|
@ -8,7 +8,7 @@ Addon HP\ JetDirect :
|
|||||||
print_transport.cpp
|
print_transport.cpp
|
||||||
HPJetDirectTransport.cpp
|
HPJetDirectTransport.cpp
|
||||||
SetupWindow.cpp
|
SetupWindow.cpp
|
||||||
: be $(NETAPI_LIB)
|
: be $(TARGET_NETAPI_LIB)
|
||||||
;
|
;
|
||||||
|
|
||||||
Package haiku-printingkit-cvs :
|
Package haiku-printingkit-cvs :
|
||||||
|
@ -15,7 +15,7 @@ Addon IPP :
|
|||||||
Socket.o
|
Socket.o
|
||||||
SocketStream.o
|
SocketStream.o
|
||||||
DbgMsg.o
|
DbgMsg.o
|
||||||
: be $(NETWORK_LIBS) $(TARGET_LIBSTDC++)
|
: be $(TARGET_NETWORK_LIBS) $(TARGET_LIBSTDC++)
|
||||||
;
|
;
|
||||||
|
|
||||||
ObjectReferences
|
ObjectReferences
|
||||||
|
@ -13,7 +13,7 @@ Addon LPR :
|
|||||||
Socket.o
|
Socket.o
|
||||||
SocketStream.o
|
SocketStream.o
|
||||||
DbgMsg.o
|
DbgMsg.o
|
||||||
: be $(NETWORK_LIBS) $(TARGET_LIBSTDC++)
|
: be $(TARGET_NETWORK_LIBS) $(TARGET_LIBSTDC++)
|
||||||
;
|
;
|
||||||
|
|
||||||
ObjectReferences
|
ObjectReferences
|
||||||
|
@ -2,7 +2,7 @@ SubDir HAIKU_TOP src add-ons print transports shared ;
|
|||||||
|
|
||||||
SetSubDirSupportedPlatformsBeOSCompatible ;
|
SetSubDirSupportedPlatformsBeOSCompatible ;
|
||||||
|
|
||||||
if $(BONE_COMPATIBLE) {
|
if $(TARGET_PLATFORM_BONE_COMPATIBLE) {
|
||||||
ObjectC++Flags Socket.cpp : -DHAVE_ARPA_INET -Dclosesocket=close ;
|
ObjectC++Flags Socket.cpp : -DHAVE_ARPA_INET -Dclosesocket=close ;
|
||||||
} else {
|
} else {
|
||||||
ObjectC++Flags Socket.cpp : -DHAVE_ARPA_INET -DBUILDING_R5_LIBNET ;
|
ObjectC++Flags Socket.cpp : -DHAVE_ARPA_INET -DBUILDING_R5_LIBNET ;
|
||||||
|
@ -13,6 +13,6 @@ Application CDPlayer :
|
|||||||
TwoStateDrawButton.cpp
|
TwoStateDrawButton.cpp
|
||||||
VolumeSlider.cpp
|
VolumeSlider.cpp
|
||||||
|
|
||||||
: be $(SELECT_UNAME_ETC_LIB) $(NETAPI_LIB) translation textencoding
|
: be $(TARGET_SELECT_UNAME_ETC_LIB) $(TARGET_NETAPI_LIB) translation textencoding
|
||||||
: CDPlayer.rdef
|
: CDPlayer.rdef
|
||||||
;
|
;
|
||||||
|
@ -8,7 +8,7 @@ Application CodyCam :
|
|||||||
Settings.cpp
|
Settings.cpp
|
||||||
SettingsHandler.cpp
|
SettingsHandler.cpp
|
||||||
VideoConsumer.cpp
|
VideoConsumer.cpp
|
||||||
: be media translation $(NETAPI_LIB) $(TARGET_LIBSTDC++)
|
: be media translation $(TARGET_NETAPI_LIB) $(TARGET_LIBSTDC++)
|
||||||
: CodyCam.rdef
|
: CodyCam.rdef
|
||||||
;
|
;
|
||||||
|
|
||||||
|
@ -14,6 +14,6 @@ Application NetworkStatus :
|
|||||||
NetworkStatusWindow.cpp
|
NetworkStatusWindow.cpp
|
||||||
NetworkStatusView.cpp
|
NetworkStatusView.cpp
|
||||||
NetworkStatus.cpp
|
NetworkStatus.cpp
|
||||||
: be $(icon_libs) $(NETWORK_LIBS)
|
: be $(icon_libs) $(TARGET_NETWORK_LIBS)
|
||||||
: NetworkStatus.rdef NetworkStatusIcons.rdef
|
: NetworkStatus.rdef NetworkStatusIcons.rdef
|
||||||
;
|
;
|
||||||
|
@ -64,7 +64,7 @@ BinCommand sh :
|
|||||||
list.c stringlib.c locale.c findcmd.c redir.c
|
list.c stringlib.c locale.c findcmd.c redir.c
|
||||||
pcomplete.c pcomplib.c syntax.c xmalloc.c test.c sig.c
|
pcomplete.c pcomplib.c syntax.c xmalloc.c test.c sig.c
|
||||||
: libreadline.a <bash>libglob.a libbuiltins.a libtilde.a libsh.a
|
: libreadline.a <bash>libglob.a libbuiltins.a libtilde.a libsh.a
|
||||||
libtermcap.a $(SELECT_UNAME_ETC_LIB)
|
libtermcap.a $(TARGET_SELECT_UNAME_ETC_LIB)
|
||||||
: bash.rdef ;
|
: bash.rdef ;
|
||||||
|
|
||||||
# trap.c includes signames.h
|
# trap.c includes signames.h
|
||||||
|
@ -82,7 +82,7 @@ StdBinCommands
|
|||||||
hostname.c
|
hostname.c
|
||||||
tail.c
|
tail.c
|
||||||
uname.c
|
uname.c
|
||||||
: libfetish.a $(SELECT_UNAME_ETC_LIB) : $(coreutils_rsrc) ;
|
: libfetish.a $(TARGET_SELECT_UNAME_ETC_LIB) : $(coreutils_rsrc) ;
|
||||||
|
|
||||||
#commands requiring something in libroot.so (getrlimit, fchdir...)
|
#commands requiring something in libroot.so (getrlimit, fchdir...)
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ UseHeaders $(TARGET_PRIVATE_KERNEL_HEADERS) : true ;
|
|||||||
|
|
||||||
BinCommand arp :
|
BinCommand arp :
|
||||||
arp.cpp
|
arp.cpp
|
||||||
: $(NETWORK_LIBS) $(SELECT_UNAME_ETC_LIB) ;
|
: $(TARGET_NETWORK_LIBS) $(TARGET_SELECT_UNAME_ETC_LIB) ;
|
||||||
|
|
||||||
# Installation -- in the test directory for the time being
|
# Installation -- in the test directory for the time being
|
||||||
HaikuInstall install-networking
|
HaikuInstall install-networking
|
||||||
|
@ -21,7 +21,7 @@ BinCommand ftp :
|
|||||||
progressbar.c
|
progressbar.c
|
||||||
ruserpass.c
|
ruserpass.c
|
||||||
util.c
|
util.c
|
||||||
: libedit.a libncurses.a libutil.a libbsd.so $(NETWORK_LIBS)
|
: libedit.a libncurses.a libutil.a libbsd.so $(TARGET_NETWORK_LIBS)
|
||||||
;
|
;
|
||||||
|
|
||||||
# Installation -- in the test directory for the time being
|
# Installation -- in the test directory for the time being
|
||||||
|
@ -10,7 +10,7 @@ if ! $(TARGET_PLATFORM_HAIKU_COMPATIBLE) {
|
|||||||
|
|
||||||
BinCommand nc :
|
BinCommand nc :
|
||||||
netcat.c
|
netcat.c
|
||||||
: $(NETWORK_LIBS)
|
: $(TARGET_NETWORK_LIBS)
|
||||||
;
|
;
|
||||||
|
|
||||||
HaikuInstall install-networking
|
HaikuInstall install-networking
|
||||||
|
@ -10,7 +10,7 @@ if ! $(TARGET_PLATFORM_HAIKU_COMPATIBLE) {
|
|||||||
|
|
||||||
BinCommand ping :
|
BinCommand ping :
|
||||||
ping.c
|
ping.c
|
||||||
: $(NETWORK_LIBS) $(SELECT_UNAME_ETC_LIB) ;
|
: $(TARGET_NETWORK_LIBS) $(TARGET_SELECT_UNAME_ETC_LIB) ;
|
||||||
|
|
||||||
# Installation -- in the test directory for the time being
|
# Installation -- in the test directory for the time being
|
||||||
HaikuInstall install-networking
|
HaikuInstall install-networking
|
||||||
|
@ -124,7 +124,7 @@ BinCommand tcpdump :
|
|||||||
tcpdump.c
|
tcpdump.c
|
||||||
util.c
|
util.c
|
||||||
version.c
|
version.c
|
||||||
: libpcap.a $(NETWORK_LIBS)
|
: libpcap.a $(TARGET_NETWORK_LIBS)
|
||||||
;
|
;
|
||||||
|
|
||||||
SubInclude HAIKU_TOP src bin network tcpdump libpcap ;
|
SubInclude HAIKU_TOP src bin network tcpdump libpcap ;
|
||||||
|
@ -20,5 +20,5 @@ BinCommand telnet :
|
|||||||
telnet.c
|
telnet.c
|
||||||
terminal.c
|
terminal.c
|
||||||
utilities.c
|
utilities.c
|
||||||
: libtermcap.a libncurses.a libtelnet.a libutil.a libbsd.so $(NETWORK_LIBS)
|
: libtermcap.a libncurses.a libtelnet.a libutil.a libbsd.so $(TARGET_NETWORK_LIBS)
|
||||||
;
|
;
|
||||||
|
@ -18,5 +18,5 @@ BinCommand telnetd :
|
|||||||
telnetd.c
|
telnetd.c
|
||||||
termstat.c
|
termstat.c
|
||||||
utility.c
|
utility.c
|
||||||
: libtermcap.a libtelnet.a libutil.a libbsd.so $(NETWORK_LIBS)
|
: libtermcap.a libtelnet.a libutil.a libbsd.so $(TARGET_NETWORK_LIBS)
|
||||||
;
|
;
|
||||||
|
@ -21,7 +21,7 @@ BinCommand traceroute :
|
|||||||
ifaddrlist.c
|
ifaddrlist.c
|
||||||
traceroute.c
|
traceroute.c
|
||||||
version.c
|
version.c
|
||||||
: $(NETWORK_LIBS) $(SELECT_UNAME_ETC_LIB) ;
|
: $(TARGET_NETWORK_LIBS) $(TARGET_SELECT_UNAME_ETC_LIB) ;
|
||||||
|
|
||||||
# Installation -- in the test directory for the time being
|
# Installation -- in the test directory for the time being
|
||||||
HaikuInstall install-networking
|
HaikuInstall install-networking
|
||||||
|
@ -39,5 +39,5 @@ BinCommand wget :
|
|||||||
utils.c
|
utils.c
|
||||||
version.c
|
version.c
|
||||||
xmalloc.c
|
xmalloc.c
|
||||||
: $(NETWORK_LIBS)
|
: $(TARGET_NETWORK_LIBS)
|
||||||
;
|
;
|
||||||
|
@ -9,7 +9,7 @@ ResComp $(sharutils_rsrc) : [ FGristFiles sharutils.rdef ] ;
|
|||||||
|
|
||||||
BinCommand shar :
|
BinCommand shar :
|
||||||
shar.c encode.c
|
shar.c encode.c
|
||||||
: libsharutils.a $(SELECT_UNAME_ETC_LIB)
|
: libsharutils.a $(TARGET_SELECT_UNAME_ETC_LIB)
|
||||||
: sharutils.rsrc ;
|
: sharutils.rsrc ;
|
||||||
|
|
||||||
BinCommand unshar :
|
BinCommand unshar :
|
||||||
|
@ -34,5 +34,5 @@ BinCommand tar :
|
|||||||
|
|
||||||
BinCommand rmt :
|
BinCommand rmt :
|
||||||
rmt.c
|
rmt.c
|
||||||
: libtar.a $(NETWORK_LIBS)
|
: libtar.a $(TARGET_NETWORK_LIBS)
|
||||||
: tar.rsrc ;
|
: tar.rsrc ;
|
||||||
|
@ -60,7 +60,7 @@ BinCommand vim :
|
|||||||
os_beos.c
|
os_beos.c
|
||||||
version.c
|
version.c
|
||||||
pathdef.c
|
pathdef.c
|
||||||
: be libtermcap.a $(SELECT_UNAME_ETC_LIB)
|
: be libtermcap.a $(TARGET_SELECT_UNAME_ETC_LIB)
|
||||||
: vim.rdef ;
|
: vim.rdef ;
|
||||||
|
|
||||||
SEARCH on [ FGristFiles pathdef.c ] = [ FDirName $(SUBDIR) auto ] ;
|
SEARCH on [ FGristFiles pathdef.c ] = [ FDirName $(SUBDIR) auto ] ;
|
||||||
|
@ -74,7 +74,7 @@ SharedLibrary libbe_haiku.so :
|
|||||||
libagg.a
|
libagg.a
|
||||||
|
|
||||||
libbeadapter.so
|
libbeadapter.so
|
||||||
$(NETWORK_LIBS)
|
$(TARGET_NETWORK_LIBS)
|
||||||
$(TARGET_LIBSTDC++)
|
$(TARGET_LIBSTDC++)
|
||||||
;
|
;
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ if $(RUN_WITHOUT_APP_SERVER) != 0 {
|
|||||||
SubDirC++Flags $(defines) ;
|
SubDirC++Flags $(defines) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ! $(HAIKU_COMPATIBLE) {
|
if ! $(TARGET_PLATFORM_HAIKU_COMPATIBLE) {
|
||||||
local defines = [ FDefines COMPILE_FOR_R5 ] ;
|
local defines = [ FDefines COMPILE_FOR_R5 ] ;
|
||||||
SubDirCcFlags $(defines) ;
|
SubDirCcFlags $(defines) ;
|
||||||
SubDirC++Flags $(defines) ;
|
SubDirC++Flags $(defines) ;
|
||||||
|
@ -47,8 +47,8 @@ SharedLibrary libmail.so :
|
|||||||
libtextencoding.so
|
libtextencoding.so
|
||||||
tracker
|
tracker
|
||||||
$(TARGET_LIBSTDC++)
|
$(TARGET_LIBSTDC++)
|
||||||
$(NETWORK_LIBS)
|
$(TARGET_NETWORK_LIBS)
|
||||||
$(SELECT_UNAME_ETC_LIB)
|
$(TARGET_SELECT_UNAME_ETC_LIB)
|
||||||
;
|
;
|
||||||
|
|
||||||
Package haiku-maildaemon-cvs :
|
Package haiku-maildaemon-cvs :
|
||||||
|
@ -24,7 +24,7 @@ if $(TARGET_PLATFORM) != haiku {
|
|||||||
|
|
||||||
SharedLibrary libnetapi.so :
|
SharedLibrary libnetapi.so :
|
||||||
$(netapi_sources)
|
$(netapi_sources)
|
||||||
: be $(NETWORK_LIBS)
|
: be $(TARGET_NETWORK_LIBS)
|
||||||
;
|
;
|
||||||
|
|
||||||
# Installation -- in the test directory for the time being
|
# Installation -- in the test directory for the time being
|
||||||
|
@ -8,7 +8,7 @@ Preference Network :
|
|||||||
EthernetSettingsWindow.cpp
|
EthernetSettingsWindow.cpp
|
||||||
EthernetSettingsView.cpp
|
EthernetSettingsView.cpp
|
||||||
EthernetSettings.cpp
|
EthernetSettings.cpp
|
||||||
: be root $(NETWORK_LIBS)
|
: be root $(TARGET_NETWORK_LIBS)
|
||||||
;
|
;
|
||||||
|
|
||||||
Package haiku-networksettings :
|
Package haiku-networksettings :
|
||||||
|
@ -19,7 +19,7 @@ Server mail_daemon :
|
|||||||
main.cpp
|
main.cpp
|
||||||
;
|
;
|
||||||
|
|
||||||
LinkAgainst mail_daemon : be libmail.so tracker $(TARGET_LIBSTDC++) $(NETWORK_LIBS) ;
|
LinkAgainst mail_daemon : be libmail.so tracker $(TARGET_LIBSTDC++) $(TARGET_NETWORK_LIBS) ;
|
||||||
|
|
||||||
Package haiku-maildaemon-cvs :
|
Package haiku-maildaemon-cvs :
|
||||||
mail_daemon :
|
mail_daemon :
|
||||||
|
@ -87,5 +87,5 @@ Addon <test>netfs
|
|||||||
VolumeManager.cpp
|
VolumeManager.cpp
|
||||||
|
|
||||||
: <test>UserlandFSServer
|
: <test>UserlandFSServer
|
||||||
$(NETWORK_LIBS)
|
$(TARGET_NETWORK_LIBS)
|
||||||
;
|
;
|
||||||
|
@ -28,5 +28,5 @@ Application <test>netfs_config
|
|||||||
# Blocker.cpp
|
# Blocker.cpp
|
||||||
|
|
||||||
netfs_config.cpp
|
netfs_config.cpp
|
||||||
: be # $(NETWORK_LIBS)
|
: be # $(TARGET_NETWORK_LIBS)
|
||||||
;
|
;
|
||||||
|
@ -84,5 +84,5 @@ Application <test>NetFSServer
|
|||||||
UserSecurityContext.cpp
|
UserSecurityContext.cpp
|
||||||
Volume.cpp
|
Volume.cpp
|
||||||
VolumeManager.cpp
|
VolumeManager.cpp
|
||||||
: be $(NETWORK_LIBS)
|
: be $(TARGET_NETWORK_LIBS)
|
||||||
;
|
;
|
||||||
|
@ -18,12 +18,12 @@ UsePrivateHeaders net ;
|
|||||||
#UsePrivateHeaders kernel ;
|
#UsePrivateHeaders kernel ;
|
||||||
#UseArchHeaders $(TARGET_ARCH) ;
|
#UseArchHeaders $(TARGET_ARCH) ;
|
||||||
|
|
||||||
SimpleTest udp_client : udp_client.c : $(NETWORK_LIBS) ;
|
SimpleTest udp_client : udp_client.c : $(TARGET_NETWORK_LIBS) ;
|
||||||
SimpleTest udp_echo : udp_echo.c : $(NETWORK_LIBS) ;
|
SimpleTest udp_echo : udp_echo.c : $(TARGET_NETWORK_LIBS) ;
|
||||||
SimpleTest udp_server : udp_server.c : $(NETWORK_LIBS) ;
|
SimpleTest udp_server : udp_server.c : $(TARGET_NETWORK_LIBS) ;
|
||||||
|
|
||||||
SimpleTest tcp_server : tcp_server.c : $(NETWORK_LIBS) ;
|
SimpleTest tcp_server : tcp_server.c : $(TARGET_NETWORK_LIBS) ;
|
||||||
SimpleTest tcp_client : tcp_client.c : $(NETWORK_LIBS) ;
|
SimpleTest tcp_client : tcp_client.c : $(TARGET_NETWORK_LIBS) ;
|
||||||
|
|
||||||
SimpleTest tcp_tester :
|
SimpleTest tcp_tester :
|
||||||
tcp_tester.cpp
|
tcp_tester.cpp
|
||||||
|
@ -2,7 +2,7 @@ SubDir HAIKU_TOP src tests kits net netperf ;
|
|||||||
|
|
||||||
Depends netperf : install_netperf_scripts ;
|
Depends netperf : install_netperf_scripts ;
|
||||||
|
|
||||||
if ! $(BONE_COMPATIBLE) {
|
if ! $(TARGET_PLATFORM_BONE_COMPATIBLE) {
|
||||||
SubDirCcFlags -DBUILDING_R5_LIBNET -Dclose=closesocket ;
|
SubDirCcFlags -DBUILDING_R5_LIBNET -Dclose=closesocket ;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -24,13 +24,13 @@ Objects $(net_files) ;
|
|||||||
SimpleTest netperf :
|
SimpleTest netperf :
|
||||||
netperf.c
|
netperf.c
|
||||||
[ FGristFiles $(net_files:S=$(SUFOBJ)) ]
|
[ FGristFiles $(net_files:S=$(SUFOBJ)) ]
|
||||||
: $(NETWORK_LIBS)
|
: $(TARGET_NETWORK_LIBS)
|
||||||
;
|
;
|
||||||
|
|
||||||
SimpleTest netserver :
|
SimpleTest netserver :
|
||||||
netserver.c
|
netserver.c
|
||||||
[ FGristFiles $(net_files:S=$(SUFOBJ)) ]
|
[ FGristFiles $(net_files:S=$(SUFOBJ)) ]
|
||||||
: $(NETWORK_LIBS)
|
: $(TARGET_NETWORK_LIBS)
|
||||||
;
|
;
|
||||||
|
|
||||||
HaikuInstall install_netperf_scripts : [ FDirName $(HAIKU_TEST_DIR) kits net netperf ] :
|
HaikuInstall install_netperf_scripts : [ FDirName $(HAIKU_TEST_DIR) kits net netperf ] :
|
||||||
|
@ -4,5 +4,5 @@ UsePrivateHeaders kernel ;
|
|||||||
|
|
||||||
BuildPlatformMain remote_disk_server
|
BuildPlatformMain remote_disk_server
|
||||||
: remote_disk_server.cpp
|
: remote_disk_server.cpp
|
||||||
: $(HOST_LIBSUPC++) $(NETWORK_LIBS)
|
: $(HOST_LIBSUPC++) $(HOST_NETWORK_LIBS)
|
||||||
;
|
;
|
||||||
|
Loading…
Reference in New Issue
Block a user