Ver código fonte

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 anos atrás
pai
commit
3e0f14f929

+ 5
- 0
SNF_CS_Developer_Package/ChangeLog Ver arquivo

@@ -1,3 +1,8 @@
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>

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

+ 18
- 2
SNF_CS_Developer_Package/configure.ac Ver arquivo

@@ -13,7 +13,7 @@ dnl
dnl
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_AUX_DIR(config)
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
@@ -86,9 +86,11 @@ AC_CHECK_LIB(pthread, pthread_create,,
dnl
dnl Additional compile-time and link-time flags.
dnl
SNF_CXXFLAGS='-O3 -Wall -pthread'
OTHER_CXXFLAGS='-O3'
SNF_CXXFLAGS='$(OTHER_CXXFLAGS) -pthread'
SNF_LIBS=''

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

@@ -111,6 +113,20 @@ Type "make" to build the system using the default (optimized) parameters.

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

The software will be installed in $prefix.

Carregando…
Cancelar
Salvar