mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-14 06:48:06 +00:00
New function LibVEX_Version, returning version string automagically
generated by 'svnversion -n .'. Only updated when you do 'make version'. git-svn-id: svn://svn.valgrind.org/vex/trunk@674
This commit is contained in:
@@ -76,9 +76,15 @@ libvex.a: $(LIB_OBJS)
|
||||
ar clq libvex.a $(LIB_OBJS)
|
||||
|
||||
clean:
|
||||
rm -f $(LIB_OBJS) libvex.a vex test_main.o
|
||||
rm -f $(LIB_OBJS) libvex.a vex test_main.o priv/main/vex_svnversion.h
|
||||
(cd head20041019 && make --quiet clean)
|
||||
|
||||
version:
|
||||
rm -f priv/main/vex_svnversion.h
|
||||
echo -n "\"" > priv/main/vex_svnversion.h
|
||||
svnversion -n . >> priv/main/vex_svnversion.h
|
||||
echo "\"" >> priv/main/vex_svnversion.h
|
||||
|
||||
|
||||
ALL_HEADERS = $(PUB_HEADERS) $(PRIV_HEADERS)
|
||||
ALL_INCLUDES = $(PUB_INCLUDES) $(PRIV_INCLUDES)
|
||||
|
||||
@@ -53,6 +53,16 @@
|
||||
|
||||
/* --------- Initialise the library. --------- */
|
||||
|
||||
/* Exported to library client. */
|
||||
|
||||
HChar* LibVEX_Version ( void )
|
||||
{
|
||||
return
|
||||
#include "main/vex_svnversion.h"
|
||||
;
|
||||
}
|
||||
|
||||
|
||||
/* Exported to library client. */
|
||||
|
||||
void LibVEX_default_VexControl ( /*OUT*/ VexControl* vcon )
|
||||
|
||||
@@ -81,6 +81,11 @@ typedef
|
||||
extern void LibVEX_default_VexControl ( /*OUT*/ VexControl* vcon );
|
||||
|
||||
|
||||
/* Returns the Vex SVN version. */
|
||||
|
||||
extern HChar* LibVEX_Version ( void );
|
||||
|
||||
|
||||
/* Initialise the translator. */
|
||||
|
||||
extern void LibVEX_Init (
|
||||
|
||||
Reference in New Issue
Block a user