| 1 |
noinst_HEADERS = \ |
| 2 |
commands.h libproto.h sounds.h attack.h config.h \ |
| 3 |
living.h party.h output_file.h \ |
| 4 |
player.h define.h dialog.h loader.h \ |
| 5 |
race.h material.h spells.h face.h logger.h \ |
| 6 |
re-cmp.h sproto.h artifact.h map.h recipe.h \ |
| 7 |
treasure.h global.h path.h shstr.h stringbuffer.h \ |
| 8 |
tod.h god.h newserver.h xdir.h book.h \ |
| 9 |
object.h skills.h sockproto.h plugin.h \ |
| 10 |
timers.h typesproto.h ob_methods.h ob_types.h svnversion.h \ |
| 11 |
version.h shared/newclient.h account_char.h \ |
| 12 |
image.h metaserver2.h \ |
| 13 |
random_maps/expand2x.h \ |
| 14 |
random_maps/maze_gen.h \ |
| 15 |
random_maps/random_map.h \ |
| 16 |
random_maps/room_gen.h \ |
| 17 |
random_maps/rproto.h \ |
| 18 |
compat.h \ |
| 19 |
shop.h \ |
| 20 |
server.h |
| 21 |
|
| 22 |
BUILT_SOURCES = svnversion.h |
| 23 |
|
| 24 |
CLEANFILES = svnversion.h |
| 25 |
|
| 26 |
svnversion.h: FORCE |
| 27 |
OUTPUT_DATA='/* Auto-generated at build time. */'; \ |
| 28 |
if [ "X`echo -n`" = "X-n" ]; then \ |
| 29 |
echo_n() { echo $${1+"$$@"}"\c"; } \ |
| 30 |
else \ |
| 31 |
echo_n() { echo -n $${1+"$$@"}; } \ |
| 32 |
fi; \ |
| 33 |
if test -n "$(SVNVERSION)" -a -d "$(top_srcdir)/.svn"; \ |
| 34 |
then OUTPUT_DATA=`echo "$$OUTPUT_DATA"; echo_n '#define SVN_REV "'; $(SVNVERSION) -n "$(top_srcdir)"`'"'; \ |
| 35 |
else OUTPUT_DATA=`echo "$$OUTPUT_DATA"; echo '#define SVN_REV "unknown"'`; \ |
| 36 |
fi; \ |
| 37 |
if test ! -e svnversion.h; then \ |
| 38 |
echo "$$OUTPUT_DATA" > svnversion.h; \ |
| 39 |
elif test "$$OUTPUT_DATA" != "`cat svnversion.h`"; then \ |
| 40 |
echo "$$OUTPUT_DATA" > svnversion.h; \ |
| 41 |
fi |
| 42 |
|
| 43 |
FORCE: |
| 44 |
|