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

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}