lazarus/tools/Makefile.fpc
2007-10-17 10:00:05 +00:00

55 lines
992 B
Makefile

# $Id$
#
# Makefile.fpc for Lazarus for Free Pascal
#
[package]
name=lazarus-tools
version=0.9b
[target]
dirs=apiwizz
programs=lazres svn2revisioninc updatepofiles lrstolfm
[require]
libc=y
packages=rtl
[compiler]
options=-gl $(LAZARUS_LIBPATHS)
unitdir=. $(LAZDIR)/lcl/units/$(CPU_TARGET)-$(OS_TARGET) \
$(LAZDIR)/lcl/units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
unittargetdir=.
targetdir=.
[prerules]
LAZDIR=..
# LCL Platform
ifndef LCL_PLATFORM
ifeq ($(OS_TARGET),win32)
LCL_PLATFORM=win32
else
LCL_PLATFORM=gtk
endif
endif
export LCL_PLATFORM
ifeq ($(OS_TARGET),darwin)
LAZARUS_LIBPATHS=-Fl/usr/X11R6/lib -Fl/sw/lib
endif
[rules]
.PHONY: all
all: apiwizz_all
echo $(LAZARUS_LIBPATHS)
$(MAKE) --assume-new=lazres.pp lazres$(EXEEXT)
$(MAKE) --assume-new=svn2revisioninc.pas svn2revisioninc$(EXEEXT)
$(MAKE) --assume-new=updatepofiles.pas updatepofiles$(EXEEXT)
$(MAKE) --assume-new=lrstolfm.lpr lrstolfm$(EXEEXT)
# end.