summaryrefslogtreecommitdiff
path: root/installer/Makefile.fpc
blob: c61f04a15fe8a02a2ead36f0cbea14675be513fe (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
#
#   Makefile.fpc for Free Pascal installer
#

[package]
name=installer
version=2.0.0

[target]
programs_go32v2=install writeidx
programs_win32=install writeidx
programs_os2=install writeidx
programs_linux=installer writeidx

[clean]
units=scroll insthelp
files_linux=installer.pas

[require]
packages=fv unzip

[compiler]
unitdir=../ide

[install]
fpcpackage=y

[default]
fpcdir=..


[rules]
.NOTPARALLEL:

#
# FVision or old FV detection
#
ifneq ($(wildcard $(UNITDIR_FV)/fvconsts$(PPUEXT)),)
override COMPILER+=-dFVISION
endif

installer.pas: install.pas
        $(COPY) install.pas installer.pas

install$(EXEEXT) : install.pas scroll.pas

installer$(EXEEXT) : installer.pas scroll.pas

writeidx$(EXEEXT) : writeidx.pas insthelp.pas