1SubDir HAIKU_TOP src add-ons kernel network ppp ipcp ; 2 3SetSubDirSupportedPlatformsBeOSCompatible ; 4 5if $(TARGET_PLATFORM) != haiku { 6 UseHeaders [ FDirName $(HAIKU_TOP) headers posix ] : true ; 7 # We need the public network headers also when not compiling for Haiku. 8 # Unfortunately we get more than we want, namely all POSIX headers. 9} 10 11# for kernel_cpp.h and BLocker 12UseHeaders [ FDirName $(HAIKU_TOP) headers cpp ] : true ; 13UsePrivateHeaders net ; 14UsePrivateHeaders [ FDirName kernel ] ; 15UsePrivateHeaders [ FDirName kernel util ] ; 16UseHeaders [ FDirName $(HAIKU_TOP) src add-ons kernel network ppp shared 17 libkernelppp headers ] : true ; 18 19 20{ 21 SubDirC++Flags -fno-rtti ; 22} 23 24 25KernelAddon ipcp : 26 # imported from libnet 27 inet_addr.c 28 29 ipcp.cpp 30 Protocol.cpp 31; 32 33SEARCH on [ FGristFiles inet_addr.c ] 34 = [ FDirName $(HAIKU_TOP) src kits network compat libnet ] ; 35 36LinkAgainst ipcp : libkernelppp.a ; 37 38# Installation 39HaikuInstall install-networking 40 : /boot/home/config/add-ons/kernel/obos_network/ppp 41 : ipcp ; 42 43Package haiku-networkingkit-cvs : 44 ipcp : 45 boot home config add-ons kernel obos_network ppp ; 46