Your
unit1 in 'unit1.pas,
unit2 in 'unit2.pas;
looks like a conversion from a Delphi project.
Lazarus does not ever generate the "unitX in yyyy.pas" syntax at all, though it accepts it.
This syntax is basically too restrictive.
Lazarus has a more flexible system for keeping track of source files and directories, which you should use.
See the Project -> Project Options dialog, the Paths page.
The .lpr only
needs to have the unit(s) that the Application.CreateForm() statements refer to.
However, some people prefer the .lpr to list all the units used by the project.
Whether the IDE automatically maintains such a comprehensive .lpr uses clause is determined by the Project -> Options for Project... dialog.
On the Miscellaneous page just check or uncheck the option
"Main unit has Uses section containing all units of project"