Behdad Esfahbod
82c91ec681
[util] Fix an automake warning
2008-09-04 23:25:57 -04:00
Behdad Esfahbod
965b0e51ec
[test] Do not include "xmalloc.h" directly
...
Not needed, it's renamed and included by boilerplate directly.
2008-09-04 23:25:27 -04:00
Behdad Esfahbod
620e19e849
[configure.ac] Add AM_PROG_CC_C_O
...
Needed for per-target flags in test/Makefile.am
2008-09-04 23:09:58 -04:00
Behdad Esfahbod
4edfdb4b15
Rename build/*.ac to build/configure.ac.*.
...
Also rename configure.in to configure.ac (finally)
configure.in -> configure.ac
build/analysis.ac -> build/configure.ac.analysis
build/enable.ac -> build/configure.ac.enable
build/system.ac -> build/configure.ac.system
build/tools.ac -> build/configure.ac.tools
build/version.ac -> build/configure.ac.version
build/warnings.ac -> build/configure.ac.warnings
2008-09-04 22:33:52 -04:00
Behdad Esfahbod
49f060252a
Rename build/*.mk to build/Makefile.am.*
...
Namely:
build/Analysis.mk -> build/Makefile.am.analysis
build/ChangeLog.mk -> build/Makefile.am.changelog
build/Releasing.mk -> build/Makefile.am.releasing
2008-09-04 22:27:03 -04:00
Behdad Esfahbod
7ad076442d
Rename src/*.mk to src/Makefile.*
...
Namely:
src/Sources.mk -> src/Makefile.sources
src/Config.mk -> src/Makefile.am.config
src/Config.mk.win32 -> src/Makefile.win32.config
2008-09-04 22:23:42 -04:00
Behdad Esfahbod
8da361470f
[configure.in] Forbid arbitrary CAIRO_ patterns in the output
2008-09-04 21:59:27 -04:00
Behdad Esfahbod
33ed2fffb5
[build/enable.ac] Add a feature "type" argument (font, surface, ...)
2008-09-04 21:13:39 -04:00
Behdad Esfahbod
c8e75f1007
[acinclude.m4] Disallow "_CAIRO" patterns in the output
...
Eases m4 writing.
2008-09-04 21:13:17 -04:00
Behdad Esfahbod
86ef1dff59
[configure.in] Break CAIRO_BACKEND_ENABLE into feature-specific ones
2008-09-04 19:50:32 -04:00
Behdad Esfahbod
4a96eb79ce
[build/enable.ac] Reformat for readability
2008-09-04 17:50:15 -04:00
Behdad Esfahbod
c28882728c
[configure.in] Remove unused variables
2008-09-04 17:22:07 -04:00
Behdad Esfahbod
47547cf051
[configure.in] Move report generation to build/enable.ac
2008-09-04 16:41:51 -04:00
Behdad Esfahbod
37f82a4d1b
Get rid of CAIRO_LDADD in favor of CAIRO_LIBS
2008-09-04 16:13:05 -04:00
Behdad Esfahbod
44155f7e59
Cleanup configure.in macros
2008-09-04 16:08:41 -04:00
Behdad Esfahbod
0e01534bf0
[boilerplate] Rename xmalloc.[ch] to boilerplate namespace
2008-09-04 15:53:33 -04:00
Behdad Esfahbod
c16b4520ec
[autogen.sh] Only search in build/*.ac
2008-09-04 09:07:52 -04:00
Chris Wilson
f92c7c2b25
[autogen] Check build/ for versions.
...
Add the build/*.mk to extract_version() so that it correctly identifies
our requirements.
2008-09-04 03:06:58 +01:00
Behdad Esfahbod
097c4ac022
[Makefile.am] Use check_PROGRAMS
2008-09-03 20:52:17 -04:00
Behdad Esfahbod
308a2ca928
[doc/public/check-doc-coverage.sh] Also test cairo-undeclared
2008-09-03 20:52:17 -04:00
Behdad Esfahbod
b1ced45f06
[doc] Fix out-of-tree build
2008-09-03 20:52:12 -04:00
Behdad Esfahbod
5c45aa1308
[configure.in] Split in various files
...
Now the configure.in file mostly holds the backend enabling logic.
The usual cruft has been moved in smaller files named build/*.ac.
2008-09-03 20:06:26 -04:00
Behdad Esfahbod
06ec8b7743
Move some top-level build files into build/
2008-09-03 19:09:57 -04:00
Vladimir Vukicevic
2cf4b3161c
[quartz] move _cairo_quartz_create_cgimage to cairo-quartz-surface.c
2008-09-03 15:34:40 -07:00
Behdad Esfahbod
e3fb4921a3
[configure.in] No, OS X sed is broken in much more than one way, really
2008-09-03 17:53:15 -04:00
Behdad Esfahbod
6213664042
[configure.in] Travis says this time it will work...
2008-09-03 17:21:05 -04:00
Behdad Esfahbod
190a328204
[configure.in] I'm reminded that it's more portable to do -i first...
2008-09-03 17:15:07 -04:00
Behdad Esfahbod
55690639c7
[configure.in] Don't use sed -e. Fixes build on Macs
2008-09-03 17:05:53 -04:00
Behdad Esfahbod
df7e365662
[configure.in] Oops, this m4 quoting is tricky. Another try.
2008-09-03 16:48:43 -04:00
Behdad Esfahbod
f2f1653fcf
[configure.in] m4 voodoo
2008-09-03 16:40:35 -04:00
Behdad Esfahbod
3760a01926
[configure.in] Use $SED instead of sed
2008-09-03 16:40:24 -04:00
Behdad Esfahbod
5ea2555c12
[Makefile.am] Move lcov rules to Analysis.mk
2008-09-03 12:16:36 -04:00
Behdad Esfahbod
c8f23c2fcc
[Makefile.am] Move releasing rules to Releasing.mk
2008-09-03 12:06:51 -04:00
Behdad Esfahbod
99e2e2d0bb
[src/Makefile.am] Minor fix in MAINTAINERCLEANFILES
2008-09-03 12:06:35 -04:00
Behdad Esfahbod
2791d51f6e
[src/README] Refer to BIBLIOGRAPHY
2008-09-03 11:41:41 -04:00
Chris Wilson
8992312df0
[scaled-fonts] Cleanup a couple of valgrind warnings.
...
Beware the propagation of uninitialised variables and forgotten error
codes.
2008-09-03 16:33:49 +01:00
Behdad Esfahbod
855310bc1f
[HACKING] Write some more paragraphs
2008-09-03 11:32:17 -04:00
Chris Wilson
3b7726e3d4
[src/Makefile.am] s/libcairo_la_CFLAGS/INCLUDES/
...
Update the custom rules after the overall to the build system.
2008-09-03 14:07:37 +01:00
Chris Wilson
c18cc5b441
[src/Makefile.am] make check compile fix
...
Minor typo preventing TESTS from building.
2008-09-03 10:20:45 +01:00
Behdad Esfahbod
cf212ddaca
Also test linking when cross-compiling
...
We build the test. Just don't run it.
2008-09-02 22:05:06 -04:00
Behdad Esfahbod
78127c7fb4
[boilerplate/check-link.c] Oops. Add it.
2008-09-02 22:03:05 -04:00
Behdad Esfahbod
bd9743b318
[HACKING] Improve win32 note.
2008-09-02 22:01:37 -04:00
Behdad Esfahbod
0234fb9197
[boilerplate/check-link.c] Check that we can link to the built boilerplate
2008-09-02 22:00:05 -04:00
Behdad Esfahbod
7e45937e21
[boilerplate] Add cairo_boilerplate_version[_string]() functions
2008-09-02 21:56:37 -04:00
Behdad Esfahbod
a7951081f1
Move _GNU_SOURCE declarations to where it's used
...
Such that we don't rely on more GNU extensions accidentally.
2008-09-02 21:54:09 -04:00
Behdad Esfahbod
b4cee2bd88
[boilerplate] Remove obsolete reference to pixman
2008-09-02 21:36:20 -04:00
Behdad Esfahbod
e3d190c92f
[boilerplate] Cleanup
2008-09-02 21:35:18 -04:00
Behdad Esfahbod
af0069c1c4
[autogen.sh] Create dummy src/Config.mk so we can bootstrap
2008-09-02 21:31:47 -04:00
Behdad Esfahbod
2823ebaa6e
[src/check-link.c] Simple test to check we can link to the built cairo.so
2008-09-02 21:31:43 -04:00
Behdad Esfahbod
5926257770
Revamp the build system.
...
Quick summary of changes:
- Move list of cairo source files out of src/Makefile.am and into
src/Sources.mk,
- Generate files src/Config.mk and src/Config.mk.win32 that choose
the right set of source files and headers based on configured
backends and features. This drastically simplifies building
using other build systems. The src/Makefile.win32 file needs
to be updated to reflect these changes.
- Add README files to various directories,
- Add toplevel HACKING file.
2008-09-02 20:24:08 -04:00