1SubDir HAIKU_TOP src bin network pppconfig ; 2 3SetSubDirSupportedPlatforms $(HAIKU_BONE_COMPATIBLE_PLATFORMS) ; 4 5if ! $(TARGET_PLATFORM_HAIKU_COMPATIBLE) { 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 11UsePrivateKernelHeaders ; 12UsePrivateHeaders net ; 13UseHeaders [ FDirName $(HAIKU_TOP) src add-ons kernel network ppp shared libppp 14 headers ] : true ; 15UseHeaders [ FDirName $(HAIKU_TOP) src add-ons kernel network ppp shared 16 libkernelppp headers ] : true ; 17 18BinCommand pppconfig : 19 pppconfig.cpp 20 : 21 be libppp.a $(TARGET_LIBSUPC++) $(TARGET_NETWORK_LIBS) 22; 23 24# Installation -- in the test directory for the time being 25HaikuInstall install-networking 26 : [ FDirName $(HAIKU_TEST_DIR) kits net ] 27 : pppconfig ; 28