Ignore:
Timestamp:
Oct 8, 2010, 9:19:04 PM (9 years ago)
Author:
rme
Message:

Define SVN_REVISION in Linux and Darwin makefiles (x86, x86-64).

Location:
trunk/source/lisp-kernel
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lisp-kernel/darwinx8632/Makefile

    r14197 r14347  
    1515
    1616
     17SVN_REVISION=$(shell svnversion || echo "unknown")
     18
    1719MDYNAMIC_NO_PIC = $(shell ($(CC) --help -v 2>&1 | grep -q -e "-mdynamic-no-pic") && /bin/echo "-mdynamic-no-pic")
    1820
     
    2527M4FLAGS = -DDARWIN -DX86 -DX8632
    2628ASFLAGS = -arch i386 -g
    27 CDEFINES = -DDARWIN -DX86 -DX8632 #-DGC_INTEGRITY_CHECKING -DFORCE_DWS_MARK -DDISABLE_EGC -DDEBUG_MACH_EXCEPTIONS
     29CDEFINES = -DDARWIN -DX86 -DX8632 -DSVN_REVISION=$(SVN_REVISION)
    2830CDEBUG = -g
    2931COPT = -O2
  • trunk/source/lisp-kernel/darwinx8664/Makefile

    r14197 r14347  
    1616
    1717
     18SVN_REVISION=$(shell svnversion || echo "unknown")
    1819
    1920MDYNAMIC_NO_PIC = $(shell ($(CC) --help -v 2>&1 | grep -q -e "-mdynamic-no-pic") && /bin/echo "-mdynamic-no-pic")
     
    4950M4FLAGS = -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR
    5051ASFLAGS = -arch x86_64 -g
    51 CDEFINES = -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR
     52CDEFINES = -DDARWIN -DX86 -DX8664 -DTCR_IN_GPR -DSVN_REVISION=$(SVN_REVISION)
    5253CDEBUG = -g
    5354COPT = -O2
  • trunk/source/lisp-kernel/linuxx8632/Makefile

    r14197 r14347  
    1414#   http://opensource.franz.com/preamble.html
    1515
     16SVN_REVISION=$(shell svnversion || echo "unknown")
    1617
    1718VPATH = ../
     
    2122ASFLAGS = --32
    2223M4FLAGS = -DLINUX -DX86 -DX8632 -DHAVE_TLS
    23 CDEFINES = -DLINUX -D_REENTRANT -DX86 -DX8632 -D_GNU_SOURCE -DHAVE_TLS -DUSE_FUTEX #-DGC_INTEGRITY_CHECKING -DDISABLE_EGC
     24CDEFINES = -DLINUX -D_REENTRANT -DX86 -DX8632 -D_GNU_SOURCE -DHAVE_TLS -DUSE_FUTEX -DSVN_REVISION=$(SVN_REVISION) #-DGC_INTEGRITY_CHECKING -DDISABLE_EGC
    2425CDEBUG = -g
    2526COPT = -O2
  • trunk/source/lisp-kernel/linuxx8664/Makefile

    r14197 r14347  
    1414#   http://opensource.franz.com/preamble.html
    1515
     16SVN_REVISION=$(shell svnversion || echo "unknown")
    1617
    1718VPATH = ../
     
    2122ASFLAGS = --64
    2223M4FLAGS = -DLINUX -DX86 -DX8664 -DHAVE_TLS
    23 CDEFINES = -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS -DUSE_FUTEX #-DDISABLE_EGC
     24CDEFINES = -DLINUX -D_REENTRANT -DX86 -DX8664 -D_GNU_SOURCE -DHAVE_TLS -DUSE_FUTEX -DSVN_REVISION=$(SVN_REVISION) #-DDISABLE_EGC
    2425CDEBUG = -g
    2526COPT = -O2
Note: See TracChangeset for help on using the changeset viewer.