File: Makefile.fpc

package info (click to toggle)
lazarus 2.0.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 214,460 kB
  • sloc: pascal: 1,862,622; xml: 265,709; cpp: 56,595; sh: 3,008; java: 609; makefile: 535; perl: 297; sql: 222; ansic: 137
file content (58 lines) | stat: -rw-r--r-- 1,668 bytes parent folder | download | duplicates (2)
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
#   $Id: Makefile.fpc 58118 2018-06-04 09:14:21Z mattias $
#
#   Makefile.fpc for Lazarus for Free Pascal
#

[target]
dirs=

[clean]
files=$(wildcard ./units/*$(OEXT)) \
      $(wildcard ./units/*$(PPUEXT)) \
      $(wildcard ./units/*$(RSTEXT)) \
      $(wildcard ./units/$(CPU_TARGET)-$(OS_TARGET)/*$(OEXT)) \
      $(wildcard ./units/$(CPU_TARGET)-$(OS_TARGET)/*$(PPUEXT)) \
      $(wildcard ./units/$(CPU_TARGET)-$(OS_TARGET)/*$(RSTEXT)) \
      $(wildcard ./custom/*$(OEXT)) \
      $(wildcard ./custom/*$(PPUEXT)) \
      $(wildcard ./custom/*$(RSTEXT))

[rules]
.PHONY: help clean cleanall base bigide all

#-----------------------------------------------------------------------------
help:
	@$(ECHO)
	@$(ECHO) " Targets"
	@$(ECHO) "   all         same as base + bigide"
	@$(ECHO) "   clean       deletes output files of base and bigide components"
	@$(ECHO) "   base        build cmdlinedebuggerbase"
	@$(ECHO) "   bigide      build the extra packages for the bigide"
	@$(ECHO) "               requires base"

#-----------------------------------------------------------------------------
# build base packages
base:
	$(MAKE) -C cmdlinedebuggerbase

#-----------------------------------------------------------------------------
# build the extra packages needed by the bigide
bigide:
	$(MAKE) -C cmdlinedebuggerbase
	$(MAKE) -C lazdebuggerlldb
	$(MAKE) -C lazdebuggerfplldb

all: base bigide

clean:
	$(MAKE) -C cmdlinedebuggerbase clean
	$(MAKE) -C lazdebuggerlldb clean
	$(MAKE) -C lazdebuggerfplldb clean

cleanall: clean

distclean:
	$(MAKE) -C cmdlinedebuggerbase distclean
	$(MAKE) -C lazdebuggerlldb distclean
	$(MAKE) -C lazdebuggerfplldb distclean