Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch] 'cxxflags' in example makefile


  • To: VSIPL++ Developers List <vsipl++@xxxxxxxxxxxxxxxx>
  • Subject: [patch] 'cxxflags' in example makefile
  • From: Don McCoy <don@xxxxxxxxxxxxxxxx>
  • Date: Tue, 31 Jan 2006 16:27:51 -0700

This patch updates an error in the example makefile and in the explanation of same in the quickstart guide.

Committed.

--
Don McCoy
CodeSourcery

Index: ChangeLog
===================================================================
RCS file: /home/cvs/Repository/vpp/ChangeLog,v
retrieving revision 1.390
diff -c -p -r1.390 ChangeLog
*** ChangeLog	27 Jan 2006 13:11:52 -0000	1.390
--- ChangeLog	31 Jan 2006 23:22:45 -0000
***************
*** 1,3 ****
--- 1,8 ----
+ 2006-01-22  Don McCoy  <don@xxxxxxxxxxxxxxxx>
+ 
+ 	* doc/quickstart/quickstart.xml: corrected example makefile.
+ 	* examples/makefile.standalone.in: corrected actual example.
+ 
  2006-01-26  Jules Bergmann  <jules@xxxxxxxxxxxxxxxx>
  
  	* README.bin-pkg: Update architectural requirements for 32-bit
Index: doc/quickstart/quickstart.xml
===================================================================
RCS file: /home/cvs/Repository/vpp/doc/quickstart/quickstart.xml,v
retrieving revision 1.24
diff -c -p -r1.24 quickstart.xml
*** doc/quickstart/quickstart.xml	23 Jan 2006 01:40:54 -0000	1.24
--- doc/quickstart/quickstart.xml	31 Jan 2006 23:22:45 -0000
*************** pkgcommand := PKG_CONFIG_PATH=$(prefix)/
*** 1007,1013 ****
                       --define-variable=prefix=$(prefix)
  
  CXX      = $(shell ${pkgcommand} --variable=cxx)
! CXXFLAGS = $(shell ${pkgcommand} --cflags)
  LIBS     = $(shell ${pkgcommand} --libs)
  
  example1: example1.o
--- 1007,1014 ----
                       --define-variable=prefix=$(prefix)
  
  CXX      = $(shell ${pkgcommand} --variable=cxx)
! CXXFLAGS = $(shell ${pkgcommand} --cflags) \
!            $(shell ${pkgcommand} --variable=cxxflags)
  LIBS     = $(shell ${pkgcommand} --libs)
  
  example1: example1.o
Index: examples/makefile.standalone.in
===================================================================
RCS file: /home/cvs/Repository/vpp/examples/makefile.standalone.in,v
retrieving revision 1.1
diff -c -p -r1.1 makefile.standalone.in
*** examples/makefile.standalone.in	20 Jan 2006 00:26:50 -0000	1.1
--- examples/makefile.standalone.in	31 Jan 2006 23:22:45 -0000
*************** pkgcommand := PKG_CONFIG_PATH=$(prefix)/
*** 25,31 ****
                       --define-variable=prefix=$(prefix)
  
  CXX      = $(shell ${pkgcommand} --variable=cxx)
! CXXFLAGS = $(shell ${pkgcommand} --cflags)
  LIBS     = $(shell ${pkgcommand} --libs)
   
  
--- 25,32 ----
                       --define-variable=prefix=$(prefix)
  
  CXX      = $(shell ${pkgcommand} --variable=cxx)
! CXXFLAGS = $(shell ${pkgcommand} --cflags) \
! 	   $(shell ${pkgcommand} --variable=cxxflags)
  LIBS     = $(shell ${pkgcommand} --libs)