mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-13 03:49:45 +02:00
49 lines
737 B
Makefile
49 lines
737 B
Makefile
# $Id$
|
|
#
|
|
# Makefile.fpc for Lazarus for Free Pascal
|
|
#
|
|
|
|
[package]
|
|
name=lazarus-tools
|
|
version=0.8a
|
|
|
|
[target]
|
|
dirs=apiwizz
|
|
programs=lazres
|
|
|
|
[require]
|
|
packages=rtl fcl
|
|
|
|
[compiler]
|
|
options=-gl
|
|
unitdir=. $(LAZDIR)/lcl/units $(LAZDIR)/components/units \
|
|
$(LAZDIR)/lcl/units/$(LCL_PLATFORM)/
|
|
targetdir=.
|
|
|
|
[prerules]
|
|
LAZDIR=..
|
|
|
|
[prerules]
|
|
# LCL Platform
|
|
ifndef LCL_PLATFORM
|
|
ifeq ($(OS_TARGET),win32)
|
|
LCL_PLATFORM=win32
|
|
else
|
|
LCL_PLATFORM=gtk
|
|
endif
|
|
endif
|
|
export LCL_PLATFORM
|
|
|
|
|
|
[rules]
|
|
.PHONY: all makefile makefiles
|
|
|
|
all: apiwizz_all
|
|
$(MAKE) --assume-new=lazres.pp lazres$(EXEEXT)
|
|
$(MAKE) --assume-new=updatepofiles.pas updatepofiles$(EXEEXT)
|
|
|
|
makefile: Makefile.fpc
|
|
-$(FPCMAKE) -w
|
|
|
|
makefiles: makefile
|