--- deliantra/server/common/Makefile.am 2006/02/03 07:11:29 1.1 +++ deliantra/server/common/Makefile.am 2007/05/24 00:24:10 1.9 @@ -1,9 +1,6 @@ # # Makefile for crossfire 0.95.0 and beyond # -# This file will eventually be replaced by a configure script. But for -# now, this simple makefile should do the job. -# # Copyright (C) 1992 Frank Tore Johansen # Copyright (C) 2001 Mark Wedel # @@ -26,45 +23,41 @@ noinst_LIBRARIES = libcross.a libcross_a_SOURCES = \ - anim.c \ - arch.c\ - button.c\ - exp.c\ - friend.c\ - glue.c\ - holy.c\ - info.c\ - image.c \ - init.c\ - item.c\ - links.c\ - living.c\ - loader.l\ - logger.c\ - los.c\ - map.c\ - object.c\ - path.c\ - porting.c\ - player.c\ - quest.c\ - re-cmp.c\ - readable.c\ - recipe.c\ - region.c\ - shstr.c\ - time.c\ - treasure.c\ - utils.c + anim.C \ + arch.C\ + button.C\ + exp.C\ + friend.C\ + glue.C\ + holy.C\ + info.C\ + image.C \ + init.C\ + item.C\ + links.C\ + living.C\ + loader.C\ + logger.C\ + los.C\ + map.C\ + object.C\ + path.C\ + porting.C\ + player.C\ + readable.C\ + recipe.C\ + region.C\ + shstr.C\ + time.C\ + treasure.C\ + utils.C\ + micropather.C EXTRA_DIST = README + +MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure + AM_CPPFLAGS = -I$(top_srcdir)/include -DDATADIR=\"$(pkgdatadir)\" -DCONFDIR=\"$(pkgconfdir)\" \ -DLIBDIR=\"$(pkglibdir)\" -DLOCALDIR=\"$(pkgstatedir)\" AM_LFLAGS = -i -proto: - cproto -e -o ../include/libproto.h.bak $(CPPFLAGS) $(AM_CPPFLAGS) \ - `echo $(SOURCES) loader.c " " | $(AWK) -v RS=" " '/.c$$/ { print }'` - sed -e "s/__signed/signed/g" -e "/inline/d" -e "/YY_BUFFER/d" -e "/yy_size_t/d" < ../include/libproto.h.bak > ../include/libproto.h - chmod 644 ../include/libproto.h - rm -f ../include/libproto.h.bak