SubDir HAIKU_TOP src tests add-ons kernel network ppp shared libkernelppp ; SetSubDirSupportedPlatformsBeOSCompatible ; if $(TARGET_PLATFORM) != haiku { UseHeaders [ FStandardOSHeaders ] : true ; # Needed for the atomic_add64() prototype. :-/ UseHeaders [ FDirName $(HAIKU_TOP) headers posix ] : true ; # We need the public network headers also when not compiling for Haiku. # Unfortunately we get more than we want, namely all POSIX headers. } UsePrivateHeaders net ; UseHeaders [ FDirName $(HAIKU_TOP) src add-ons kernel network ppp shared libkernelppp headers ] : true ; SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src add-ons kernel network ppp shared libkernelppp ] ; StaticLibrary libkernelppp.a : KPPPConfigurePacket.cpp KPPPDevice.cpp KPPPInterface.cpp KPPPLayer.cpp KPPPLCP.cpp KPPPLCPExtension.cpp KPPPOptionHandler.cpp KPPPProtocol.cpp KPPPReportManager.cpp KPPPStateMachine.cpp KPPPUtils.cpp settings_tools.cpp # integrated modules _KPPPMRUHandler.cpp _KPPPAuthenticationHandler.cpp _KPPPPFCHandler.cpp # for driver_settings strlcat.c driver_settings.cpp ; SEARCH on [ FGristFiles strlcat.c ] = [ FDirName $(HAIKU_TOP) src system libroot posix string ] ; SEARCH on [ FGristFiles driver_settings.cpp ] = [ FDirName $(HAIKU_TOP) src system libroot os ] ;