1# File generated automatically by Lazarus Package Manager 2# 3# Makefile.fpc for cairocanvas_pkg 0.0 4# 5# This file was generated on 14-7-20 6 7[package] 8name=cairocanvas_pkg 9version=0.0 10 11[compiler] 12unittargetdir=lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) 13unitdir=../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../../lcl/units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) . 14options= -MObjFPC -Scghi -O1 -g -gl -l -vewnhibq -dLCL -dLCL$(LCL_PLATFORM) $(DBG_OPTIONS) 15 16[target] 17units=cairocanvas_pkg.pas 18 19[clean] 20files=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) \ 21 $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) \ 22 $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) \ 23 $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) \ 24 $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) \ 25 $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) \ 26 $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 27 28[prerules] 29# LCL Platform 30ifndef LCL_PLATFORM 31ifeq ($(OS_TARGET),win32) 32LCL_PLATFORM=win32 33else 34ifeq ($(OS_TARGET),win64) 35LCL_PLATFORM=win32 36else 37ifeq ($(OS_TARGET),darwin) 38LCL_PLATFORM=cocoa 39else 40LCL_PLATFORM=gtk2 41endif 42endif 43endif 44endif 45export LCL_PLATFORM 46 47DBG_OPTIONS= 48ifeq ($(OS_TARGET),darwin) 49DBG_OPTIONS=-gw 50endif 51 52[rules] 53.PHONY: cleartarget compiled all 54 55cleartarget: 56 -$(DEL) $(COMPILER_UNITTARGETDIR)/cairocanvas_pkg$(PPUEXT) 57 58compiled: 59 $(CPPROG) -f Makefile.compiled $(COMPILER_UNITTARGETDIR)/cairocanvas_pkg.compiled 60 61all: cleartarget $(COMPILER_UNITTARGETDIR) cairocanvas_pkg$(PPUEXT) compiled 62 63distclean: clean 64 ${DELTREE} lib/* 65