PageRenderTime 33ms CodeModel.GetById 18ms app.highlight 11ms RepoModel.GetById 1ms app.codeStats 0ms

/components/printers/Makefile.fpc

http://github.com/graemeg/lazarus
Unknown | 64 lines | 54 code | 10 blank | 0 comment | 0 complexity | 68f36b50ae35d481fd0a8260e4aa4bf4 MD5 | raw file
 1#   File generated automatically by Lazarus Package Manager
 2#
 3#   Makefile.fpc for Printer4Lazarus 0.5
 4#
 5#   This file was generated on 1-10-15
 6
 7[package]
 8name=printer4lazarus
 9version=0.5
10
11[compiler]
12unittargetdir=lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
13unitdir=unix win32 carbon qt cocoa ../../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) ../cairocanvas/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) .
14includedir=unix win32 carbon qt cocoa
15options= -MObjFPC -Scgi -O1 -g -gl -l -vewnhibq -dLCL -dLCL$(LCL_PLATFORM) -dUseCache -dNativePrint -dUSEUNICODE $(DBG_OPTIONS)
16
17[target]
18units=printer4lazarus.pas
19
20[clean]
21files=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) \
22      $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) \
23      $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) \
24      $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) \
25      $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) \
26      $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) \
27      $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
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=carbon
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)/printer4lazarus$(PPUEXT)
57
58compiled:
59        $(CPPROG) -f Makefile.compiled $(COMPILER_UNITTARGETDIR)/Printer4Lazarus.compiled
60
61all: cleartarget $(COMPILER_UNITTARGETDIR) printer4lazarus$(PPUEXT) compiled
62
63distclean: clean
64        ${DELTREE} lib/*