1SubDir HAIKU_TOP src add-ons kernel network ppp shared libppp ; 2 3SetSubDirSupportedPlatformsBeOSCompatible ; 4 5if $(TARGET_PLATFORM) != haiku { 6 UseHeaders [ FStandardOSHeaders ] : true ; 7 # Needed for <support/Errors.h> and maybe other stuff. 8 UseHeaders [ FDirName $(HAIKU_TOP) headers posix ] : true ; 9 # We need the public network headers also when not compiling for Haiku. 10 # Unfortunately we get more than we want, namely all POSIX headers. 11} 12 13UsePrivateKernelHeaders ; 14UsePrivateHeaders net ; 15UseHeaders [ FDirName $(HAIKU_TOP) src add-ons kernel network ppp shared libppp 16 headers ] : true ; 17UseHeaders [ FDirName $(HAIKU_TOP) src add-ons kernel network ppp shared 18 libkernelppp headers ] : true ; 19 20 21StaticLibrary libppp.a : 22 strlcat.c 23 driver_settings.cpp 24 settings_tools.cpp 25 KPPPUtils.cpp 26 27 PPPInterface.cpp 28 PPPInterfaceListener.cpp 29 PPPManager.cpp 30 MessageDriverSettingsUtils.cpp 31 : libnetwork.so libbnetapi.so 32; 33 34SEARCH on [ FGristFiles strlcat.c ] = [ FDirName $(HAIKU_TOP) src system libroot posix string ] ; 35SEARCH on [ FGristFiles driver_settings.cpp ] = [ FDirName $(HAIKU_TOP) src system libroot os ] ; 36SEARCH on [ FGristFiles settings_tools.cpp ] = [ FDirName $(HAIKU_TOP) src add-ons kernel network ppp shared libkernelppp ] ; 37SEARCH on [ FGristFiles KPPPUtils.cpp ] = [ FDirName $(HAIKU_TOP) src add-ons kernel network ppp shared libkernelppp ] ; 38