Wayne Sherman via fpc-devel <fpc-devel@lists.freepascal.org> schrieb am Di., 3. Jan. 2023, 07:36:
> Each package directory (./fpc-source/packages/some-package/) typically > has these files: > fpmake.pp (where does this come from?) > Makefile (this is generated by FPCMake?) > Makefile.fpc (config file for FPCMake to create Makefile?) > > Some package directories also have: > Makefile.fpc.fpcmake (?) > > Some questions please: > 1) How do I generate the fpmake.pp file? Or is it created by manual > coding? > This is created manually and is *the* source for how to build a package. 2) Does "Makefile" automatically get generated during a build or do I > have to manually run FPCMake? > You need to run fpcmake manually. 3) What is "Makefile.fpc.fpcmake" used for and how is it created? > 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). 4) Can "fpmake" completely build fpc and all the packages without using > "make"? > In theory yes, Joost has implemented and tested that, but we don't use that. Regards, Sven
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel