File: Makefile.am

package info (click to toggle)
crossfire 1.71.0%2Bdfsg1-2
  • links: PTS
  • area: main
  • in suites: buster
  • size: 28,076 kB
  • sloc: ansic: 85,126; sh: 11,978; perl: 2,659; lex: 2,044; makefile: 1,271
file content (37 lines) | stat: -rw-r--r-- 1,069 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
nodist_bin_SCRIPTS = crossloop player_dl.pl
dist_bin_SCRIPTS = crossloop.web
nodist_pkglibexec_SCRIPTS =
dist_pkglibexec_SCRIPTS = mktable.script add_throw.perl metaserver.pl
dist_noinst_SCRIPTS = ad2c.script mktable.script player_dl.html cfmeta-rrd

EXTRA_DIST =
AM_CPPFLAGS = -I$(top_srcdir)/include

CLEANFILES = crossloop

SED = sed

# For some reason, Sun's make fails if you try to use $<
# in the following entries.  Sun's man page does say $<
# is legal.  Easy enough to just replace them with real entries
# however.

crossloop: crossloop.in
	${SED} -e "s|BINDIR|${bindir}|g" -e "s|GZIP|${GZIP}|g" \
		crossloop.in > crossloop

if MAPPER
noinst_PROGRAMS = crossfire-mapper
crossfire_mapper_SOURCES = mapper.c
crossfire_mapper_INCLUDES = -I ../include
crossfire_mapper_DEPENDENCIES = ../common/libcross.a
crossfire_mapper_LDADD = ../common/libcross.a $(GD_LIBS)
$(crossfire_mapper_DEPENDENCIES) :
	for DEP in $(crossfire_mapper_DEPENDENCIES); \
	do \
	  pushd `dirname $${DEP}` >/dev/null; \
	  $(MAKE) `basename $${DEP}`; \
	  popd >/dev/null; \
	done;
endif