# This file contains CGAL makefile settings for the following platform: # OS: sparc_SunOS-5.6 # COMPILER: GNU 2.95.2 # LEDA: not supported # GMP: supported #---------------------------------------------------------------------# # include/lib directory settings #---------------------------------------------------------------------# CGAL_INCL_DIR = /pkg/CGAL-2.1/include CGAL_LIB_DIR = /pkg/CGAL-2.1/lib #---------------------------------------------------------------------# # os/compiler description #---------------------------------------------------------------------# CGAL_OS_COMPILER = sparc_SunOS-5.6_g++-2.95.2 #---------------------------------------------------------------------# # filename related flags #---------------------------------------------------------------------# OBJ_EXT = .o EXE_EXT = LIB_SUFFIX = #---------------------------------------------------------------------# # some specific compiler flags #---------------------------------------------------------------------# OBJ_OPT = -c DEBUG_OPT = -g START_LD_OPT = LIBPATH_OPT = -L LIB_OPT = -l #---------------------------------------------------------------------# # suffixes and rules #---------------------------------------------------------------------# .SUFFIXES: .clean .C.clean: rm -f $* $*.o #---------------------------------------------------------------------# # compiler #---------------------------------------------------------------------# CGAL_CXX = /usr/local/bin/g++ #---------------------------------------------------------------------# # compiler flags #---------------------------------------------------------------------# # For more information about the compiler flags see the installation guide. # compiler specific configuration dir CGAL_INCL_CONF_DIR = \ $(CGAL_INCL_DIR)/CGAL/config/sparc_SunOS-5.6_g++-2.95.2 # *** Fill in any additional compiler flags you need *** CUSTOM_CXXFLAGS = -B/pkg/gnu/binutils/bin/ # *** to work around the long-name-problem with sun as/ld LONG_NAME_PROBLEM_CXXFLAGS = CGAL_CXXFLAGS = \ $(CUSTOM_CXXFLAGS) -Wall -ftemplate-depth-25 \ -DCGAL_USE_GMP \ '-I$(CGAL_INCL_CONF_DIR)' \ '-I$(CGAL_INCL_DIR)' #---------------------------------------------------------------------# # linker flags #---------------------------------------------------------------------# EXE_OPT = -o # *** Fill in any additional linker flags you need *** CUSTOM_LIBPATH = CUSTOM_LDFLAGS = # *** to work around the long-name-problem with sun as/ld LONG_NAME_PROBLEM_LDFLAGS = CGAL_LIBPATH = CGAL_LD_LIBPATH = \ $(CUSTOM_LIBPATH) \ -L$(CGAL_LIB_DIR)/$(CGAL_OS_COMPILER) \ -R $(CGAL_LIB_DIR)/$(CGAL_OS_COMPILER) CGAL_LDFLAGS = \ $(CGAL_LD_LIBPATH) \ $(CUSTOM_LDFLAGS) \ -lCGAL -lgmp -lm CGAL_WINDOW_LDFLAGS = \ $(CGAL_LDFLAGS) CGAL_GEOWIN_LDFLAGS = \ $(CGAL_LDFLAGS) #---------------------------------------------------------------------# # commands and flags for creating libraries #---------------------------------------------------------------------# CGAL_LIB = libCGAL.a CGAL_LIB_CXXFLAGS = \ $(CGAL_CXXFLAGS) CGAL_LIB_LDFLAGS = CGAL_LIB_CREATE = ar cr '' CGAL_OBJ_PREFIX = CGAL_LIB_DESTINATION = /pkg/CGAL-2.1/lib/$(CGAL_OS_COMPILER) CGAL_SHARED_LIB = libCGAL.so CGAL_SHARED_LIB_CXXFLAGS = \ -fpic \ $(CGAL_CXXFLAGS) CGAL_SHARED_LIB_LDFLAGS = CGAL_SHARED_LIB_CREATE = $(CGAL_CXX) -G -o '' # *** only used for the testsuite # *** program used to create stacktrace from coredump PRINT_STACKTRACE_PROGRAM = gdb #---------------------------------------------------------------------# # EOF #---------------------------------------------------------------------#