summaryrefslogtreecommitdiff
path: root/ACE/include/makeinclude/platform_tru64_post.GNU
blob: 52ccdc93d1a5291b1a5c68b3635b8038b8be29bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $Id$

# Common definitions which were in multiple files adding to the confusion

# All versions of 4.x...Why doesn't Digital have 4.[a-z] ? That would be
# more fun...

ifeq (4.,$(findstring 4.,$(ACE_DU_VERSION)))
  ifeq (4.0D,$(findstring 4.0D,$(ACE_DU_SUBVERSION)))
    CFLAGS += -DDIGITAL_UNIX=0x40D
  else
    ifeq (4.0E,$(findstring 4.0E,$(ACE_DU_SUBVERSION)))
      CFLAGS += -DDIGITAL_UNIX=0x40E
    else
      ifeq (4.0F,$(findstring 4.0F,$(ACE_DU_SUBVERSION)))
        CFLAGS += -DDIGITAL_UNIX=0x40F
      else
        ifeq (4.0G,$(findstring 4.0G,$(ACE_DU_SUBVERSION)))
          CFLAGS += -DDIGITAL_UNIX=0x40F # can't have 0x40G
        else
          CFLAGS += -DDIGITAL_UNIX=0x400
        endif
      endif
    endif
  endif
else # ! 4.x
  ifeq (V5.1,$(findstring V5.1,$(ACE_DU_SUBVERSION)))
    CFLAGS += -DDIGITAL_UNIX=0x510
  else
    CFLAGS += -DDIGITAL_UNIX=0x500
  endif
endif # ! 5.x