Commit graph

103 commits

Author SHA1 Message Date
Behdad Esfahbod
59a14f6223 Comment win32 maintainer-clean files again 2009-01-10 13:09:06 -05:00
Søren Sandmann Pedersen
cc51191739 Uncomment win32 maintainer-clean files to make Makefile.am syntactically correct 2009-01-10 12:13:40 -05:00
Behdad Esfahbod
06deaa98b6 [build] Include all generated win32 build files in the repo
So a git clone can be built on win32.  The files only change after adding
new backends.
2009-01-09 15:55:24 -05:00
Chris Wilson
e90073f7dd [test] Build test suite into single binary.
Avoid calling libtool to link every single test case, by building just one
binary from all the sources.

This binary is then given the task of choosing tests to run (based on user
selection and individual test requirement), forking each test into its own
process and accumulating the results.
2008-10-31 12:30:11 +00:00
Carl Worth
81439b3bc8 Add missing files to CLEANFILES and DISTCLEANFILES.
Without these files in these lists, "make distcheck" is unhappy.
2008-10-29 16:19:30 -07:00
Behdad Esfahbod
ab682a6ff2 Add README.win32, courtesy of Damian Frank 2008-09-24 17:23:28 -04:00
Behdad Esfahbod
fba0211ed6 [Makefile.win32] Add makefile rules to generate cairo-features.h 2008-09-22 23:41:07 -04:00
Behdad Esfahbod
ebb5eb57b7 Generate build/Makefile.win32.features 2008-09-22 22:24:38 -04:00
Behdad Esfahbod
2ab77236f8 [Makefile.am] Add util to SUBDIRS
We do nothing by default there right now, but it's correct to include it
anyway.  And we will be installing utilities from there soon (cairo-trace for
example.)
2008-09-15 15:50:14 -04:00
Behdad Esfahbod
b4bbcda1c3 [Makefile.am] Add doc back to SUBDIRS
This reverts cac2ea0fcd
We need doc in SUBDIRS to install docs even if gtk-doc is not available.
The real fix for the build issue without gtk-doc should go under doc/
and is coming in a followup commit.
2008-09-15 15:47:53 -04:00
Chris Wilson
cac2ea0fcd [Makefile] Disable doc/ if we don't have gtk-doc.
make check dies in the documentation even if we have explicitly disabled
gtk-doc - so only enter doc/ with gtk-doc enabled.
2008-09-15 16:28:52 +01:00
Behdad Esfahbod
de5b8bce37 Makefile.am cleanup
Use a common build/Makefile.am.common file.
2008-09-11 15:49:09 -04:00
Behdad Esfahbod
b7a838261b Move m4 macros into build/aclocal.*.m4 files 2008-09-11 04:17:43 -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
06ec8b7743 Move some top-level build files into build/ 2008-09-03 19:09:57 -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
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
Behdad Esfahbod
894940b81f Some nasty tracks to make changing version number not cause a total rebuild
Quite slick!  This comes handy when git-bisect'ing.  The canonical version
number is in toplevel cairo-version.h now.
2008-08-28 18:18:23 -04:00
Behdad Esfahbod
89900525fb Move version number to src/cairo-version.h 2008-08-28 17:28:08 -04:00
Behdad Esfahbod
df64e0e632 Cleanup libtool version handling
In preparation to remove the manual numbering completely
2008-08-27 18:41:22 -04:00
Behdad Esfahbod
98942f99f3 [configure.in] Move library version information to Version.mk 2008-08-27 17:53:30 -04:00
Behdad Esfahbod
78758b6acc [Makefile.am] Add autogen.sh to dist. Oops! 2008-08-23 14:22:58 -04:00
Chris Wilson
d266648276 [configure.in] Revert addition of MACRO_DIR()
Without it we get a three line warning under Ubuntu. However, it just
causes more problems than it is worth with older autoconf/automake.
2008-08-11 08:40:22 +01:00
Chris Wilson
afdf3917ee [configure.in] Slight massage for recent Ubuntu autotools.
Fix up a couple of minor complaints about possibly undefined macros,
cached conditional values and suggested improvements.
2008-08-07 14:03:16 +01:00
Carl Worth
fbd29a4025 Fix 'make doc-publish' for when run twice on the same day 2008-02-28 14:36:32 -08:00
Carl Worth
7800cfd7de Add several Makefile.win32 files to EXTRA_DIST
Otherwise, these files were being omitted from the tar files.
2008-02-06 17:01:22 -08:00
Behdad Esfahbod
9ee7a48b33 [Makefile.am] Minor wording change 2008-01-29 00:50:48 -05:00
Behdad Esfahbod
8e3250b856 [Makefile.am] Remove ROADMAP and TODO from dist files 2008-01-29 00:43:10 -05:00
Chris Wilson
3f202c081d [Makefile.am] Another path massage for lcov.
Beware the inline functions in the headers that are now being pulled
into the boilerplate code.
2008-01-16 23:42:24 +00:00
Chris Wilson
9ebfa8b5fb [Makefile.am] Couple check-ref-missing into release-check
Verify that all the reference images checked into git will be included
within the distribution tarball as early as possible in the release
process.
2008-01-16 23:30:15 +00:00
Chris Wilson
bb41fa22e3 [Makefile.am] Further massage lcov paths for srcdir != builddir.
The lcov scripts generate incorrect absolute paths to the builddir for
source files - so convert them to srcdir using sed.
2008-01-16 23:21:53 +00:00
Chris Wilson
407ed0a6e7 [Makefile.am] Add lcov-clean to distclean.
Clean the gcov temporary files when doing a full clean - spotted in a
patch by Patrick Hulin to adapt cairo's lcov targets to glib.
2007-12-03 18:58:21 +00:00
Chris Wilson
9c73259403 [Makefile.am] Wrap lcov make targets within an AM_CONDITIONAL.
Hide 'make lcov' and friends unless the user has actually enabled lcov
supported during configure.
2007-12-02 18:46:23 +00:00
Chris Wilson
0b65c301a7 [Makefile.am] Change lcov-clean to use more portable constructs.
Replace xargs and rm with the binaries found by configure and drop the
passing of NUL-terminated strings as that is a GNU extension.
2007-10-10 14:56:52 +01:00
Chris Wilson
dbbcb5c26f [Makefile] Correct parameters to lcov reset.
lcov uses -z to zero its counters, not --reset.
2007-10-04 21:18:47 +01:00
Chris Wilson
d837a458b9 [configure] Work-around bad interaction of libtool and lcov
libtool causes the .gcda files to be generated in the .libs/ directory,
separate from the .c source file. lcov expects them to be in the same
directory - so massage the lcov.info file to remove the reference to the
.libs/.

