[Olsr-cvs] olsrd-current/src/cfgparser Makefile,1.23,1.24

Bernd Petrovitsch (spam-protected)
Thu Apr 26 00:08:19 CEST 2007


Update of /cvsroot/olsrd/olsrd-current/src/cfgparser
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv2640/src/cfgparser

Modified Files:
	Makefile 
Log Message:
* OLSR_PRINTF() is now a real C expression
* removed superflous type-casts


Index: Makefile
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/cfgparser/Makefile,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** Makefile	20 Apr 2007 13:46:05 -0000	1.23
--- Makefile	25 Apr 2007 22:08:17 -0000	1.24
***************
*** 91,101 ****
  
  oscan.c:	oscan.lex Makefile
! 		$(FLEX) -Cem -ooscan.c oscan.lex
! 		mv oscan.c oscan.c-tmp && \
! 			sed	-e '/^static/s/yy_get_next_buffer[\(][\)]/yy_get_next_buffer(void)/' \
! 				-e '/^static/s/yy_get_previous_state[\(][\)]/yy_get_previous_state(void)/' \
! 				-e '/^static/s/input[\(][\)]/input(void)/' \
! 				-e '/^static  *void  *yy_fatal_error/s/^\(.*)\)\();\)$$/\1 __attribute__((noreturn)) \2/' \
! 				< oscan.c-tmp >oscan.c
  		$(RM) oscan.c-tmp
  
--- 91,100 ----
  
  oscan.c:	oscan.lex Makefile
! 		$(FLEX) -Cem -ooscan.c-tmp oscan.lex
! 		sed	-e '/^static/s/yy_get_next_buffer[\(][\)]/yy_get_next_buffer(void)/' \
! 			-e '/^static/s/yy_get_previous_state[\(][\)]/yy_get_previous_state(void)/' \
! 			-e '/^static/s/input[\(][\)]/input(void)/' \
! 			-e '/^static  *void  *yy_fatal_error/s/^\(.*)\)\();\)$$/\1 __attribute__((noreturn)) \2/' \
! 			< oscan.c-tmp >oscan.c
  		$(RM) oscan.c-tmp
  
***************
*** 112,116 ****
  
  clean:
! 		rm -f *.[od~]
  		rm -f $(LIBNAME)
  		rm -f $(BINNAME)
--- 111,115 ----
  
  clean:
! 		rm -f *.[od~] oscan.c oparse.[ch]
  		rm -f $(LIBNAME)
  		rm -f $(BINNAME)





More information about the Olsr-cvs mailing list