ScreenOS had a command that lets you share a route in routing protocols, like BGP, without having to install the routing the the device's routing table.
On Junos OS shared routes have to exist in the routing table, there is no "set network" command.
Configuring static routes for sharing /32 routes of hosts that are directly connected will not work.
For routes that previously used the "set network" command and are not /32 routes, an aggregated route can be used as a workaround:
https://www.juniper.net/documentation/us/en/software/junos/static-routing/topics/topic-map/config-route-aggregation.html
In the case that aggregate routes do not fit your design, or the routes are /32 routes, inactive routes can be used:
https://www.juniper.net/documentation/us/en/software/junos/routing-policy/bgp/topics/example/bgp-advertise-inactive.html
The /32 route can be configured with a Down next-hop, so it will not be used for routing in the SRX, as it will be inactive, but it will be propagated by BGP.