Also separate the target for generating the lcov output, so that it can
be run independently from triggering the tests. And improve convenience
of using the other lcov targets.
2007-09-27 17:46:15 +01:00
Søren Sandmann
12cc32b674 [pixman] Initial port to standalone pixman library. 2007-06-21 22:21:11 -07:00
Behdad Esfahbod
515491334c Add util/ to distribution
We already reference an script in util/ in PORTING_GUIDE, but was
not shipping it!
2007-04-21 07:48:10 -04:00
Behdad Esfahbod
d00aa44206 [Makefile.am] Add a "make snapshot" target
that creates a tarball named with version, date, and git hash of
the tree.  Like cairo-1.4.5-20070420-2a0389.tar.gz.
2007-04-20 01:28:56 -04:00
Chris Wilson
d64ef35521 Include cairo-perf in make check
Although cairo-perf is not written to perform explicit failure testing of
cairo, it does generate long sequences of cairo operations which often
trigger unexpected errors. By including it with make check, it becomes
even easier for the programmer to check that one has not broken cairo in
terms of expected behaviour or performance.
2007-04-19 23:12:09 +01:00
Chris Wilson
5c24711ee6 Restore gcov functionality
Add -lgcov to the shared library else the test programs fail to link.
Add a couple of lcov convenience targets to generate the coverage reports.
2007-04-04 10:13:13 +01:00
Behdad Esfahbod
59e5189818 [Makefile.am] Distribute BIBLIOGRAPHY
Also include all automatically distributed CAPITAL files in there,
to remove any doubts.
2007-04-03 20:46:14 -04:00
Behdad Esfahbod
1720d0b950 [Makefile.am] --enable-test-surfaces in distcheck 2007-03-03 15:42:09 -05:00
Behdad Esfahbod
79acd268d9 [Makefile.am] Remove releasing instructions that are in RELEASING already 2007-03-03 15:41:32 -05:00
Behdad Esfahbod
052acc95e9 [RELEASING] Fix git-tag invocation 2007-03-03 15:32:42 -05:00
Behdad Esfahbod
2f497c25f9 [Makefile.am] Check for ChangeLog sanity in release-publish 2007-03-02 23:59:55 -05:00
Behdad Esfahbod
0ff5192e4c [Makefile.am] Include boilerplate/ in SUBDIRS 2007-02-22 15:44:32 -05:00
Behdad Esfahbod
e759959fd6 [Makefile.am] Pass tag message to git-tag in release-publish
(cherry picked from 7cac87c804 commit)
2006-11-02 21:17:12 -05:00
Behdad Esfahbod
91ffb36faa [Makefile.am] Minor fixes in release-publish output
(cherry picked from 953332d128 commit)
2006-11-02 21:17:12 -05:00