… | |
… | |
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 | |
27 | pkglib_PROGRAMS = random_map |
27 | #pkglib_PROGRAMS = random_map |
28 | |
28 | |
29 | random_map_SOURCES = standalone.C |
29 | #random_map_SOURCES = standalone.C |
30 | |
30 | |
31 | noinst_LIBRARIES = librandom_map.a |
31 | noinst_LIBRARIES = librandom_map.a |
32 | |
32 | |
33 | reader.C: reader.l |
33 | reader.C: reader.l |
34 | flex -Prmap -i reader.l |
34 | flex -Prmap -i reader.l |
… | |
… | |
63 | AM_CPPFLAGS = -I$(top_srcdir)/include |
63 | AM_CPPFLAGS = -I$(top_srcdir)/include |
64 | |
64 | |
65 | LEX_OUTPUT_ROOT = lex.rmap |
65 | LEX_OUTPUT_ROOT = lex.rmap |
66 | AM_LFLAGS = -Prmap -i |
66 | AM_LFLAGS = -Prmap -i |
67 | |
67 | |
68 | random_map_LDADD = ../common/libcross.a librandom_map.a |
68 | #random_map_LDADD = ../common/libcross.a librandom_map.a |
69 | |
69 | |
70 | proto: |
70 | proto: |
71 | cproto -e -o rproto.h.bak $(CPPFLAGS) -I. $(AM_CPPFLAGS) \ |
71 | cproto -e -o rproto.h.bak $(CPPFLAGS) -I. $(AM_CPPFLAGS) \ |
72 | `echo $(librandom_map_a_SOURCES) | $(AWK) -v RS=" " '/.C$$/ { print }'` |
72 | `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 |
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 |