1SubDir HAIKU_TOP src apps webpositive ; 2 3SubDirC++Flags $(defines) -Wno-error=sequence-point ; 4SubDirCcFlags $(defines) -Wno-error=sequence-point ; 5 6# source directories 7local sourceDirs = 8 autocompletion 9 support 10 tabview 11; 12 13local sources = 14 # autocompletion 15 AutoCompleter.cpp 16 AutoCompleterDefaultImpl.cpp 17 TextViewCompleter.cpp 18 19 # support 20 BaseURL.cpp 21 BitmapButton.cpp 22 FontSelectionView.cpp 23 SettingsMessage.cpp 24 25 # tabview 26 TabContainerView.cpp 27 TabManager.cpp 28 TabView.cpp 29 30 AuthenticationPanel.cpp 31 BrowserApp.cpp 32 BrowserWindow.cpp 33 BrowsingHistory.cpp 34 CredentialsStorage.cpp 35 DownloadProgressView.cpp 36 DownloadWindow.cpp 37 SettingsKeys.cpp 38 SettingsWindow.cpp 39 URLInputGroup.cpp 40 ConsoleWindow.cpp 41; 42 43# We build WebPositive only for one architecture -- the first architecture for 44# which it is possible. 45local architectureObject ; 46for architectureObject in [ MultiArchSubDirSetup ] { 47 on $(architectureObject) { 48 if ! [ FIsBuildFeatureEnabled webkit ] { 49 continue ; 50 } 51 52 UseBuildFeatureHeaders webkit ; 53 54 local sourceDir ; 55 for sourceDir in $(sourceDirs) { 56 SEARCH_SOURCE 57 += [ FDirName $(HAIKU_TOP) src apps webpositive $(sourceDir) ] ; 58 } 59 60 Includes [ FGristFiles $(sources) ] 61 : [ BuildFeatureAttribute webkit : headers ] ; 62 # Dependency needed to trigger downloading/unzipping the package 63 # before compiling the files. 64 65 # private OS headers 66 UseLibraryHeaders icon ; 67 UsePrivateHeaders interface shared tracker ; 68 SubDirHdrs $(HAIKU_TOP) src kits tracker ; 69 70 Application WebPositive : 71 $(sources) 72 : 73 [ BuildFeatureAttribute webkit : libraries ] 74 $(TARGET_LIBSTDC++) localestub 75 [ MultiArchDefaultGristFiles libshared.a ] 76 be network bnetapi tracker translation 77 : 78 WebPositive.rdef 79 ; 80 81 DoCatalogs WebPositive : 82 x-vnd.Haiku-WebPositive 83 : 84 $(sources) 85 ; 86 87 EnableBuildFeatures webpositive ; 88 89 break ; 90 } 91} 92