summaryrefslogtreecommitdiff
path: root/fpcsrc/packages/fcl-db/src/dbase/Makefile.fpc
blob: 097ea38bdf2547d1517a6a540219ba6538a9abad (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
#
# Makefile.fpc for DBase FCL db units
#

[package]
main=fcl-db

[target]
units=dbf
examples=testdbf

[require]
packages=fcl-base

[compiler]
options=-S2 -Sh

[default]
fpcdir=../../../..

[install]
fpcpackage=y
units=dbf_collate dbf_common dbf_cursor dbf_dbffile dbf_fields \
      dbf_idxcur dbf_idxfile dbf_lang dbf_memo dbf_parser dbf_pgfile \
      dbf_prscore dbf_prsdef dbf_prssupp dbf_str

[clean]
units=dbf_collate dbf_common dbf_cursor dbf_dbffile dbf_fields \
      dbf_idxcur dbf_idxfile dbf_lang dbf_memo dbf_parser dbf_pgfile \
      dbf_prscore dbf_prsdef dbf_prssupp dbf_str

[prerules]
# dbf_Wtil is needed on all targets except windows
ifneq ($(OS_TARGET),win32)
ifneq ($(OS_TARGET),win64)
ifneq ($(OS_TARGET),wince)

INSTALL_UNITS+=dbf_wtil
CLEAN_UNITS+=dbf_wtil

endif
endif
endif

[rules]
.NOTPARALLEL: