SubDir HAIKU_TOP src bin network pppconfig ; SetSubDirSupportedPlatforms $(HAIKU_BONE_COMPATIBLE_PLATFORMS) ; if ! $(TARGET_PLATFORM_HAIKU_COMPATIBLE) { 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. } UsePrivateKernelHeaders ; 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 ; BinCommand pppconfig : pppconfig.cpp : be libppp.a [ TargetLibsupc++ ] libbsd.so $(TARGET_NETWORK_LIBS) ; # Installation HaikuInstall install-ppp : /boot/home/config/non-packaged/bin : pppconfig ;