PageRenderTime 42ms CodeModel.GetById 32ms app.highlight 7ms RepoModel.GetById 1ms app.codeStats 0ms

/components/tachart/Makefile.fpc

http://github.com/graemeg/lazarus
Unknown | 63 lines | 53 code | 10 blank | 0 comment | 0 complexity | 0fa3ade845fd14e08e774590abcde54e MD5 | raw file
 1#   File generated automatically by Lazarus Package Manager
 2#
 3#   Makefile.fpc for TAChartLazarusPkg 1.0
 4#
 5#   This file was generated on 1-10-15
 6
 7[package]
 8name=tachartlazaruspkg
 9version=1.0
10
11[compiler]
12unittargetdir=lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
13unitdir=numlib_fix editors ../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../../lcl/units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) ../lazcontrols/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) ../ideintf/units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) .
14options= -MObjFPC -Scgi -Cr -O1 -g -gl -l -vewnhibq -dLCL -dLCL$(LCL_PLATFORM) $(DBG_OPTIONS)
15
16[target]
17units=tachartlazaruspkg.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[prerules]
28# LCL Platform
29ifndef LCL_PLATFORM
30ifeq ($(OS_TARGET),win32)
31LCL_PLATFORM=win32
32else
33ifeq ($(OS_TARGET),win64)
34LCL_PLATFORM=win32
35else
36ifeq ($(OS_TARGET),darwin)
37LCL_PLATFORM=carbon
38else
39LCL_PLATFORM=gtk2
40endif
41endif
42endif
43endif
44export LCL_PLATFORM
45
46DBG_OPTIONS=
47ifeq ($(OS_TARGET),darwin)
48DBG_OPTIONS=-gw
49endif
50
51[rules]
52.PHONY: cleartarget compiled all
53
54cleartarget:
55        -$(DEL) $(COMPILER_UNITTARGETDIR)/tachartlazaruspkg$(PPUEXT)
56
57compiled:
58        $(CPPROG) -f Makefile.compiled $(COMPILER_UNITTARGETDIR)/TAChartLazarusPkg.compiled
59
60all: cleartarget $(COMPILER_UNITTARGETDIR) tachartlazaruspkg$(PPUEXT) compiled
61
62distclean: clean
63        ${DELTREE} lib/*