June 28, 2008
View 7742b1d

- experimental make cfg /config support: make cfg fore regeneration of the "build" config, saved in config.mak. This config is used instead of including Makefile.defs each time. The config is also automatically generated if missing. The speed improvements are dramatic in most cases: make proper 15 times faster, make clean 8 times, make with generated config 2.6 times faster then before, make rebuilding only one file 9 times faster. E.g.: make cfg include_modules=mysql CPU=pentium-m BASEDIR=/tmp/ser make install # builds default ser + mysql, optimized for pentium-m # and installs in /tmp/ser/usr/local/* make clean # cleans default modules + mysql

Andrei Pelinescu-Onciul authored on 28/06/2008 00:35:25
June 26, 2008
View 6567f6c

- don't try to build dependencies or lex/yacc stuff unless it's really necessary (makefile target != clean,doc,modules, a.s.o ; for the complete long list see Makefile.targets)

Andrei Pelinescu-Onciul authored on 26/06/2008 09:07:35
June 24, 2008
View 5cace4e

- check defines and includes used at compile time and if different force rebuilding everything in the current dir (creates a new file: makecfg.lst that stores the compile defines & includes used at compile time). This should solve problems such as compiling mysql with malloc debugging, modifiyng a file and then recompiling without malloc debugging.

Andrei Pelinescu-Onciul authored on 24/06/2008 14:39:52
March 3, 2008
View f6a0667

- fixed latest changes: restored @ (don't show .d creation commands), restored set -e, replaced {} with () (more portable)

Andrei Pelinescu-Onciul authored on 03/03/2008 19:01:18
View bcf9e57

Fixed %.d:%.c rule to fail if the target file was not created or is empty

Ondrej Martinek authored on 03/03/2008 16:35:44
March 2, 2008
View eac2c67

- .d generation fix: sed with POSIX.1 re (e.g. Darwin, Solaris) does not support '\?' (or '\+' or '\|')

Andrei Pelinescu-Onciul authored on 02/03/2008 15:04:16
February 11, 2008
View 4731698

- missing '(' in sed dep. rules fixed (thanks to Ondrej <ondra@iptel.org)

Andrei Pelinescu-Onciul authored on 11/02/2008 16:42:32
August 13, 2007
View a51f9e3

- make doxygen and clean_doxygen targets available in module Makefiles

Jan Janak authored on 13/08/2007 12:37:02
May 25, 2007
View 08067fd

- more darwin build with libs fixes (works now) - sercmd is no longer force-rebuilt every time

Andrei Pelinescu-Onciul authored on 25/05/2007 15:50:11
May 21, 2007
View da33ba7

- generic build libs fixes - untested darwin support for automatically setting the library path / rebuilding the lib on changed install path (on darwin the library install path is stored in the library itself and from there it is copied in the linked object => if the library path is changed we have to re-link the library instead of re-linking the object that links it)

Andrei Pelinescu-Onciul authored on 21/05/2007 13:55:51
May 8, 2007
View 28b28d2

- fix: s/-/_/ in exported Makefile vars (some shells don't support '-' in variables)

Andrei Pelinescu-Onciul authored on 08/05/2007 09:03:11
April 24, 2007
View 2e3486a

Pass $(CFLAFS) to $(MKDEP) so that it's consistent with compiler invocation.

Maxim Sobolev authored on 24/04/2007 01:35:10
March 29, 2007
View 3922c02

- modules are installed by Makefile.modules - rpath is automatically set up for modules using ser libraries on install or make (rpath is different for installed modules and for modules only compiled) - ser libraries are built and installed automatically if a module needs them (the module must define SER_LIBS in its makefile). See print_lib for an example.

Andrei Pelinescu-Onciul authored on 29/03/2007 23:38:02
March 16, 2007
View c853f68

- better support for building libraries added (should work on all archs, sets soname, rpath a.s.o). static libs are not yet supported.

Andrei Pelinescu-Onciul authored on 16/03/2007 21:53:54
September 29, 2006
View cbd93cf

Added new target for makefile: modules-doc. Can be used together with include_modules and exclude_modules to create doc files in the supported format. Added new option to make: doc_format=format, where formats can be txt, html, xhtml, or pdf. Default format is html. Updated proper and clean targets to also include module doc dirs. Example: make exclude_modules="something" doc_format="txt" modules-doc

Greger V. Teigre authored on 29/09/2006 07:52:24