1SubDir HAIKU_TOP src apps stylededit ; 2 3SetSubDirSupportedPlatformsBeOSCompatible ; 4 5UsePrivateHeaders textencoding ; 6if $(TARGET_PLATFORM) != haiku { 7 UseHeaders [ FDirName $(HAIKU_TOP) headers os support ] : true ; 8 UseHeaders [ FDirName $(HAIKU_TOP) headers posix ] : true ; 9} 10 11 12local styled_edit_rsrc = 13 [ FGristFiles StyledEdit.rsrc ] 14 ; 15ResComp $(styled_edit_rsrc) : 16 [ FGristFiles StyledEdit.rdef StyledEdit.icons.rdef ] 17 ; 18 19local styled_edit_files = 20 ColorMenuItem.cpp 21 FindWindow.cpp 22 ReplaceWindow.cpp 23 StyledEditApp.cpp 24 StyledEditView.cpp 25 StyledEditWindow.cpp 26 ; 27 28Objects $(styled_edit_files) ; 29 30Application StyledEdit : 31 [ FGristFiles $(styled_edit_files:S=$(SUFOBJ)) ] 32 # Haiku String 33 String.cpp 34 strcasestr.c 35 : be translation tracker libtextencoding.so 36 : $(styled_edit_rsrc) 37 ; 38 39SEARCH on <src!apps!stylededit>String.cpp += [ FDirName $(HAIKU_TOP) src kits support ] ; 40SEARCH on <src!apps!stylededit>strcasestr.c += [ FDirName $(HAIKU_TOP) src system libroot posix string ] ; 41 42