SubDir HAIKU_TOP src apps stylededit ; SetSubDirSupportedPlatformsBeOSCompatible ; UsePrivateHeaders textencoding ; if $(TARGET_PLATFORM) != haiku { UseHeaders [ FDirName $(HAIKU_TOP) headers os support ] : true ; UseHeaders [ FDirName $(HAIKU_TOP) headers posix ] : true ; } local styled_edit_rsrc = [ FGristFiles StyledEdit.rsrc ] ; ResComp $(styled_edit_rsrc) : [ FGristFiles StyledEdit.rdef StyledEdit.icons.rdef ] ; local styled_edit_files = ColorMenuItem.cpp FindWindow.cpp ReplaceWindow.cpp StyledEditApp.cpp StyledEditView.cpp StyledEditWindow.cpp ; Objects $(styled_edit_files) ; Application StyledEdit : [ FGristFiles $(styled_edit_files:S=$(SUFOBJ)) ] # Haiku String String.cpp strcasestr.c : be translation tracker libtextencoding.so : $(styled_edit_rsrc) ; SEARCH on String.cpp += [ FDirName $(HAIKU_TOP) src kits support ] ; SEARCH on strcasestr.c += [ FDirName $(HAIKU_TOP) src system libroot posix string ] ;