File: Makefile.in

package info (click to toggle)
xconq 7.2.2-2
  • links: PTS
  • area: main
  • in suites: slink
  • size: 8,296 kB
  • ctags: 9,199
  • sloc: ansic: 107,849; sh: 2,108; perl: 2,057; makefile: 1,177; sed: 161; csh: 50; awk: 49; lisp: 39
file content (118 lines) | stat: -rw-r--r-- 2,955 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# Makefile for Xconq tests.
# Copyright (C) 1993-1997 Stanley T. Shebs.

# Xconq is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.

srcdir = .

SHELL = /bin/sh

# Host and target-dependent makefile fragments come in here.
####
# End of host and target-dependent makefile fragments

all:
	@echo "Pick something to test:"
	@echo "cmds-diff   Comparison of commands in doc vs in source"
	@echo "syms-diff   Comparison of GDL symbols in doc vs source"
	@echo "src.uses    References to GDL symbols in source code"
	@echo "lib.uses    References to GDL symbols in library and test games"
	@echo "imf.uses    References to image families in library games"
	@echo "check-lib   Running of each library game module"
	@echo "check-acts  Running of each type of action"
	@echo "check-save  Saving and restoring"
	@echo "check-test  Special-purpose test games"
	@echo "check-dates Consistency of dates everywhere"
	@echo "check-versions Consistency of versions everywhere"

cmds-diff:
	$(srcdir)/cmd-diff.sh $(srcdir)

syms-diff:
	$(srcdir)/sym-diff.sh $(srcdir)

syntax-diff:
	$(srcdir)/syntax-diff.sh $(srcdir)

src.uses:
	$(srcdir)/src-uses.sh $(srcdir) >src.uses

lib.uses:
	$(srcdir)/lib-uses.sh $(srcdir) >lib.uses

imf.uses:
	$(srcdir)/imf-uses.sh $(srcdir) >imf.uses

all.g.uses:	$(srcdir)/all.g
	sed -e 's/;.*//' $(srcdir)/all.g | tr '() ' '\012' | grep -v xxx | sort | uniq >all.g.uses

check:	check-lib check-actions check-save check-test check-ai check-run check-long

check-lib:
	echo Testing library...
	$(srcdir)/test-lib.sh $(srcdir)

check-actions:
	echo Testing actions...
	$(srcdir)/test-acts.sh $(srcdir)

check-save:
	echo Testing save/restore...
	$(srcdir)/test-save.sh $(srcdir)

check-test:
	echo Testing test cases...
	$(srcdir)/test-test.sh $(srcdir)

check-ai:
	echo Testing AI...
	$(srcdir)/test-ai.sh $(srcdir)

check-run:
	echo Testing running...
	$(srcdir)/test-run.sh $(srcdir)

check-long:
	echo Testing long games...
	$(srcdir)/test-long.sh $(srcdir)

check-perf:
	echo Testing performance...
	$(srcdir)/test-perf.sh $(srcdir)

check-sync: syms.diff all.g.uses src.uses lib.uses

check-dates:
	@echo In sources:
	@grep VERSION $(srcdir)/../kernel/version.h
	@echo In documentation:
	@grep " 199[5-9]" $(srcdir)/../doc/*.texi

check-versions:
	@echo In sources:
	@grep VERSION $(srcdir)/../kernel/version.h
	@echo In documentation:
	@grep '@center Version' $(srcdir)/../doc/*.texi
	@grep '@every' $(srcdir)/../doc/*.texi |grep Version

install: all install-only

install-only:

clean:
	rm -f *.log core *.xconq
	rm -f *.sym *.syms *.uses *.diff *.cmds* joined.txt

distclean: clean
	rm -f Makefile config.status

extraclean: distclean
	rm -f *~* .*~*

realclean: distclean

Makefile: Makefile.in $(host_makefile_frag) $(target_makefile_frag)
	$(SHELL) config.status