SubDir HAIKU_TOP src add-ons kernel network ppp shared libppp ; SetSubDirSupportedPlatformsBeOSCompatible ; if $(TARGET_PLATFORM) != haiku { UseHeaders [ FStandardOSHeaders ] : true ; # Needed for and maybe other stuff. 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 libppp headers ] : true ; UseHeaders [ FDirName $(HAIKU_TOP) src add-ons kernel network ppp shared libkernelppp headers ] : true ; StaticLibrary libppp.a : strlcat.c driver_settings.c settings_tools.cpp KPPPUtils.cpp _libppputils.cpp PPPInterface.cpp PPPInterfaceListener.cpp PPPManager.cpp MessageDriverSettingsUtils.cpp ; SEARCH on [ FGristFiles strlcat.c ] = [ FDirName $(HAIKU_TOP) src system libroot posix string ] ; SEARCH on [ FGristFiles driver_settings.c ] = [ FDirName $(HAIKU_TOP) src system libroot os ] ; SEARCH on [ FGristFiles settings_tools.cpp ] = [ FDirName $(HAIKU_TOP) src add-ons kernel network ppp shared libkernelppp ] ; SEARCH on [ FGristFiles KPPPUtils.cpp ] = [ FDirName $(HAIKU_TOP) src add-ons kernel network ppp shared libkernelppp ] ;