mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-26 16:33:46 +02:00
95 lines
2.6 KiB
Makefile
95 lines
2.6 KiB
Makefile
# $Id$
|
|
#
|
|
# Makefile.fpc for Lazarus for Free Pascal
|
|
#
|
|
|
|
[target]
|
|
dirs=
|
|
|
|
[clean]
|
|
files=$(wildcard ./units/*$(OEXT)) \
|
|
$(wildcard ./units/*$(PPUEXT)) \
|
|
$(wildcard ./units/*$(RSTEXT)) \
|
|
$(wildcard ./units/$(CPU_TARGET)-$(OS_TARGET)/*$(OEXT)) \
|
|
$(wildcard ./units/$(CPU_TARGET)-$(OS_TARGET)/*$(PPUEXT)) \
|
|
$(wildcard ./units/$(CPU_TARGET)-$(OS_TARGET)/*$(RSTEXT)) \
|
|
$(wildcard ./custom/*$(OEXT)) \
|
|
$(wildcard ./custom/*$(PPUEXT)) \
|
|
$(wildcard ./custom/*$(RSTEXT))
|
|
|
|
[rules]
|
|
.PHONY: help clean cleanall base bigide all
|
|
|
|
#-----------------------------------------------------------------------------
|
|
help:
|
|
@$(ECHO)
|
|
@$(ECHO) " Targets"
|
|
@$(ECHO) " all build base and bigide components"
|
|
@$(ECHO) " clean deletes files that 'all' creates"
|
|
@$(ECHO) " base build synedit and lazcontrols"
|
|
@$(ECHO) " bigide build the extra packages for the bigide"
|
|
|
|
#-----------------------------------------------------------------------------
|
|
# build synedit and lazcontrols, needed by the minimum IDE
|
|
# lazutils is needed by the LCL, do not build it again
|
|
# (otherwise it will alter the date of lazutils.compiled)
|
|
# codetools is built when building lazbuild, do not build it again
|
|
base:
|
|
$(MAKE) -C synedit
|
|
$(MAKE) -C lazcontrols
|
|
|
|
#-----------------------------------------------------------------------------
|
|
# build the extra packages needed by the bigide
|
|
bigide:
|
|
$(MAKE) -C rtticontrols
|
|
$(MAKE) -C printers
|
|
$(MAKE) -C printers/design
|
|
$(MAKE) -C turbopower_ipro
|
|
$(MAKE) -C turbopower_ipro/design
|
|
$(MAKE) -C fpcunit
|
|
$(MAKE) -C fpcunit/ide
|
|
$(MAKE) -C projecttemplates
|
|
$(MAKE) -C leakview
|
|
$(MAKE) -C memds
|
|
$(MAKE) -C sdf
|
|
$(MAKE) -C tachart
|
|
$(MAKE) -C todolist
|
|
$(MAKE) -C jcf2/IdePlugin/lazarus
|
|
$(MAKE) -C chmhelp/packages/help
|
|
$(MAKE) -C chmhelp/packages/idehelp
|
|
$(MAKE) -C instantfpc
|
|
$(MAKE) -C externhelp
|
|
$(MAKE) -C tdbf
|
|
$(MAKE) -C sqldb
|
|
|
|
all: base bigide
|
|
|
|
cleanall:
|
|
$(MAKE) -C lazutils clean
|
|
$(MAKE) -C codetools clean
|
|
$(MAKE) -C synedit clean
|
|
$(MAKE) -C lazcontrols clean
|
|
$(MAKE) -C rtticontrols clean
|
|
$(MAKE) -C printers clean
|
|
$(MAKE) -C printers/design clean
|
|
$(MAKE) -C turbopower_ipro clean
|
|
$(MAKE) -C turbopower_ipro/design clean
|
|
$(MAKE) -C fpcunit clean
|
|
$(MAKE) -C fpcunit/ide clean
|
|
$(MAKE) -C projecttemplates clean
|
|
$(MAKE) -C leakview clean
|
|
$(MAKE) -C memds clean
|
|
$(MAKE) -C sdf clean
|
|
$(MAKE) -C tachart clean
|
|
$(MAKE) -C todolist clean
|
|
$(MAKE) -C jcf2/IdePlugin/lazarus clean
|
|
$(MAKE) -C chmhelp/packages/help clean
|
|
$(MAKE) -C chmhelp/packages/idehelp clean
|
|
$(MAKE) -C instantfpc clean
|
|
$(MAKE) -C externhelp clean
|
|
$(MAKE) -C tdbf clean
|
|
$(MAKE) -C sqldb clean
|
|
|
|
clean: cleanall
|
|
|