File: Makefile.am

package info (click to toggle)
crossfire 1.75.0-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 24,168 kB
  • sloc: ansic: 83,169; sh: 4,659; perl: 1,736; lex: 1,443; makefile: 1,199; python: 43
file content (44 lines) | stat: -rw-r--r-- 1,555 bytes parent folder | download | duplicates (4)
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
noinst_HEADERS = \
commands.h     libproto.h     sounds.h	     attack.h       config.h \
living.h       party.h        output_file.h  \
player.h       define.h       dialog.h       loader.h \
race.h         material.h     spells.h       face.h         logger.h \
re-cmp.h       sproto.h       artifact.h     map.h          recipe.h \
treasure.h     global.h       path.h         shstr.h        stringbuffer.h \
tod.h          god.h          newserver.h    xdir.h         book.h \
object.h       skills.h	    sockproto.h     plugin.h \
timers.h       typesproto.h   ob_methods.h   ob_types.h     svnversion.h \
version.h      shared/newclient.h            account_char.h \
image.h		  metaserver2.h \
random_maps/expand2x.h \
random_maps/maze_gen.h \
random_maps/random_map.h \
random_maps/room_gen.h \
random_maps/rproto.h \
compat.h \
shop.h \
server.h

BUILT_SOURCES = svnversion.h

CLEANFILES = svnversion.h

svnversion.h: FORCE
	OUTPUT_DATA='/* Auto-generated at build time. */'; \
	if [ "X`echo -n`" = "X-n" ]; then \
		echo_n() { echo $${1+"$$@"}"\c"; } \
	else \
		echo_n() { echo -n $${1+"$$@"}; } \
	fi; \
	if test -n "$(SVNVERSION)" -a -d "$(top_srcdir)/.svn"; \
	then OUTPUT_DATA=`echo "$$OUTPUT_DATA"; echo_n '#define SVN_REV "'; $(SVNVERSION) -n "$(top_srcdir)"`'"'; \
	else OUTPUT_DATA=`echo "$$OUTPUT_DATA"; echo '#define SVN_REV "unknown"'`; \
	fi; \
	if test ! -e svnversion.h; then \
		echo "$$OUTPUT_DATA" > svnversion.h; \
	elif test "$$OUTPUT_DATA" != "`cat svnversion.h`"; then \
		echo "$$OUTPUT_DATA" > svnversion.h; \
	fi

FORCE: