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