version 1.1 | | version 1.2 |
---|
| | |
random_map_LDADD = ../common/libcross.a librandom_map.a | | random_map_LDADD = ../common/libcross.a librandom_map.a |
| | |
proto: | | proto: |
cextract +p -P $(INCLUDES) \ | | cproto -e -o rproto.h.bak $(CPPFLAGS) -I. $(AM_CPPFLAGS) \ |
-cpp-program="gcc -E -C" \ | | `echo $(librandom_map_a_SOURCES) | $(AWK) -v RS=" " '/.c$$/ { print }'` |
$(SRCS) > rproto.h.bak | | sed -e "s/#if __STDC__/#ifdef __STDC__/" -e "s/__signed/signed/g" -e "/__inline/d" -e "/YY_BUFFER/d" < rproto.h.bak >rproto.h |
$(SED) -e "s/#if __STDC__/#ifdef __STDC__/" -e "s/__signed/signed/g" -e "/__inline/d" -e "/YY_BUFFER/d" < rproto.h.bak >rproto.h | | |
chmod 644 rproto.h | | chmod 644 rproto.h |
$(RM) -f rproto.h.bak | | rm -f rproto.h.bak |
| | |