1. 28 4月, 2012 5 次提交
    • K
      Mark library functions as "C" linkage · 9af7ca10
      Kevin Pyle 提交于
      The documentation disclaims support for building with a C++ compiler, so
      it is reasonable to assume that the library will be built with a plain C
      compiler, so the functions will all have plain C linkage.  By default, a
      C++ application that wished to use libiniparser would need to wrap the
      inclusion of libiniparser headers in 'extern "C" { ... }' to reflect the
      C linkage of libiniparser.  Instead, place that marker directly in the
      libiniparser headers, so that client applications do not need to care.
      This has no effect on normal compilation of libiniparser, since the new
      markers are inside a '#ifdef __cplusplus' guard, and straight C
      compilers do not define __cplusplus.
      9af7ca10
    • K
      Build: make quiet compilation optional · 7374cab6
      Kevin Pyle 提交于
      Switch from always hiding the executed command to hide it only by
      default, but let the user request that the commands be shown.  For now,
      follow the convention that setting $V requests a verbose compilation.
      7374cab6
    • K
      Build: remove redundant -rpath · 41d3c1ce
      Kevin Pyle 提交于
      LDSHFLAGS specifies -rpath, but is only used when LDFLAGS are specified,
      and LDFLAGS also set the same -rpath.  Remove the redundant definition
      in LDSHFLAGS.
      41d3c1ce
    • K
      Build: respect COMPILE.c if set · 26e43774
      Kevin Pyle 提交于
      The default definition from GNU make is more comprehensive.  Switch to
      that, and allow an environmental override.
      26e43774
    • K
      Build: respect $CC, $AR, $RM, $CFLAGS, $LDFLAGS · b135d8e7
      Kevin Pyle 提交于
      If the user has set a value for CC, AR, or RM, use that value.  GNU make
      provides good defaults for all of these.
      
      If the user has set CFLAGS, use that instead of -O2, but preserve the
      other build options.
      
      Append the local LDFLAGS to any value from the user.
      b135d8e7
  2. 08 4月, 2012 1 次提交
  3. 04 4月, 2012 2 次提交
  4. 03 8月, 2011 3 次提交
  5. 10 7月, 2011 1 次提交
  6. 09 7月, 2011 2 次提交
  7. 03 7月, 2011 1 次提交
  8. 04 4月, 2011 2 次提交
  9. 03 4月, 2011 1 次提交
  10. 29 3月, 2011 1 次提交
  11. 03 3月, 2011 1 次提交
  12. 20 8月, 2010 2 次提交