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