# Copyright (c) 2007 INRIA Sophia-Antipolis (France). # All rights reserved. # # This file is part of CGAL (www.cgal.org); you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public License as # published by the Free Software Foundation; version 2.1 of the License. # See the file LICENSE.LGPL distributed with CGAL. # # Licensees holding a valid commercial license may use this file in # accordance with the commercial license agreement provided with the software. # # This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE # WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. # # $URL$ # $Id$ # # Author(s) : Laurent Rineau #---------------------------------------------------------------------# # object files #---------------------------------------------------------------------# # We now compile all source files at once since it is faster # When adding a new file, please update app_files.cpp OBJECTS = all_files$(OBJ_EXT) # Below variable is not used now (but may come back so let's keep it) OBJECTS_OLD = \ CoreAux$(OBJ_EXT) \ extLong$(OBJ_EXT) \ CoreDefs$(OBJ_EXT) \ CoreIO$(OBJ_EXT) \ BigFloat$(OBJ_EXT) \ Real$(OBJ_EXT) \ Expr$(OBJ_EXT) \ GmpIO$(OBJ_EXT) #---------------------------------------------------------------------# # libCore settings #---------------------------------------------------------------------# SOVERSION=2.0.0 SOMAJOR=2 LIB_NAME_BASE = CGALcore++ ADDITIONAL_CXXFLAGS = $(ALL_GMP_CXXFLAGS) $(ALL_MPFR_CXXFLAGS) SHARED_LIB_ADDITIONAL_LDFLAGS = \ $(GMP_LIBPATHFLAGS) $(GMP_LDFLAGS) \ $(MPFR_LIBPATHFLAGS) $(MPFR_LDFLAGS) # The shared_lib case is still buggy: # - When GMP or MPFR is a static library on Darwin, it fails because -fno-common is required... #---------------------------------------------------------------------# # common rules for all libraries #---------------------------------------------------------------------# include ../CGAL/common.mk