File: Makefile.in

package info (click to toggle)
swi-prolog 6.6.6-1~bpo70+1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports
  • size: 82,312 kB
  • sloc: ansic: 322,250; perl: 245,822; sh: 6,651; java: 5,254; makefile: 4,423; cpp: 4,153; ruby: 1,594; yacc: 843; xml: 82; sed: 12; sql: 6
file content (88 lines) | stat: -rw-r--r-- 2,084 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
################################################################
# Simple relaying Makefile.  For details, please see src/Makefile.in
#
# See also ./configure
################################################################

BUILDARCH=@BUILDARCH@
CONFIG_OPTIONS=@CONFIG_OPTIONS@

.PHONY:	lite world packages

all:		@TARGET@

install:	install-@TARGET@

################################################################
# Build just the single-threaded Prolog engine
################################################################

lite::
	@cd $(BUILDARCH) && $(MAKE) all

install-lite::
	@cd $(BUILDARCH) && $(MAKE) install

rpm-install::
	@cd $(BUILDARCH) && $(MAKE) $@

check::
	@cd $(BUILDARCH) && $(MAKE) $@
	@if [ -f packages/Makefile ]; then \
	   cd packages && $(MAKE) $@; \
	fi

doc::
	@cd man && $(MAKE) all
	@if [ -f packages/Makefile ]; then \
	   cd packages && $(MAKE) $@; \
	fi

clean::
	@cd $(BUILDARCH) && $(MAKE) $@
	@if [ -f packages/Makefile ]; then \
	   cd packages && $(MAKE) clean; \
	fi

distclean::
	@if [ -f packages/Makefile ]; then \
	    cd packages && $(MAKE) distclean; \
	fi
	@if [ -f $(BUILDARCH)/Makefile ]; then \
	    cd $(BUILDARCH) && $(MAKE) $@; \
        fi
	rm -f configure.out make.out
	rm -f Makefile
	-find . -name '*.qlf' -exec rm '{}' \;

################################################################
# Build the whole default set of tools
################################################################

world:	packages
ln-world: world

packages: lite
	cd packages && ./configure $(CONFIG_OPTIONS)
	cd packages && $(MAKE)

install-world::
	cd $(BUILDARCH) && $(MAKE) install
	cd packages && $(MAKE) install
	@if [ -d man/Manual ]; then \
	    cd packages && $(MAKE) html-install; \
	else \
	    echo "WARNING: No documentation.  See README.doc"; \
	fi

install-ln-world::
	cd $(BUILDARCH) && $(MAKE) ln-install
	cd packages && $(MAKE) ln-install
	@if [ -d man/Manual ]; then \
	    cd packages && $(MAKE) html-install; \
	else \
	    echo "WARNING: No documentation.  See README.doc"; \
	fi

export::
	@cd $(BUILDARCH) && $(MAKE) $@