]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/sim/Makefile.am
fix coverity and codding conventions
[u/mrichter/AliRoot.git] / HLT / sim / Makefile.am
index fe7fcaff3e0f9e79143d8545633f6cfbee8e3f01..a7d0a5fbc4b9d27f9a3022824c10e071ff053f58 100644 (file)
@@ -22,6 +22,7 @@ include $(top_srcdir)/libHLTsim.pkg
 
 # compiler flags
 AM_CPPFLAGS                    = -DMODULE=$(MODULE) \
+                                 -DHAVE_COMPILEINFO \
                                  $(PACKCXXFLAGS) \
                                  $(foreach i, $(EINCLUDE),  \
                                        $(shell echo $(i) | sed -e "/HLT\//!d" -e "s|HLT/|-I$(top_srcdir)/|")) \
@@ -54,5 +55,5 @@ $(COMPILE_INFO): $(libHLTsim_la_SOURCES) $(pkginclude_HEADERS) $(noinst_HEADERS)
        @echo '//automatically generated compilation info' > $@
        @echo '//!!! DO NOT EDIT THIS FILE !!!' >> $@
        @echo '//add changes in Makefile.am' >> $@
-       @echo 'extern "C" void CompileInfo( char*& date, char*& time)' >> $@
+       @echo 'extern "C" void CompileInfo(const char*& date, const char*& time)' >> $@
        @echo '{date=__DATE__; time=__TIME__; return;}' >> $@