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