File: acedefaults.mpb

package info (click to toggle)
ace 6.0.3%2Bdfsg-0.1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 49,368 kB
  • sloc: cpp: 341,826; perl: 30,850; ansic: 20,952; makefile: 10,144; sh: 4,744; python: 828; exp: 787; yacc: 511; xml: 330; lex: 158; lisp: 116; csh: 48; tcl: 5
file content (52 lines) | stat: -rw-r--r-- 1,157 bytes parent folder | download
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
// -*- MPC -*-
// $Id: acedefaults.mpb 93792 2011-04-07 11:48:50Z mcorino $

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(cdt6) {
    win32::platform_libs += ws2_32 mswsock netapi32
    release::macros += ACE_NDEBUG ACE_USE_RCSID=0
  }

}

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

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

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