Browse Source

Updated properties to link with most recent SNFClient, etc. Updated

configure.ac to allow for passing parameters to the compiler
(e.g. make OTHER_CXXFLAGS='-Wall').


git-svn-id: https://svn.microneil.com/svn/PKG-SNF-CS-NIX/trunk@32 233e721a-07f6-49eb-a7da-05e0e16828fc
master
adeniz 15 years ago
parent
commit
3e0f14f929
2 changed files with 23 additions and 2 deletions
  1. 5
    0
      SNF_CS_Developer_Package/ChangeLog
  2. 18
    2
      SNF_CS_Developer_Package/configure.ac

+ 5
- 0
SNF_CS_Developer_Package/ChangeLog View File

2009-05-26 Alban Deniz <adeniz@skidmark.localdomain>

* configure.ac: Updated for passing command-line parameters to the
compiler (e.g. make OTHER_CXXFLAGS='-Wall').

2009-05-23 Alban Deniz <adeniz@skidmark.localdomain> 2009-05-23 Alban Deniz <adeniz@skidmark.localdomain>


* SNFClient/Makefile.am (LIBS): Search SNFMulti library before * SNFClient/Makefile.am (LIBS): Search SNFMulti library before

+ 18
- 2
SNF_CS_Developer_Package/configure.ac View File

dnl dnl
AC_PREREQ(2.52) AC_PREREQ(2.52)


AC_INIT(snf-server, 3.0.5)
AC_INIT(snf-server, 3.0.6)
AC_CONFIG_SRCDIR(SNFMulti/snfCFGmgr.cpp) AC_CONFIG_SRCDIR(SNFMulti/snfCFGmgr.cpp)
AC_CONFIG_AUX_DIR(config) AC_CONFIG_AUX_DIR(config)
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
dnl dnl
dnl Additional compile-time and link-time flags. dnl Additional compile-time and link-time flags.
dnl dnl
SNF_CXXFLAGS='-O3 -Wall -pthread'
OTHER_CXXFLAGS='-O3'
SNF_CXXFLAGS='$(OTHER_CXXFLAGS) -pthread'
SNF_LIBS='' SNF_LIBS=''


AC_SUBST(OTHER_CXXFLAGS)
AC_SUBST(SNF_CXXFLAGS) AC_SUBST(SNF_CXXFLAGS)
AC_SUBST(SNF_LIBS) AC_SUBST(SNF_LIBS)




Type "make SNF_CXXFLAGS='-g -pthread'" to build the system for debugging. Type "make SNF_CXXFLAGS='-g -pthread'" to build the system for debugging.


Type "make OTHER_CXXFLAGS=flags" to build the system with compiler
flags 'flags'.

For example:

Type "make OTHER_CXXFLAGS=-g" to build the system for debugging.

Type "make OTHER_CXXFLAGS=-Wall" to enable all warnings.

Type "make OTHER_CXXFLAGS=-Wall -O3" to enable warnings and O3
optimizations.

Default value: $OTHER_CXXFLAGS

OS type: $SNF_OSTYPE OS type: $SNF_OSTYPE


The software will be installed in $prefix. The software will be installed in $prefix.

Loading…
Cancel
Save