[lazarus] Makefile updates

Luis R. Hilario l_hilario at yahoo.com
Mon Jan 28 10:58:02 EST 2002


Mattias Gaertner wrote:
> 
> On Sun, 27 Jan 2002 22:57:42 +0100
> Peter Vreman <peter at freepascal.org> wrote:
> 
> > New fpcmake things:
> >
> > The 'makefile' target is removed from all Makefiles. This is required
> > because make has an internal rule to update the Makefile, this rule can't
> > be disabled.
> >
> > Running fpcmake without arguments will process the current Makefile.fpc and
> > create a Makefile for the current target only. This can be overruled by the
> > -T to specify the targets you want to build the Makefile for
> >
> > New option -r to process directories in the [target] section recursively.
> > This means running "fpcmake -r" in the top dir of lazarus will build all
> > Makefiles
> >
> > The default LCL platform for win32 is changed to win32
> >
> > To build the generic Makefile that supports all platforms you need the FPC
> > source tree and then run "fpcmake -r -Tall"
> 
> I updated my fpc sources, but building fails with:
> 
> gtkglarea.pp(34,15) Fatal: Can't find unit GL
> 
> So, I took my old fpcmake and fixed the Makefiles. It compiles again under linux.
> Can someone check, if it compiles under win32 and bsd?
> 

If you means Lazarus.

Under Linux. It compiles and runs well (but with the problem of the
"Hints").

Under Windows. Not it compiles.

c:/pp/bin/win32/make.exe -C lcl all
make.exe[1]: Entering directory `c:/pp/lazarus/lcl'
C:/PP/BIN/WIN32/rm.exe -f units/allunits.ppw
C:/PP/BIN/WIN32/ppc386.exe -dSUPPORTS_RESOURCES -gl -Fulcl/units
-Fulcl/units/wi
n32 -Fudesigner -Fudebugger -Fucomponents/units -Fu.
-Fuc:/pp/units/win32/rtl -F
uc:/pp/units/win32/paszlib -Fuc:/pp/units/win32/fcl
-Fuc:/pp/units/win32/mysql -
Fiinclude -Fiinclude/win32 -FE. -di386 -gl -Fuinterfaces/abstract -Fu.
-Fuc:/pp/
units/win32/rtl -Fuc:/pp/units/win32/paszlib -Fuc:/pp/units/win32/fcl
-Fuc:/pp/u
nits/win32/mysql -Fuc:/pp/units/win32/opengl -Fuc:/pp/units/win32/gtk
-Fiinclude
 -FUunits -di386 allunits.pp
Free Pascal Compiler version 1.0.5 [2001/12/19] for i386
Copyright (c) 1993-2000 by Florian Klaempfl
Fatal: No source file name in command line
make.exe[1]: *** [allunits.ppw] Error 1
make.exe[1]: Leaving directory `c:/pp/lazarus/lcl'
make.exe: *** [lcl] Error 2

-- 
 |------------------------------|
| Luis R. Hilario                |
| http://www.luis-digital.8m.com |
 |------------------------------|

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com






More information about the Lazarus mailing list