summaryrefslogtreecommitdiff
path: root/ACE/bin/MakeProjectCreator/config/acedefaults.mpb
blob: 4ad17dfe1d119f332f0b44962bceca77fe77c17c (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
// -*- MPC -*-
// $Id$

project: ipv6, vc_warnings, build_files, test_files, svc_conf_files, ace_unicode {
  staticflags += ACE_AS_STATIC_LIBS
  includes    += $(ACE_ROOT)
  libpaths    += $(ACE_ROOT)/lib

  // Support the alternative Borland Make project type
  specific(bmake) {
    unicode_flags += -DACE_USES_WCHAR
    macros += MPC_LIB_MODIFIER=\\"$(LIBMODIFIER)$(ULIBMODIFIER)\\"
    debug_macros += ACE_NO_INLINE=1
  }

  specific(automake) {
    am_release = @ACE_VERSION_NAME@
    includes += $(ACE_BUILDDIR)
    libpaths -= $(ACE_ROOT)/lib
  }

  specific(prop:microsoft) {
    macro_for_lib_modifier=1
  }

  specific(prop:windows) {
    lit_libs += iphlpapi
  }

  specific(cdt6) {
    win32::platform_libs += ws2_32 mswsock netapi32
    release::macros += ACE_NDEBUG ACE_USE_RCSID=0
  }

}

feature(exceptions) {
  specific(cdt6) {
    macros += ACE_HAS_EXCEPTIONS
  }
}

feature(ace_inline) {
  specific(cdt6) {
    macros += __ACE_INLINE__
  }
}

feature(!ace_inline) {
  specific(cdt6) {
    macros += ACE_NO_INLINE
  }
}

feature(!threads) {
  specific(cdt6) {
    macros += ACE_MT_SAFE=0
    // and without threads we must remove support for AIO.
    macros -= ACE_HAS_AIO_CALLS
    platform_libs -= rt
  }
}