This study proposes a unified optimization framework for strategic planning of shared autonomous vehicle (SAV) systems that explicitly and endogenously considers their operational aspects based on macroscopic dynamic traffic assignment. Specifically, the proposed model optimizes fleet size, road network design, and parking space allocation of an SAV system with optimized SAVs' dynamic routing with passenger pickup/delivery and ridesharing. It is formulated as a multi-objective optimization problem that simultaneously minimizes total travel time of travelers, total distance traveled by SAVs, total number of SAVs, and infrastructure construction cost; thus, both the user-side cost and the system-side cost are taken into account, and their trade-off relations can be explicitly investigated. Furthermore, the problem is formulated as a linear programming problem, making it easy to solve. By leveraging the linearity, we mathematically derive a useful property of the problem: introduction of ridesharing can weakly monotonically and simultaneously decrease the user-side cost and system-side cost. The proposed model is evaluated by applying it to actual travel records obtained from New York City taxi data.