Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 1997 → Rev 1996

/trunk/uspace/Makefile
29,6 → 29,7
## Include configuration
#
 
-include ../version
-include Makefile.config
 
DIRS = \
/trunk/uspace/init/version.c
37,25 → 37,13
#include <stdio.h>
#include "version.h"
 
char *release = RELEASE;
 
#ifdef REVISION
char *revision = ", revision " REVISION;
#else
char *revision = "";
#endif
 
#ifdef TIMESTAMP
char *timestamp = "\nBuilt on " TIMESTAMP;
#else
char *timestamp = "";
#endif
 
/** Print version information. */
void version_print(void)
{
printf("HelenOS init\nRelease %s%s%s\nCopyright (C) 2006 HelenOS project\n", release, revision, timestamp);
puts("HelenOS init");
puts("Copyright (C) 2006 HelenOS project");
}
 
/** @}
*/
 
/trunk/uspace/init/Makefile
26,9 → 26,6
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
 
include ../../version
include ../Makefile.config
 
## Setup toolchain
#
 
39,16 → 36,7
CFLAGS += -I../kbd/include
 
LIBS = $(LIBC_PREFIX)/libc.a
DEFS += -DRELEASE=\"$(RELEASE)\"
 
ifdef REVISION
DEFS += "-DREVISION=\"$(REVISION)\""
endif
 
ifdef TIMESTAMP
DEFS += "-DTIMESTAMP=\"$(TIMESTAMP)\""
endif
 
## Sources
#