<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Wayne Sherman via fpc-devel <<a href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a>> schrieb am Di., 3. Jan. 2023, 07:36:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Each package directory (./fpc-source/packages/some-package/) typically<br>
has these files:<br>
   fpmake.pp  (where does this come from?)<br>
   Makefile  (this is generated by FPCMake?)<br>
   Makefile.fpc  (config file for FPCMake to create Makefile?)<br>
<br>
Some package directories also have:<br>
   Makefile.fpc.fpcmake  (?)<br>
<br>
Some questions please:<br>
1) How do I generate the fpmake.pp file?  Or is it created by manual coding?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">This is created manually and is *the* source for how to build a package. </div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
2) Does "Makefile" automatically get generated during a build or do I<br>
have to manually run FPCMake?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">You need to run fpcmake manually. </div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
3) What is "Makefile.fpc.fpcmake" used for and how is it created?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">This is the old, manually created build file. It mainly exists as reference to check whether the fpmake.pp was created correctly. The new Makefile.fpc is a general file shared by all packages that simply invokes fpmake (when converted to a Makefile). </div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
4) Can "fpmake" completely build fpc and all the packages without using "make"?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">In theory yes, Joost has implemented and tested that, but we don't use that. </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div></div>