From c20bdfa5eafb8ac776092c816018de0b07045c97 Mon Sep 17 00:00:00 2001 From: laforge Date: Fri, 17 Aug 2007 08:33:56 +0000 Subject: Implement GSMD version printout (Matt Mets ) git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@2727 99fdad57-331a-0410-800a-d7fa5415bdb3 --- src/gsmd/Makefile.am | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/gsmd/Makefile.am') diff --git a/src/gsmd/Makefile.am b/src/gsmd/Makefile.am index 1ff1970..bdb39d0 100644 --- a/src/gsmd/Makefile.am +++ b/src/gsmd/Makefile.am @@ -2,6 +2,12 @@ INCLUDES = $(all_includes) -I$(top_srcdir)/include AM_CFLAGS = -std=gnu99 plugindir = $(libdir)/gsmd +gsmd-version.h: + echo -e '#ifndef GSMD_VERSION' \ + '\n#define GSMD_VERSION "'`svnversion`'"' \ + '\n#endif' > gsmd-version.h + +BUILT_SOURCES = gsmd-version.h sbin_PROGRAMS = gsmd gsmd_CFLAGS = -D PLUGINDIR=\"$(plugindir)\" -- cgit v1.2.3