Commit Graph

76 Commits

Author SHA1 Message Date
Joel Rosdahl
4041395788 Don't remove version.c when cleaning a release build 2010-08-05 10:54:36 +02:00
Joel Rosdahl
16b25cac09 Make reading and writing of statistics counters forward-compatible
Previously, ccache threw away counters values it didn't know about, i.e., new
counters coming from later ccache versions.
2010-08-04 11:03:40 +02:00
Joel Rosdahl
9d50112a57 make: Remove left-over rules already moved to dev.mk.in 2010-08-02 13:07:47 +02:00
Joel Rosdahl
852228dea5 Implement file locking primitives
Windows support is not yet done.
2010-08-01 17:20:33 +02:00
Joel Rosdahl
c1dcc3fc53 testfw: Add some utility functions 2010-08-01 17:20:03 +02:00
Joel Rosdahl
2d590e3ca5 Let configure figure out which test suites to include 2010-07-17 18:32:02 +02:00
Joel Rosdahl
050d58c306 Portability: Don't use make variable $^ 2010-07-17 12:05:47 +02:00
Joel Rosdahl
86d6a5d7cb Link test/main with local zlib if needed 2010-07-16 22:37:04 +02:00
Joel Rosdahl
fa933d884d Portability: Don't use the $(var:%=%) construction
Sadly, it seems to not work with some makes, e.g. on HP-UP.
2010-07-16 18:16:49 +02:00
Joel Rosdahl
dcfd19e363 Fix creation of test/suites.h in out-of-source builds 2010-07-16 17:38:59 +02:00
Joel Rosdahl
aa1e6b531f Fix out-of-source builds by adding -I$(srcdir)
This is needed when source files in subdirs need to include headers in the top
dir.
2010-07-16 17:37:30 +02:00
Joel Rosdahl
a996b5dd1b Let installcheck run unit tests as well 2010-07-16 17:27:38 +02:00
Joel Rosdahl
d1ccf73aae Regenerate test/suites.h on Makefile updates
This will make the build system pick up addition/removal of test suites.
2010-07-16 14:44:24 +02:00
Joel Rosdahl
bbdf06a8d4 Add framework for tests written in C 2010-07-16 01:32:06 +02:00
Joel Rosdahl
bf8a44fa64 Split the main function into a separate compilation unit
This will allow linking another main function with ccache.o.
2010-07-15 19:20:33 +02:00
Joel Rosdahl
a417ea68b2 Add exit functions functionality 2010-07-14 18:59:06 +02:00
Joel Rosdahl
93cb69dbee Move make rule for ccache.1 to dev.mk.in 2010-06-19 18:51:14 +02:00
Joel Rosdahl
85de04e8e5 Remove obsolete rules already moved to dev.mk.in 2010-06-19 18:50:36 +02:00
Joel Rosdahl
342dae0d59 Include git revision info in version number 2010-06-09 21:10:03 +02:00
Joel Rosdahl
763d2d389f Don't strip the ccache binary when installing
The user can do that himself if wanted.
2010-05-16 18:30:27 +02:00
Joel Rosdahl
2dc0d93238 Improve performance measurement script 2010-05-02 15:04:44 +02:00
Joel Rosdahl
40af60caec Convert all documentation files to AsciiDoc and rename ccache.txt to manual.txt 2010-04-28 20:44:33 +02:00
Joel Rosdahl
e48e3e665c Pass $(CXX) to perf.sh from the makefile 2010-04-28 20:08:47 +02:00
Joel Rosdahl
b2dd02bbdc Refactoring: move hash_*_ignoring_comments to hash_include_file_* in testutil 2010-04-25 15:44:18 +02:00
Joel Rosdahl
712a416de6 Convert NEWS to asciidoc format 2010-04-24 10:36:57 +02:00
Joel Rosdahl
27e67fa679 Create nicer HTML page of the manual 2010-04-22 23:10:46 +02:00
Joel Rosdahl
7f8fbdb02a Add rule for generating an HTML man page 2010-04-22 22:18:20 +02:00
Joel Rosdahl
46e577edb7 Convert man page from yodl to asciidoc format 2010-04-22 22:17:29 +02:00
Joel Rosdahl
271a4e48af Remove superfluous dependencies from test/perf targets 2010-03-03 22:05:31 +01:00
Joel Rosdahl
c3e0367332 Remove unused CC variable from perf.sh command line 2010-03-03 22:04:44 +01:00
Kovarththanan Rajaratnam
3546fb39c2 Add perf target 2010-03-02 07:10:34 +01:00
Joel Rosdahl
d5dad3c61b Portability: Define explicit compilation rule to pick up CPPFLAGS on HP-UX 2010-02-28 10:27:24 +01:00
Joel Rosdahl
6c5b4b7efc Only clean non-dev stuff in Makefile's clean target 2010-02-26 22:22:00 +01:00
Joel Rosdahl
1af0bd8486 Portability: don't require GNU make
The part of Makefile.in that requires GNU make has been split into dev.mk.in,
and the configure script has learned a new --enable-dev option that makes
Makefile include dev.mk. The configure script doesn't check for GNU make
anymore. There is also a new configure-dev convenience script that runs
configure with --enable-dev.
2010-02-26 21:24:09 +01:00
Joel Rosdahl
f9cf675f44 Bundle (a subset of) zlib 1.2.3 for portability
The bundled zlib copy is only used when no suitable system zlib can be found.
2010-02-25 23:27:58 +01:00
Joel Rosdahl
145462baa9 Use our own getopt_long 2010-02-17 20:10:00 +01:00
Joel Rosdahl
1f5b0aa358 Extracted common dist archive build commands into a variable 2010-02-15 22:59:05 +01:00
Joel Rosdahl
2ef46395cd Don't treat missing ccache.1 as an error when installing 2010-02-15 08:42:28 +01:00
Joel Rosdahl
50089dd543 Remove references to the web directory 2010-02-14 10:20:59 +01:00
Joel Rosdahl
6982e2e7cd Use $(MAKE) to invoke submakes 2010-02-14 10:19:00 +01:00
Joel Rosdahl
66d7623382 Add some simple README and INSTALL files 2010-02-12 21:52:28 +01:00
Joel Rosdahl
0386c0c151 Include NEWS in the dist archive 2010-01-06 22:23:11 +01:00
Joel Rosdahl
2b14cabf64 Fix flymake-mode support again 2010-01-06 22:23:10 +01:00
Joel Rosdahl
00c04c79ac Put dependency files in a subdirectory 2010-01-05 18:53:04 +01:00
Joel Rosdahl
36014d7275 Add .PHONY target declarations 2010-01-05 18:53:04 +01:00
Joel Rosdahl
1c8693f58d Add distcheck make target 2010-01-05 18:53:04 +01:00
Joel Rosdahl
7057b132a4 Make build in separate build directory work again 2010-01-05 18:53:04 +01:00
Joel Rosdahl
0114296fcb Unify comments when hashing source code to increase hit rate 2010-01-05 18:53:04 +01:00
Joel Rosdahl
24f886c412 Implement installcheck make target 2010-01-05 18:53:03 +01:00
Joel Rosdahl
ed90c13b1a Clean up Makefile and add dist target 2010-01-05 18:53:03 +01:00