1SubDir OBOS_TOP src apps stylededit ; 2 3UsePrivateHeaders textencoding ; 4 5local styled_edit_rsrc = 6 [ FGristFiles StyledEdit.rsrc ] 7 ; 8ResComp $(styled_edit_rsrc) : 9 [ FGristFiles StyledEdit.rdef StyledEdit.icons.rdef StyledEdit.version.rdef ] 10 ; 11 12local styled_edit_files = 13 ColorMenuItem.cpp 14 FindWindow.cpp 15 ReplaceWindow.cpp 16 StyledEditApp.cpp 17 StyledEditView.cpp 18 StyledEditWindow.cpp 19 ; 20 21Objects $(styled_edit_files) ; 22 23App StyledEdit : 24 [ FGristFiles $(styled_edit_files:S=$(SUFOBJ)) ] 25 # OBOS String 26 String.cpp 27 string_helper.cpp 28 : : $(styled_edit_rsrc) 29 ; 30 31SEARCH on <src!apps!stylededit>String.cpp += [ FDirName $(OBOS_TOP) src kits support ] ; 32SEARCH on <src!apps!stylededit>string_helper.cpp += [ FDirName $(OBOS_TOP) src kits support ] ; 33 34LinkSharedOSLibs StyledEdit : be translation tracker libtextencoding.so ; 35 36App StyledEdit† : 37 [ FGristFiles $(styled_edit_files:S=$(SUFOBJ)) ] 38 : libhaiku.a : $(styled_edit_rsrc) 39 ; 40 41LinkSharedOSLibs StyledEdit† : be translation tracker libtextencoding.so ; 42