summaryrefslogtreecommitdiff
path: root/utils/fppkg/Makefile.fpc.fpcmake
blob: bcee54dd61de835d8e2a4969a7b9913bcc832896 (plain)
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
#
#   Makefile.fpc for fppkg
#

[package]
name=fppkg
version=3.0.0

[target]
programs=fppkg

units_linux=pkglnet
units_beos=pkglnet
units_haiku=pkglnet
units_freebsd=pkglnet
units_netbsd=pkglnet
units_openbsd=pkglnet
units_darwin=pkglnet
units_iphonesim=pkglnet
units_solaris=pkglnet
units_win32=pkglnet
units_win64=pkglnet
units_wince=pkglnet

[compiler]
unitdir=lnet
includedir=lnet/sys

[clean]
units=lcommon lcontrolstack levents ltelnet lftp lhttp lhttputil lnet lstrbuffer

[install]
fpcpackage=y

[default]
fpcdir=../..

[require]
packages=fpmkunit fcl-base fcl-xml fcl-process fcl-net paszlib libcurl fppkg
tools=data2inc
packages_darwin=univint
packages_iphonesim=univint

[rules]
.NOTPARALLEL:
ifneq ($(DATA2INC),)
fpmkunitsrc.inc: $(DEFAULT_FPCDIR)/packages/fpmkunit/src/fpmkunit.pp
        $(DATA2INC) -b -s $(DEFAULT_FPCDIR)/packages/fpmkunit/src/fpmkunit.pp fpmkunitsrc.inc fpmkunitsrc
endif

# Don't include the dependency on fpmkunitsrc.inc by default so we can control
# better when we want to update the internal fpmkunitsrc
fppkg$(EXEEXT): $(wildcard pkg*.pp)