File: Makefile.am

package info (click to toggle)
qstat 2.17-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,220 kB
  • sloc: ansic: 24,706; makefile: 86; perl: 78; sh: 62
file content (83 lines) | stat: -rw-r--r-- 1,749 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
SUBDIRS = template info

CFLAGS = -Dsysconfdir=\"$(sysconfdir)\" @CFLAGS@

.PHONY: $(builddir)/.compiler_flags
$(builddir)/.compiler_flags:
	echo '$(CFLAGS)' | cmp -s - $@ || echo '$(CFLAGS)' > $@

.PHONY: $(builddir)/.version
$(builddir)/.version:
	ver=$$($(srcdir)/scripts/version.sh); \
	echo $$ver | cmp -s - $@ || echo $$ver > $@

$(builddir)/version.h: $(builddir)/.version $(srcdir)/version.h.tmpl
	ver=$$(cat $<); \
	file=$$(sed "s/CHANGEME/$$ver/g" $(srcdir)/version.h.tmpl); \
	echo "$$file" | cmp -s - $@ || echo "$$file" > $@

clean-local:
	-rm -f $(builddir)/.compiler_flags $(builddir)/.version $(builddir)/version.h

distclean-local: clean-local

BUILT_SOURCES = \
	.compiler_flags \
	.version \
	version.h

bin_PROGRAMS = qstat

qstat_DEPENDENCIES = \
	$(builddir)/.compiler_flags

qstat_SOURCES = \
	version.h.tmpl \
	version.h \
	xform.c xform.h \
	config.c config.h \
	debug.c debug.h \
	utils.c utils.h \
	hcache.c \
	md5.c md5.h \
	qserver.c qserver.h \
	qstat.c qstat.h \
	template.c \
	display_json.c display_json.h \
	a2s.c a2s.h \
	packet_manip.c packet_manip.h \
	ut2004.c ut2004.h \
	doom3.c doom3.h \
	gps.c gps.h \
	gs2.c gs2.h \
	gs3.c gs3.h \
	ts2.c ts2.h \
	tm.c tm.h \
	haze.c haze.h \
	ottd.c ottd.h \
	wic.c wic.h \
	fl.c fl.h \
	tee.c tee.h \
	cube2.c cube2.h \
	ts3.c ts3.h \
	bfbc2.c bfbc2.h \
	ventrilo.c ventrilo.h \
	mumble.c mumble.h \
	terraria.c terraria.h \
	crysis.c crysis.h \
	dirtybomb.c dirtybomb.h \
	starmade.c starmade.h \
	farmsim.c farmsim.h \
	ksp.c ksp.h \
	tf.c tf.h \
	armyops.c armyops.h

dist_configfiles_DATA = qstat.cfg
configfilesdir = $(sysconfdir)

EXTRA_DIST = CHANGES.txt COMPILE.md LICENSE.txt \
	Makefile.noauto \
	ChangeLog \
	qstatdoc.html \
	contrib.cfg \
	scripts/version.sh