# $Id$ # # Makefile.fpc for Lazarus for Free Pascal # [package] name=lcl version=0.9b [target] dirs=interfaces units=alllclunits # DO NOT ADD alllclunits to implicitunits. It is just a dummy unit used for compiling. implicitunits= \ actnlist \ arrow \ avglvltree \ buttons \ calendar \ chart \ checklst \ clipbrd \ clistbox \ comctrls \ commctrl \ controls \ dbactns \ dbctrls \ dbgrids \ dialogs \ dynamicarray \ dynhasharray \ editbtn \ extctrls \ extdlgs \ extendedstrings \ extgraphics \ filectrl \ forms \ fpcadds \ graphics \ graphmath \ graphtype \ grids \ imglist \ inipropstorage \ interfacebase \ lazlinkedlist \ lclintf \ lclmemmanager \ lclproc \ lclrescache \ lclstrconsts \ lcltype \ lmessages \ lresources \ maskedit \ menus \ pairsplitter \ postscriptprinter \ printers \ propertystorage \ spin \ stdactns \ stdctrls \ stringhashlist \ textstrings \ toolwin \ utrace \ xmlpropstorage rsts=lclstrconsts [require] packages=fcl [prerules] ifneq ($(OS_TARGET),win32) NONWIN32=nonwin32 else ifneq ($(findstring 1.0.,$(FPC_VERSION)),) NONWIN32=nonwin32 endif endif [compiler] options=-gl unittargetdir=units/$(CPU_TARGET)/$(OS_TARGET) unitdir=. $(NONWIN32) widgetset includedir=include [install] #buildunit=alllclunits [clean] files=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) \ $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) \ $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) \ $(wildcard ./units/*$(OEXT)) $(wildcard ./units/*$(PPUEXT)) $(wildcard ./units/*$(RSTEXT)) \ $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) [default] lcldir=. [rules] .PHONY: cleartarget all cleartarget: -$(DEL) $(COMPILER_UNITTARGETDIR)/alllclunits$(PPUEXT) all: cleartarget alllclunits$(PPUEXT) $(TARGET_DIRS)