-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile.in
More file actions
61 lines (46 loc) · 1.21 KB
/
Makefile.in
File metadata and controls
61 lines (46 loc) · 1.21 KB
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
#
# Main makefile
#
# Please note that the order in which the targets are evaluated
# is important. Don't be tempted to reorder or parallelise
# the makefiles!
#
# Richard Hagen
#
#
# Nothing else should need attention, but there are some things that
# are interesting later on, particularly the rules for making Qu-Prolog
# objects.
#
export QPBIN = @QPHOME@/bin
export QC = qc
export QC_RELEASE = qc
export QCFLAGS =
export BOOTSTRAP.qc = $(QPBIN)/$(QC) $(QCFLAGS)
export COMPILE.qc = $(QPBIN)/qc $(QCFLAGS)
export PROLOG = prolog
.PHONY: all
all: objects
#export PARALLEL = -j 2
.PHONY: objects
objects:
@$(MAKE) -C @QPHOME@/bin $(PARALLEL) all
@$(MAKE) -C @QPHOME@/src $(PARALLEL) all
@$(MAKE) -C @QPHOME@/src $(PARALLEL) install
@$(MAKE) -C @QPHOME@/prolog $(PARALLEL) all
.PHONY: tkICM
tkICM:
@$(MAKE) -C @QPHOME@/src tkICM
.PHONY: xqp
xqp:
cd @QPHOME@/src/xqp;qmake;cd -
cd @QPHOME@/src/xqpdebug;qmake;cd -
@$(MAKE) -C @QPHOME@/src/xqp
@$(MAKE) -C @QPHOME@/src/xqpdebug
/usr/bin/install @XQP@ @QPHOME@/bin
/usr/bin/install @XQPDEBUG@ @QPHOME@/bin
.PHONY: clean
clean:
@$(MAKE) -C @QPHOME@/bin $(PARALLEL) clean
@$(MAKE) -C @QPHOME@/src $(PARALLEL) clean
@$(MAKE) -C @QPHOME@/prolog $(PARALLEL) clean