1SubDir HAIKU_TOP src apps webpositive ; 2 3SubDirC++Flags $(defines) -Wno-error=sequence-point -Wno-error=format-truncation ; 4SubDirCcFlags $(defines) -Wno-error=sequence-point -Wno-error=format-truncation ; 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 BookmarkBar.cpp 23 FontSelectionView.cpp 24 SettingsMessage.cpp 25 26 # tabview 27 TabContainerView.cpp 28 TabManager.cpp 29 TabView.cpp 30 31 AuthenticationPanel.cpp 32 BrowserApp.cpp 33 BrowserWindow.cpp 34 BrowsingHistory.cpp 35 ConsoleWindow.cpp 36 CookieWindow.cpp 37 CredentialsStorage.cpp 38 DownloadProgressView.cpp 39 DownloadWindow.cpp 40 SettingsKeys.cpp 41 SettingsWindow.cpp 42 URLInputGroup.cpp 43; 44 45# We build WebPositive only for one architecture -- the first architecture for 46# which it is possible. 47local architectureObject ; 48for architectureObject in [ MultiArchSubDirSetup ] { 49 on $(architectureObject) { 50 if ! [ FIsBuildFeatureEnabled webkit ] { 51 continue ; 52 } 53 54 UseBuildFeatureHeaders webkit ; 55 56 local sourceDir ; 57 for sourceDir in $(sourceDirs) { 58 SEARCH_SOURCE 59 += [ FDirName $(HAIKU_TOP) src apps webpositive $(sourceDir) ] ; 60 } 61 62 Includes [ FGristFiles $(sources) ] 63 : [ BuildFeatureAttribute webkit : headers ] ; 64 # Dependency needed to trigger downloading/unzipping the package 65 # before compiling the files. 66 67 # private OS headers 68 UseLibraryHeaders icon ; 69 UsePrivateHeaders interface shared tracker ; 70 SubDirHdrs $(HAIKU_TOP) src kits tracker ; 71 72 Application WebPositive : 73 $(sources) 74 : 75 [ BuildFeatureAttribute webkit : libraries ] 76 [ TargetLibstdc++ ] localestub shared 77 [ MultiArchDefaultGristFiles libcolumnlistview.a ] 78 be network bnetapi tracker translation 79 : 80 WebPositive.rdef 81 ; 82 83 DoCatalogs WebPositive : 84 x-vnd.Haiku-WebPositive 85 : 86 $(sources) 87 ; 88 89 ExtractArchiveToHaikuImage home config settings WebPositive 90 : $(SUBDIR)/bookmarks/WebPositiveBookmarks.zip ; 91 92 EnableBuildFeatures webpositive ; 93 94 break ; 95 } 96} 97