Laurent Rineau
a83c9d3f3a
- Repair the detection of GNU make.
...
- New variables _touch and _grep.
- Check the use of variables ${_util} instead of "util" directly (for
util=grep,touch,cat,rm).
- Use ${CUSTOM_CXXFLAGS} for tests also.
2007-03-07 10:21:48 +00:00
Laurent Saboret
e214450536
Remove S51-LAPACKSHARED which tends to break CGAL test suite
2007-03-06 14:10:40 +00:00
Laurent Rineau
65ed13d8c9
New test for gmake.
...
Add /opt/sfw/bin to standard places (Solaris).
Change the meaning of $3 in _check_for_util and _check_for_sysutil.
2007-03-06 09:21:05 +00:00
Laurent Saboret
9a4e72ebd8
BLAS/LAPACK support on Windows (Visual C++ and g++)
2007-03-05 21:14:35 +00:00
Laurent Saboret
3878176435
Use more use friendly names
2007-03-05 18:33:10 +00:00
Laurent Saboret
5e9ac686c4
Restore config file as TAUCS provides libmetis32.a and libmetis64.a on IRIX
2007-03-05 18:32:40 +00:00
Sylvain Pion
5994cd4e35
remove buggy the in last commit
2007-03-05 17:59:10 +00:00
Sylvain Pion
39a14e92b8
Add to --help the following : --with-PACKAGE, --PACKAGE_INCL_DIR, --PACKAGE_LIB_DIR.
2007-03-05 17:58:11 +00:00
Laurent Saboret
d37900d279
Sun Performance Library debugged and tested
2007-03-05 11:01:05 +00:00
Laurent Saboret
646b0feaa7
try_to_get_var_from_file() supports now several '=' characters on a line
2007-03-05 11:00:07 +00:00
Laurent Rineau
a3fe48756a
Fix the comment of try_to_get_var_from_file_aux().
2007-03-03 16:30:51 +00:00
Laurent Rineau
972fc4250a
Optimization:
...
- printf is a POSIX shell builtin, so _check_for_sysutil should not be
called for printf
That optimization avoids more than 15000 forks, during an execution of
./install_cgal -i
2007-03-03 16:17:07 +00:00
Laurent Rineau
c6fe655d14
Optimizations:
...
- new implementation of try_to_get_var_from_file() and
try_to_get_var_from_config_file() that allows to parse a whole file at
once,
- new implementation of parse_support_options(), that parse each config
file at whole.
2007-03-03 15:54:41 +00:00
Laurent Rineau
c115b38748
Fix last patch rev36791: i forgot two characteres `".
2007-03-03 15:10:53 +00:00
Laurent Rineau
59d45d51af
Optimisation: POSIX awk has a function toupper, so no need to pipe it in
...
${_tr} '[:lower:]' '[:upper:]'.
2007-03-03 14:26:14 +00:00
Sylvain Pion
623020b3ae
minor (8%) optimization of the number of calls to tr
2007-03-02 12:58:15 +00:00
Fernando Cacciola
f429531f88
New line at EOF issues in new headers REALLY fixed.
2007-03-02 11:17:02 +00:00
Daniel Russel
d46a6f58b6
auto install things if no action is specified
2007-03-01 23:43:54 +00:00
Daniel Russel
716be153c6
fixed dylib path on macs, and the makefile is now in make/CGAL and everything is now installed properly.
2007-03-01 23:43:20 +00:00
Laurent Rineau
f794e41ef5
Different handling of the case where soname are not implemented, on a
...
platform, in other to avoid a warning on Darwin or Cygwin.
2007-03-01 23:38:42 +00:00
Fernando Cacciola
a06fa41cb9
auto_link.h now centralized and moved into CGAL/auto_link/ folder.
...
New line at EOF issues in new headers fixed.
2007-03-01 20:15:24 +00:00
Fernando Cacciola
01e884ea6d
Auto-linking macro redefinitions fixed
2007-03-01 11:20:38 +00:00
Daniel Russel
065027b793
added CGALPDB
2007-03-01 00:22:11 +00:00
Fernando Cacciola
63442a954a
License headers fixed.
2007-02-28 18:06:42 +00:00
Fernando Cacciola
fb9f6e5472
Auto-linking now encapsulated in a library-specific header inside new CGAL/auto_link/ folder.
2007-02-28 17:43:49 +00:00
Sylvain Pion
6749f8d0b2
Improve auto-detection of OpenGL so that it works on Darwin
...
(similar to X11 auto-detection).
2007-02-27 23:31:40 +00:00
Laurent Rineau
467deadec0
Attempt to restore dylibs on Darwin.
2007-02-27 22:12:02 +00:00
Laurent Rineau
7c0add8a8e
Test $MAKE even if MAKE=gmake
2007-02-27 22:10:08 +00:00
Fernando Cacciola
8a3dee2292
C2vcproj fixed to look for master_71.vcproj instead of master_VC71.vcproj.
...
Missing svn properties added
2007-02-27 16:50:16 +00:00
Laurent Rineau
d633b8c7bd
- SHARED_LIB_EXT->CGAL_SHARED_LIB_EXT
...
- printf -> ${_printf} is some places
- display the make command option, in compile.log
2007-02-26 18:16:38 +00:00
Laurent Saboret
4766b145a8
Undo previous version: no f2c on Darwin
2007-02-26 16:29:58 +00:00
Laurent Saboret
8ab529d1e6
Complete rewrite of the BLAS, LAPACK and TAUCS support (Unix only)
2007-02-23 15:28:38 +00:00
Laurent Saboret
ab77efc7e1
_test_support() tries to locate third-party libraries (using STDLIBDIRS and LIBTHING) even when STDINCLDIRS and INCLTHING fields are empty)
2007-02-23 15:27:50 +00:00
Daniel Russel
e503360191
removed ref to dylib as linking broken when libraries were called foo.dylib, but worked with foo.so--now it is the same as before, except that the install works
2007-02-23 01:02:13 +00:00
Laurent Rineau
8862a968af
- fix ADDITIONNAL->ADDITIONAL
...
- fix flags for Core and CGALQt shared libraries
- add $(CUSTOM_LDFLAGS) to $(CGAL_SHARED_LIB_LDFLAGS)
- move a few flags from $(CGAL_CGAL_LDFLAGS) to $(CGAL_LDFLAGS), so that
$(CGAL_CGAL_LDFLAGS) only contains -lCGAL (or the equivalent for other
compilers).
2007-02-23 00:07:51 +00:00
Daniel Russel
9c0306f242
put back SHARED_LIB_EXT and exported it to the makefile to fix an error message on macs
2007-02-22 22:38:28 +00:00
Laurent Rineau
31f8376377
- Rework on src/CGAL/common.mk:
...
- new targets for libCGAL.a, libCGAL.so, libCGAL.so.*
- fix rules when SOVERSION is empty (use GNU/make idioms)
- Additional vpath in src/CGALQt/makefile, so that one can build it directly
from a checkout of the trunk.
- fix the build of libCGALBenchmark.
- fix the bison special stuff, so that we no longer rely on the expr and
the $(shell) function of GNU/make.
2007-02-22 19:58:08 +00:00
Joachim Reichel
51d1ea3c91
* simplify build rules (possible, since GNU make is now required)
2007-02-22 17:53:45 +00:00
Daniel Russel
1786c9ca1a
Use environment CPPFLAGS in addition to CXXFLAGS and don't overwrite the flags when there is no config file. The first change is harmless. The second involves changing the behaviour of the try_to_get_... functions to not clear the variable when they can't load it. I added code to clear the variable before loading when processing for multiple platforms (since it would have been either loaded or cleared anyway), but I haven't been able to check this so thoroughly
2007-02-22 06:54:49 +00:00
Fernando Cacciola
7bef0e06dd
Fixed auto_link include bug (for non-windows platforms)
2007-02-21 20:27:48 +00:00
Laurent Rineau
6f5296e701
Tiny fix: "untabify" my last patch.
2007-02-21 18:14:36 +00:00
Laurent Rineau
3360cae266
Dirty hack: regenerate the include makefile, so that linker flags of libraries that
...
failed to compile are not included in CGAL_LDFLAGS.
2007-02-21 18:00:55 +00:00
Laurent Rineau
9d879f7e6b
In CGAL_LDFLAGS, include only flags for libraries that have been compiled
...
correctly, at least in one flavour between "shared" and "static".
We do not want the testsuite to be red if only one library is broken.
2007-02-21 17:22:43 +00:00
Laurent Rineau
2239698314
Make $(CUSTOM_CXXFLAGS) be *after* -I$(CGAL_INCL_DIR).
2007-02-21 16:28:57 +00:00
Laurent Rineau
c3cbb4ab58
Fix all warnings "WARNING: cannot find field COMPILETESTFLAGS in file ...".
2007-02-21 01:55:24 +00:00
Laurent Rineau
01b2e6fdb2
Fix CGALPDB->libCGALPDB, so that CGALPDB is shown with other libraries in
...
the testsuite, at the bottom of the array.
2007-02-21 01:16:47 +00:00
Laurent Rineau
d6c27e8c4e
Use "../CGAL/common.mk" for libCGAL as well, to avoid red testsuite if
...
somebody copy-paste the libCGAL makefile.
2007-02-20 23:58:32 +00:00
Daniel Russel
8f56c8ae0e
added build of PDB
2007-02-19 04:55:10 +00:00
Andreas Meyer
924c3cc2fb
replaced [[ "a" = "b" ]] by [ "a" = "b" ]
...
(caused a "missing [[ command" error before)
2007-02-17 21:26:42 +00:00
Marc Pouget
e758f82547
it seems Atlas does not uses "_" and added file for dynamic lib
2007-02-17 14:10:28 +00:00
Laurent Rineau
ca7f173838
- Add cxx flags, libpath flags and linker flags, by features, in
...
$CGAL_MAKEFILE.
- Fix shared libraries makefile that need to be linked with third libraries.
2007-02-16 23:00:26 +00:00
Laurent Rineau
317be1769b
Important detail: we can know compile CGAL libraries without install_cgal.
...
CXXFLAGS can be overridden from command line.\
2007-02-16 21:14:58 +00:00
Laurent Rineau
4119696cd6
Use -fPIC of Linux, and -PIC on SunOS, instead of small model
...
equivalents (-fpic/-PIC).
This breaks the binary compatibility.
2007-02-16 21:10:12 +00:00
Laurent Rineau
36636d49b5
- Continue factorization between libraries' makefiles,
...
- install_cgal cleanup.
2007-02-16 21:00:37 +00:00
Laurent Rineau
53d2c7ce8d
- Attempt to fix the make detection on Solaris.
...
- Fix the Installation module of the testsuite: install.log is now shown entirely.
2007-02-16 18:04:57 +00:00
Marc Pouget
30f202c81b
gllobal scope ::dgelss
2007-02-16 17:17:05 +00:00
Marc Pouget
5b5ad2b887
details
2007-02-15 16:39:26 +00:00
Marc Pouget
991165bbcf
add CGAL_USE_F2C
2007-02-15 15:39:11 +00:00
Sylvain Pion
a43ef5251c
Update where ImageIO is located.
...
Clarify that duality is not parallel licenses.
2007-02-15 15:36:44 +00:00
Marc Pouget
6ddd966639
added support for lapack
2007-02-15 15:35:59 +00:00
Sylvain Pion
822d0ccb14
Rename FEDORA -> LINUX.
...
(maybe it could even be UNIX, or whatever)
2007-02-15 12:44:18 +00:00
Sylvain Pion
691b904e84
Add copyright header and other cleanups.
2007-02-15 12:41:35 +00:00
Efi Fogel
bef9456334
used GNU Make
2007-02-15 11:53:18 +00:00
Efi Fogel
8941c46f57
An attempt to pacify sparc_SunOS-5.9
2007-02-14 18:09:57 +00:00
Laurent Rineau
e46f8e0740
Fix install_name for shared libraries, on Darwin. I forgot to make it depend on the library
2007-02-13 21:38:09 +00:00
Efi Fogel
74a15a1089
tweaked bison handling
2007-02-13 11:08:52 +00:00
Marc Pouget
9b9719b642
switch darwin before fedora
2007-02-13 08:52:03 +00:00
Efi Fogel
a69fc882f1
fixed typo
2007-02-12 21:36:44 +00:00
Marc Pouget
fce122d046
added DOLLAR_WINDOWS_COMPILER, config for fedora.
2007-02-12 15:28:06 +00:00
Marc Pouget
a09b606f7f
added lapack support
2007-02-12 14:03:34 +00:00
Michael Hoffmann
1328f5e2bb
Fixed soname option for Sunpro.
2007-02-12 10:15:13 +00:00
Laurent Rineau
72f5a0baec
Fix the copyright (years range).
2007-02-11 22:07:00 +00:00
Laurent Rineau
bea7da0780
Fix the testsuite outputs for libraries builds
2007-02-11 21:53:18 +00:00
Laurent Rineau
2a6044d966
Fix SONAME support for SunPro CC (Solaris):
...
use "-h" directly, instead of "-Wl,-h,"
2007-02-11 20:01:25 +00:00
Efi Fogel
3761874470
cleanup generic rules
2007-02-11 17:16:39 +00:00
Laurent Rineau
351e57621a
Add SONAME support for Irix and Solaris, based on:
...
http://www.fortran-2000.com/ArnaudRecipes/sharedlib.html
2007-02-10 01:09:02 +00:00
Laurent Rineau
4c484412e4
(Followup to revision 36164.)
...
"Everybody was dreaming of this commit log:
- factorization of makefiles for libCGAL, libCGALimageIO, libCore, and
libBenchmark.
- SONAMEs for everybody."
Add:
- fix platforms without SONAME,
- unify Benchmark/src/Benchmark/makefile with other makefiles.
2007-02-09 23:33:22 +00:00
Laurent Rineau
6fa698ad67
Everybody was dreaming of this commit log:
...
- factorization of makefiles for libCGAL, libCGALimageIO, libCore, and
libBenchmark.
- SONAMEs for everybody.
2007-02-09 22:29:15 +00:00
Laurent Rineau
5465b2aec8
One can build the four shared libraries on Darwing, now. No special treatment
2007-02-09 22:27:37 +00:00
Laurent Rineau
04f803305f
One can now disable static libraries in interactive mode.
...
(Reminder: --disable-static in non-interactive mode.)
2007-02-09 22:26:00 +00:00
Michael Hoffmann
326a56dd90
Speedup those numerous TAUCS tests a bit.
2007-02-09 11:48:24 +00:00
Andreas Fabri
a426092d4d
Windows needs some more header files
2007-02-09 11:11:40 +00:00
Michael Hoffmann
d55b10b759
Remove OPENGL_LIBS and test for it as a separate feature.
2007-02-07 15:46:51 +00:00
Efi Fogel
c6e5125616
Fixes for Windows: 1. Allowed specifying cl as the compiler (and not only cl.exe). 2. Fixed installing into a separate directory
2007-02-07 11:26:32 +00:00
Laurent Rineau
6c6cbdcb1c
The commit that will break everthing:
...
- New library: libCGALimageIO
- make shared libraries for CORE, and Benchmark.
2007-02-02 16:10:06 +00:00
Andreas Meyer
bca23f0c4e
reorganized \gmp, \mpfr, \lidia etc (are now
...
located in cgal_manual.sty)
2007-02-02 14:30:47 +00:00
Andreas Meyer
4ec2c7f37f
testsuite webpage now has entries for libCGAL*
2007-01-11 22:32:08 +00:00
Marc Glisse
8a4899c67d
Add .cpp to .SUFFIXES.
2007-01-09 18:34:10 +00:00
Marc Glisse
ef0af08640
! [ -n "..." ] corrected to:
...
[ ! -n "..." ] and actually to:
[ -z "..." ]
in a shell script.
2007-01-05 17:55:06 +00:00
Marc Glisse
9debb885a7
Update sun studio url.
2006-12-29 16:04:01 +00:00
Laurent Saboret
9d0d302a87
Fixed svn properties of whole trunk
2006-12-18 09:37:55 +00:00
Laurent Saboret
4f61dd97c3
Turn off Visual C++ (silly) warning C4503: decorated name length exceeded
2006-12-04 14:59:20 +00:00
Laurent Rineau
652de4ef9f
Problems with shared libraries under Darwin: only libCGAL can be compiled shared.
2006-11-09 12:59:38 +00:00
Laurent Rineau
db01da6787
amend the installation manual for the option --disable-static
2006-11-08 17:35:35 +00:00
Laurent Rineau
7670f12222
Add the new option --disable-static to the result of --help
2006-11-08 17:06:15 +00:00
Laurent Rineau
0e713f8f29
- add support for shared libCGALQt
...
- enable option "--disable-shared" in install_cgal (non interractive mode only)
2006-11-08 16:43:48 +00:00
Efi Fogel
331e6aa945
Enabled the production of the CGALBenchmakr library
2006-10-12 17:53:05 +00:00
Sylvain Pion
87c173093e
Update list of supported compilers.
...
( The main goal is to warn users of old compilers,
not to afraid users new ones for not much. )
2006-09-22 08:30:03 +00:00
Marc Glisse
744f51f1e4
Sun_fixes.h also applies to linux-SunCC.
2006-09-20 17:44:48 +00:00
Sylvain Pion
cadcde9c39
cmath -> math.h for nextafter().
2006-09-17 08:54:09 +00:00