ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/random_maps/Makefile.am
(Generate patch)

Comparing deliantra/server/random_maps/Makefile.am (file contents):
Revision 1.3 by elmex, Sun Aug 13 17:16:03 2006 UTC vs.
Revision 1.5 by root, Sat Dec 30 18:45:28 2006 UTC

22# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 22# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23# 23#
24# The author can be reached via e-mail to mark@pyramid.com 24# The author can be reached via e-mail to mark@pyramid.com
25 25
26 26
27pkglib_PROGRAMS = random_map 27#pkglib_PROGRAMS = random_map
28 28
29random_map_SOURCES = standalone.C 29#random_map_SOURCES = standalone.C
30 30
31noinst_LIBRARIES = librandom_map.a 31noinst_LIBRARIES = librandom_map.a
32
33reader.C: reader.l
34 flex -Prmap -i reader.l
35 sed '/^#/ s|lex.rmap\.c|reader.c|' lex.rmap.c >reader.C
36 rm -f lex.rmap.c
37 32
38librandom_map_a_SOURCES = random_map.C \ 33librandom_map_a_SOURCES = random_map.C \
39 room_gen_onion.C \ 34 room_gen_onion.C \
40 room_gen_spiral.C \ 35 room_gen_spiral.C \
41 maze_gen.C \ 36 maze_gen.C \
42 reader.C \
43 floor.C \ 37 floor.C \
44 wall.C \ 38 wall.C \
45 monster.C \ 39 monster.C \
46 door.C \ 40 door.C \
47 decor.C \ 41 decor.C \
63AM_CPPFLAGS = -I$(top_srcdir)/include 57AM_CPPFLAGS = -I$(top_srcdir)/include
64 58
65LEX_OUTPUT_ROOT = lex.rmap 59LEX_OUTPUT_ROOT = lex.rmap
66AM_LFLAGS = -Prmap -i 60AM_LFLAGS = -Prmap -i
67 61
68random_map_LDADD = ../common/libcross.a librandom_map.a 62#random_map_LDADD = ../common/libcross.a librandom_map.a
69 63
70proto: 64proto:
71 cproto -e -o rproto.h.bak $(CPPFLAGS) -I. $(AM_CPPFLAGS) \ 65 cproto -e -o rproto.h.bak $(CPPFLAGS) -I. $(AM_CPPFLAGS) \
72 `echo $(librandom_map_a_SOURCES) | $(AWK) -v RS=" " '/.C$$/ { print }'` 66 `echo $(librandom_map_a_SOURCES) | $(AWK) -v RS=" " '/.C$$/ { print }'`
73 sed -e "s/#if __STDC__/#ifdef __STDC__/" -e "s/__signed/signed/g" -e "/__inline/d" -e "/YY_BUFFER/d" < rproto.h.bak >rproto.h 67 sed -e "s/#if __STDC__/#ifdef __STDC__/" -e "s/__signed/signed/g" -e "/__inline/d" -e "/YY_BUFFER/d" < rproto.h.bak >rproto.h

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines