File: Makefile.fpc

package info (click to toggle)
lazarus 0.9.28.2-12
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 93,096 kB
  • ctags: 89,312
  • sloc: pascal: 820,189; xml: 202,194; makefile: 110,323; sh: 2,460; perl: 395; sql: 174; ansic: 133
file content (103 lines) | stat: -rw-r--r-- 1,720 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
#
#   Makefile.fpc for LCL Examples for Free Pascal
#

[package]
name=lazarus-examples
version=0.9b

[target]
units=hello \
  bitbutton \
  checkbox \
  combobox \
  comdialogs \
  edittest \
  groupbox \
  groupboxnested \
  listboxtest \
  listviewtest \
  loadpicture \
  memotest \
  messagedialogs \
  notebk \
  notebooktest \
  progressbar \
  scrollbar \
  speedtest \
  synedit1 \
  taborder \
  testall \
  toolbar \
  trackbar

[require]
libc=y
packages=regexpr

[clean]
files=$(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) \
  $(wildcard units/$(CPU_TARGET)-$(OS_TARGET)/*$(OEXT)) \
  $(wildcard units/$(CPU_TARGET)-$(OS_TARGET)/*$(PPUEXT)) \
  $(wildcard trayicon/*$(OEXT)) $(wildcard trayicon/*$(PPUEXT)) \
  hello \
  bitbutton \
  checkbox \
  combobox \
  comdialogs \
  edittest \
  groupbox \
  groupboxnested \
  listboxtest \
  listviewtest \
  loadpicture \
  memotest \
  messagedialogs \
  notebk \
  notebooktest \
  progressbar \
  scrollbar \
  speedtest \
  synedit1 \
  taborder \
  testall \
  toolbar \
  trackbar

[default]
            
[compiler]
options=-gl  
unitdir=../lcl/units/$(CPU_TARGET)-$(OS_TARGET) \
        ../lcl/units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
        ../components/synedit/units/$(CPU_TARGET)-$(OS_TARGET) \
        ../components/codetools/units/$(CPU_TARGET)-$(OS_TARGET) \
        .
units=allexamples


[prerules]
ifndef LCL_PLATFORM
ifneq ($(findstring $(OS_TARGET),win32 win64),)
LCL_PLATFORM=win32
else
ifeq ($(OS_TARGET),wince)
LCL_PLATFORM=wince
else
ifeq ($(OS_TARGET),darwin)
LCL_PLATFORM=carbon
else
LCL_PLATFORM=gtk2
endif
endif
endif
export LCL_PLATFORM
endif

#
# apptype gui
ifeq ($(OS_TARGET),win32)
LAZARUS_OPT+= -WG
endif

cleanall: clean