source: branches/libc-0.6/src/binutils/config/mh-djgpp

Last change on this file was 610, checked in by bird, 22 years ago

This commit was generated by cvs2svn to compensate for changes in r609,
which included commits to RCS files with non-trunk default branches.

  • Property cvs2svn:cvs-rev set to 1.1.1.2
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 554 bytes
Line 
1# Shorten the target alias so when it is used to set 'libsubdir'
2# the name will work in both short and long filename environments.
3ifeq ($(findstring -pc-msdosdjgpp,$(target_alias)),-pc-msdosdjgpp)
4target_alias=djgpp
5endif
6
7# The version string must be modified to contain just one dot
8# because DOS filenames can only have one dot when long filenames
9# are not available.
10__version:=$(gcc_version)
11__version:=$(subst ., ,$(__version))
12ifeq ($(words $(__version)),3)
13gcc_version=$(word 1,$(__version)).$(word 2,$(__version))$(word 3,$(__version))
14endif
Note: See TracBrowser for help on using the repository browser.