File: Makefile

package info (click to toggle)
swi-prolog-packages 5.0.1-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 50,688 kB
  • ctags: 25,904
  • sloc: ansic: 195,096; perl: 91,425; cpp: 7,660; sh: 3,046; makefile: 2,750; yacc: 843; awk: 14; sed: 12
file content (55 lines) | stat: -rw-r--r-- 1,758 bytes parent folder | download
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
################################################################
# Makefile generated by qmakefile/1
################################################################

.SUFFIXES: .pl .qlf

PL=	pl

QLF=	pce.qlf pce_manual.qlf pcedraw.qlf dialog/dialog.qlf \
	emacs/emacs.qlf trace/trace.qlf

all:	checkwd INDEX.pl $(QLF)

clean:
	rm -f $(QLF)

checkwd:	
		@pwd > .pwd%
		@if cmp -s .pwd% .pwd; then rm .pwd%; else mv .pwd% .pwd; fi

pce.qlf:	.pwd pce.pl ../boot/pce_expand.pl ../boot/pce_pl.pl \
		english/pce_messages.pl ../boot/pce_principal.pl \
		../boot/pce_error.pl ../boot/pce_operator.pl \
		../boot/pce_global.pl ../boot/pce_expansion.pl \
		../boot/pce_realise.pl ../boot/pce_autoload.pl \
		../boot/pce_editor.pl ../boot/pce_portray.pl

pce_manual.qlf:	.pwd pce_manual.pl man/util.pl man/p_card.pl man/p_data.pl \
		man/classmap.pl man/v_manual.pl

pcedraw.qlf:	.pwd pcedraw.pl draw/draw.pl draw/gesture.pl draw/shapes.pl \
		draw/canvas.pl draw/align.pl draw/menu.pl draw/config.pl \
		draw/exportpl.pl

dialog/dialog.qlf:	.pwd dialog/dialog.pl dialog/proto.pl \
			dialog/layout.pl dialog/generate.pl \
			dialog/pretty_print.pl dialog/behaviour.pl \
			dialog/meta.pl dialog/load.pl dialog/util.pl

emacs/emacs.qlf:	.pwd emacs/emacs.pl emacs/window.pl emacs/buffer.pl \
			emacs/buffer_menu.pl emacs/server.pl \
			emacs/fundamental_mode.pl emacs/language_mode.pl \
			emacs/outline_mode.pl emacs/application.pl \
			emacs/bookmarks.pl

trace/trace.qlf:	.pwd trace/trace.pl trace/clause.pl trace/util.pl \
			trace/settings.pl trace/break.pl trace/source.pl \
			trace/stack.pl trace/pprint.pl trace/viewterm.pl \
			trace/gui.pl

INDEX.pl:	.
	$(PL) -g "make_library_index('.')" -t halt

.pl.qlf:	
	$(PL) -O -g "qcompile('$*')" -t halt -- -nopce