1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-29 16:44:03 +00:00

Remove dependency on version.in for version information.

Submitted by:	obrien
This commit is contained in:
Mark Peek 2002-10-12 21:23:53 +00:00
parent 02cda72148
commit ef78d1474b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=105003

View File

@ -135,9 +135,10 @@ ${H:C/-.*$//}.h:
${.TARGET}
.endfor
gdbversion.c: version.in
GDB_VERSION= "5.2.1 (FreeBSD)"
gdbversion.c:
@echo '#include "version.h"' > ${.TARGET}
@echo 'const char version[] = "'"`sed q ${.ALLSRC}`"'";'>>${.TARGET}
@echo 'const char version[] = ${GDB_VERSION};' >>${.TARGET}
@echo 'const char host_name[] = "${MACHINE_ARCH}-undermydesk-freebsd";' >>${.TARGET}
@echo 'const char target_name[] = "${TARGET_ARCH}-undermydesk-freebsd";' >>${.TARGET}