summaryrefslogtreecommitdiff
path: root/config/zlib.mpb
blob: ef207cb40a0899df899110304554273a3c22578c (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
// -*- MPC -*-
feature(zlib) {
  expand(ZLIB_INCDIR) {
    ZLIB_INCDIR
    $(ZLIB_ROOT)/include
  }
  expand(ZLIB_LIBDIR) {
    ZLIB_LIBDIR
    $(ZLIB_ROOT)/lib
  }

  includes += "$(ZLIB_INCDIR)"
  libpaths += "$(ZLIB_LIBDIR)"
  macros   += ZLIB

  specific(prop:windows) {
    zlibname = zlib
    Debug::zlibname = zlibd

  } else {
    zlibname = z
  }
  lit_libs += $(ZLIBNAME)
}