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.2 by pippijn, Sun Jul 2 15:05:16 2006 UTC vs.
Revision 1.3 by elmex, Sun Aug 13 17:16:03 2006 UTC

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 27pkglib_PROGRAMS = random_map
28 28
29random_map_SOURCES = standalone.c 29random_map_SOURCES = standalone.C
30 30
31noinst_LIBRARIES = librandom_map.a 31noinst_LIBRARIES = librandom_map.a
32 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
33librandom_map_a_SOURCES = random_map.c \ 38librandom_map_a_SOURCES = random_map.C \
34 room_gen_onion.c \ 39 room_gen_onion.C \
35 room_gen_spiral.c \ 40 room_gen_spiral.C \
36 maze_gen.c \ 41 maze_gen.C \
37 reader.l \ 42 reader.C \
38 floor.c \ 43 floor.C \
39 wall.c \ 44 wall.C \
40 monster.c \ 45 monster.C \
41 door.c \ 46 door.C \
42 decor.c \ 47 decor.C \
43 exit.c \ 48 exit.C \
44 treasure.c \ 49 treasure.C \
45 special.c \ 50 special.C \
46 style.c \ 51 style.C \
47 rogue_layout.c \ 52 rogue_layout.C \
48 snake.c \ 53 snake.C \
49 square_spiral.c \ 54 square_spiral.C \
50 expand2x.c \ 55 expand2x.C \
51 maze_gen.h random_map.h room_gen.h 56 maze_gen.h random_map.h room_gen.h
52 57
53EXTRA_DIST = maze_gen.h random_map.h room_gen.h\ 58EXTRA_DIST = maze_gen.h random_map.h room_gen.h\
54 standalone.c rproto.h expand2x.h Notes 59 standalone.c rproto.h expand2x.h Notes
55 60
62 67
63random_map_LDADD = ../common/libcross.a librandom_map.a 68random_map_LDADD = ../common/libcross.a librandom_map.a
64 69
65proto: 70proto:
66 cproto -e -o rproto.h.bak $(CPPFLAGS) -I. $(AM_CPPFLAGS) \ 71 cproto -e -o rproto.h.bak $(CPPFLAGS) -I. $(AM_CPPFLAGS) \
67 `echo $(librandom_map_a_SOURCES) | $(AWK) -v RS=" " '/.c$$/ { print }'` 72 `echo $(librandom_map_a_SOURCES) | $(AWK) -v RS=" " '/.C$$/ { print }'`
68 sed -e "s/#if __STDC__/#ifdef __STDC__/" -e "s/__signed/signed/g" -e "/__inline/d" -e "/YY_BUFFER/d" < rproto.h.bak >rproto.h 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
69 chmod 644 rproto.h 74 chmod 644 rproto.h
70 rm -f rproto.h.bak 75 rm -f rproto.h.bak
71 76

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines