summaryrefslogtreecommitdiff
path: root/Makefile.am
AgeCommit message (Collapse)AuthorFilesLines
2014-05-04docs: Add a README.rationale documenting major design decisionsPhilip Withnall1-0/+1
It will be useful to document the major decisions which affect the whole of GLib in one centralised, easily-greppable file, otherwise they will get lost forever in Bugzilla. This file should contain a brief explanation of the decision and its rationale, plus a link to further discussion (e.g. on a mailing list or bug report). This contains an initial discussion about use of compiler attributes in GLib. https://bugzilla.gnome.org/show_bug.cgi?id=113075
2013-11-23glib-tap.mk: fix to actually use the TAP driverDan Winship1-0/+1
The Makefile rules in glib-tap.mk were copied from an example that assumed that all the test programs had names ending in ".test", so they didn't actually have any effect for us and resulted in us still using the standard automake test driver. Fix this so we actually do use TAP now. https://bugzilla.gnome.org/show_bug.cgi?id=711796
2013-08-19Dist tap-test scriptMatthias Clasen1-0/+1
Otherwise it won't be around when make distcheck is looking for it.
2013-08-19Fix make checkMatthias Clasen1-1/+2
The glib/tests contained some tests for gtester. Now that we're not including glib.mk anymore, we have to define GTESTER ourselves.
2013-06-22Makefile.am: move gtk-doc.make back to EXTRA_DISTRyan Lortie1-2/+4
0192c599377c35cc465eed1ae61de56d5a1034e8 moved this file from EXTRA_DIST TO BUILT_EXTRA_DIST for an unknown reason. Having it here causes the timestamp to be updated during 'make dist' to something newer than docs/reference/*/Makefile.in. This is a problem because those Makefile.in are generated by including gtk-doc.make, so automake becomes convinced that they need to be regenerated. This is a problem for people who don't have automake installed, or have the wrong version. The timestamp problem has been around for quite a while, but it only became a problem recently after automake changed policy about this in commit a22717dffe37f30ef2ad2c355b68c9b3b5e4b8c7. Specifically: https://bugzilla.gnome.org/show_bug.cgi?id=700350
2013-05-31Rework the build system for a new tests approachRyan Lortie1-11/+6
Perform a substantial cleanup of the build system with respect to building and installing testcases. First, Makefile.decl has been renamed glib.mk and substantially expanded. We intend to add more stuff here in the future, like canned rules for mkenums, marshallers, resources, etc. By default, tests are no longer compiled as part of 'make'. They will be built when 'make check' is run. The old behaviour can be obtained with --enable-always-build-tests. --disable-modular-tests is gone (because tests are no longer built by default). There is no longer any way to cause 'make check' to be a no-op, but that's not very useful anyway. A new glibtests.m4 file is introduced. Along with glib.mk, this provides for consistent handling of --enable-installed-tests and --enable-always-build-tests (mentioned above). Port our various test-installing Makefiles to the new framework. This patch substantially improves the situation in the toplevel tests/ directory. Things are now somewhat under control there. There were some tests being built that weren't even being run and we run those now. The long-running GObject performance tests in this directory have been removed from 'make check' because they take too long. As an experiment, 'make check' now runs the testcases on win32 builds, by default. We can't run them under gtester (since it uses a pipe to communicate with the subprocess) so just toss them in TESTS. Most of them are passing on win32. Things are not quite done here, but this patch is already a substantial improvement. More to come.
2013-01-18Add new API checking utilityRyan Lortie1-1/+6
Add a test script to make sure that (with a few exceptions) only symbols that start with 'g_' are being exported from our public libraries. https://bugzilla.gnome.org/show_bug.cgi?id=692029
2012-10-29mkinstalldirs: Delete from version controlColin Walters1-5/+0
This is installed by automake. By maintaining it in git, we create merge conflicts as people build with different versions of automake. Just use 'mkdir -p' instead in gettext. Should be portable enough. https://bugzilla.gnome.org/show_bug.cgi?id=686839
2012-04-15build: Add --disable-modular-tests build optionColin Walters1-1/+6
This patch solves two problems: First, it allows builders to optionally cut the circular dependency between dbus and glib by disabling the modular tests (just like how the tests can be disabled in dbus). Second, the tests are entirely pointless to build if cross-compiling. It also moves us slightly closer to the long term future we want where the tests are a separate ./configure invocation and run against the INSTALLED glib, not the one in the source tree. This would allow us to run the tests constantly, not just when glib is built. https://bugzilla.gnome.org/show_bug.cgi?id=667806
2011-10-16drop -uninstalled.pc filesRyan Lortie1-8/+1
These were meant to provide the ability to use GLib directly out of its build tree but have a couple of rather serious limitations that prevent their serious use: - these files only worked with programs built using libtool - for non-trivial uses, other environment variables will need to be setup to allow GLib to function properly - the system doesn't stack well when attempting to use multiple libraries all uninstalled The jhbuild --prefix= style system works much better in every way, so we remove this old hack.
2011-08-29Don't distribute MAINTAINERSMatthias Clasen1-1/+0
...it does not exist anymore.
2011-07-05build: Use --disable-maintainer-mode for distcheckColin Walters1-1/+1
Otherwise due to weird things like gtk-doc.make copying files back into the source directory, we may run into the maintainer mode bits mistakenly attempting to rerun.
2011-06-21Fix a srcdir!=builddir issue, and export that we support itColin Walters1-0/+3
Future jhbuild versions will consume the BUILD API and automatically use a builddir, so mark us as supporting it.
2010-07-13Clean autotools config a bitJavier Jardón1-3/+1
New requirements: autoconf >= 2.62 automake >= 1.10 libtool >= 2.2
2010-07-12move glibconfig.h to glib/Ryan Lortie1-17/+1
2010-07-10Add ACLOCAL_AMFLAGS to Makefile.amMatthias Clasen1-0/+2
Patch by Vincent Untz, bug 570036
2010-06-20Add support for coverage reports with lcovMatthias Clasen1-1/+1
Patch by Patrick Hulin, bug #501057.
2010-06-17Add 'if' that was absorbed by $(AM_V_GEN)Ryan Lortie1-1/+1
From commit 1b8ee5196eb8ed684b0ee0d2f0d26e6bd82656af
2010-06-15Sprinkle some $(AM_V_GEN) around to make the build more silent.Christian Persch1-3/+2
2010-04-19Add GWin32InputStream and GWin32OutputStream classesTor Lillqvist1-0/+5
Correspond to GUnixInputStream and GUnixOutputStream. No true async support though. But that is how the Win32 API is, for files not explicitly opened for so-called overlapped IO. The API to create these streams takes Win32 HANDLEs. Not file descriptors, because file descriptors are specific to the C library used. The user code and GLib might be using different C libraries. Also add a test program for the new classes, and a gio-windows-2.0.pc file.
2009-12-22Install gio-unix-2.0.pc only on UnixTor Lillqvist1-1/+5
The gio-unix-2.0 headers are installed only on Unix anyway.
2009-04-02Add a rule to generate ChangeLogMatthias Clasen1-2/+20
We use the same rule pango uses to create a ChangeLog file with the help of git-log. The format is somewhat different from traditional ChangeLog, but it contains the relevant information.
2009-03-31Update README files to refer to gitMatthias Clasen1-0/+1
Update various README files to refer to git instead of svn. Add a README.commits that is pretty much a copy of the same file in GTK+. Also discontinue ChangeLog files.
2008-12-012.19.1Matthias Clasen1-1/+1
svn path=/trunk/; revision=7717
2008-02-07fixed build order to build gobject after gmodule gthread so gobject tests12:58:54 Tim Janik1-1/+1
2008-02-07 12:58:54 Tim Janik <timj@imendio.com> * Makefile.am: fixed build order to build gobject after gmodule gthread so gobject tests can be threaded. svn path=/trunk/; revision=6480
2007-12-212.15.0Matthias Clasen1-0/+1
svn path=/trunk/; revision=6180
2007-12-01Don't descend into build/. (#500875)Behdad Esfahbod1-1/+2
2007-12-01 Behdad Esfahbod <behdad@gnome.org> * Makefile.am: Don't descend into build/. (#500875) svn path=/trunk/; revision=6012
2007-11-26gio/ docs/reference/gio Merged gio-standalone into glib.Alexander Larsson1-3/+7
2007-11-26 Alexander Larsson <alexl@redhat.com> * Makefile.am: * configure.in: * gio-2.0-uninstalled.pc.in: * gio-2.0.pc.in: * gio-unix-2.0-uninstalled.pc.in: * gio-unix-2.0.pc.in: * gio/ * docs/reference/gio Merged gio-standalone into glib. * glib/glibintl.h: * glib/gutils.c: Export glib_gettext so that gio can use it Add P_ (using same domain for now) Add I_ as g_intern_static_string svn path=/trunk/; revision=5941
2007-11-25Replace INCLUDES by AM_CPPFLAGS, other cleanups.Matthias Clasen1-2/+5
2007-11-24 Matthias Clasen <mclasen@redhat.com> * */Makefile.am: Replace INCLUDES by AM_CPPFLAGS, other cleanups. svn path=/trunk/; revision=5932
2007-11-21initialize automake variables EXTRA_DIST and TEST_PROGS for unconditional21:06:47 Tim Janik1-1/+2
2007-11-21 21:06:47 Tim Janik <timj@imendio.com> * Makefile.decl: initialize automake variables EXTRA_DIST and TEST_PROGS for unconditional appending via += in other makefiles. define recursive test targets: test, test-report, perf-report, full-report, as described here: http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html * Makefile.am: * build/win32/vs8/Makefile.am, build/win32/dirent/Makefile.am: * build/win32/Makefile.am, build/Makefile.am: * docs/Makefile.am, docs/reference/Makefile.am: * docs/reference/glib/Makefile.am, docs/reference/gobject/Makefile.am: * gmodule/Makefile.am, tests/Makefile.am: * tests/refcount/Makefile.am, tests/gobject/Makefile.am: * glib/update-pcre/Makefile.am, glib/libcharset/Makefile.am: * glib/tests/Makefile.am, glib/pcre/Makefile.am: * glib/gnulib/Makefile.am, gobject/Makefile.am, m4macros/Makefile.am: * gthread/Makefile.am, glib/Makefile.am: include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments. * glib/tests/Makefile.am: removed example testing rules. * glib/tests/testing.c: conditionalized performance and slow tests. * glib/gtestutils.h: * glib/gtestutils.c: work around g_test_config_vars not changing its exported value after value assignments, aparently due to symbol aliases. * glib/gtester.c: fixed off-by-one error which produced junk in logs. * configure.in: check for python >= 2.4 and provide $PYTHON for scripts. svn path=/trunk/; revision=5914
2007-11-09Add AM_PROG_CC_C_O.Matthias Clasen1-7/+3
2007-11-09 Matthias Clasen <mclasen@redhat.com> * configure.in: Add AM_PROG_CC_C_O. * Makefile.am: Remove the install-exec-local hook and use configexecincludedir_DATA instead, in an attempt to avoid automake 1.9 <> 1.10 incompatibilities. * glib/Makefile.am: Rename MIRRORING_TAB_SOURCES, since automake 1.10 complains. svn path=/trunk/; revision=5848
2007-11-09Use MKDIRS_P instead of mkinstalldirs.Matthias Clasen1-1/+1
2007-11-08 Matthias Clasen <mclasen@redhat.com> * Makefile.am: Use MKDIRS_P instead of mkinstalldirs. svn path=/trunk/; revision=5829
2007-08-042.14.0GLIB_2_14_0Matthias Clasen1-1/+1
svn path=/trunk/; revision=5674
2007-04-15Makefile.am Add the references to build back.Tor Lillqvist1-1/+1
2007-04-15 Tor Lillqvist <tml@novell.com> * Makefile.am * configure: Add the references to build back. svn path=/trunk/; revision=5451
2007-01-19Some file list updates (#398069, Owen Taylor)Matthias Clasen1-0/+5
2007-01-19 Matthias Clasen <mclasen@redhat.com> Some file list updates (#398069, Owen Taylor) * docs/Changes-2.0.txt * docs/reference/README.cvs-commits * glib.spec.in: Remove obsolete files * tests/Makefile.am: * glib/libcharset/Makefile.am: * gobject/Makefile.am: * Makefile.am: Add some missing files to EXTRA_DIST * tests/timeloop-basic.c: Make it build * HACKING: Small updates svn path=/trunk/; revision=5302
2007-01-02configure.in remove references to build/ until a proper decision has beenMichael Natterer1-1/+1
2007-01-02 Michael Natterer <mitch@imendio.com> * configure.in * Makefile.am: remove references to build/ until a proper decision has been made what to do with it. svn path=/trunk/; revision=5189
2006-03-09dist all changelogsMatthias Clasen1-0/+1
2005-05-06Added gmodule-no-export-2.0-uninstalled.pc.in to allow building of otherBrian Cameron1-1/+3
2005-05-06 Brian Cameron <brian.cameron@sun.com> * configure.in, gmodule-no-export-2.0-uninstalled.pc.in, Makefile.am: Added gmodule-no-export-2.0-uninstalled.pc.in to allow building of other libraries like pango when glib is uninstalled.
2005-01-10Add missing ChangeLog.pre*Owen Taylor1-0/+2
2005-01-10 Owen Taylor <otaylor@redhat.com> * Makefile.am (EXTRA_DIST): Add missing ChangeLog.pre*
2005-01-07Generate and distribute gmodule-export-2.0.pc, which is currently just aMatthias Clasen1-1/+2
2005-01-07 Matthias Clasen <mclasen@redhat.com> * configure.in: * Makefile.am: Generate and distribute gmodule-export-2.0.pc, which is currently just a copy of gmodule-2.0.pc, but makes it explicit that it adds --export-dynamic. * gmodule-export-2.0.pc.in: Copy of gmodule-2.0.pc.in.
2004-11-17Add gmodule-no-export-2.0.pc.inMatthias Clasen1-1/+2
2004-11-16 Matthias Clasen <mclasen@redhat.com> * Makefile.am (EXTRA_DIST): * configure.in (AC_CONFIG_FILES): Add gmodule-no-export-2.0.pc.in * gmodule-no-export-2.0.pc.in: Add a variants of gmodule-2.0.pc.in which doesn't add -Wl,--export-dynamic, since Pango or GTK+ don't need it. (#125627, Owen Taylor)
2004-07-21Fix #132858, Sven Neumann, patch by James Henstridge:Matthias Clasen1-0/+4
2004-07-21 Matthias Clasen <mclasen@redhat.com> Fix #132858, Sven Neumann, patch by James Henstridge: * glib-gettextize.in: modify so that mkinstalldirs will get installed into auxdir. * Makefile.am (gettext_SCRIPTS): install mkinstalldirs.
2004-07-18=== Released 2.5.0 ===GLIB_2_5_0Soeren Sandmann1-4/+3
Sun Jul 18 19:40:30 2004 Soeren Sandmann <sandmann@daimi.au.dk> * === Released 2.5.0 === * Makefile.am (BUILT_EXTRA_DIST): move gtk-doc.make here.
2004-03-06Update.Tor Lillqvist1-1/+0
2004-03-06 Tor Lillqvist <tml@iki.fi> * README.win32: Update. * configure.in * Makefile.am * */Makefile.am: Drop the hand-written makefile.mingw(.in) files. They haven't been maintained in a long time. As several people have managed to build GLib for Win32 using the autoconfiscation mechanism, there is no real reason to even try to maintain the hand-written mingw makefiles.
2003-03-04require automake 1.7. Add calls to libtoolize and gtkdocize. Clean up someJames Henstridge1-35/+17
2003-03-01 James Henstridge <james@daa.com.au> * autogen.sh: require automake 1.7. Add calls to libtoolize and gtkdocize. Clean up some of the error messages. * configure.in: move version declaration to the top of the file (before AC_INIT), using M4 macros. GLIB_AC_DIVERT_BEFORE_HELP() calls no longer necessary, due to use of M4 macro expansion in help messages instead. Convert AC_ARG_WITH/AC_ARG_ENABLE calls to use AC_HELP_STRING to format help strings. Use quadrigraphs to get square brackets to show correctly. Replace gtk-doc checks with a call to GTK_DOC_CHECK() macro. Use AC_CONFIG_COMMANDS([glibconfig.h], ...) to output glibconfig.h, so that "./config.status glibconfig.h" works. Add an extra AC_CONFIG_FILES call listing other files we want generated by config.status protected by an "if false" block. This way automake generates the rules needed to rebuild the files for us. Add quotes in various places. * docs/reference/*/Makefile.am: convert to use the common gtk-doc.make file. This localises the complexity to a single makefile fragment maintained with gtk-doc itself. * */Makefile.am: remove unneeded rules to build win32 files with config.status. Automake now does this for us. Replace instances of @FOO@ with $(FOO) where appropriate -- this allows automake to do a better job checking the makefile. Add some files to DISTCLEANFILES where appropriate * Makefile.am: use the DISTCHECK_CONFIGURE_FLAGS variable to ensure that --enable-gtk-doc is passed to configure during a distcheck. Remove the custom distcheck, since the standard one will now do. * gobject/Makefile.am: switch to BUILT_SOURCES, since that now works.
2003-02-11Include ChangeLog.pre-2-2.Tor Lillqvist1-0/+1
2003-02-11 Tor Lillqvist <tml@iki.fi> * Makefile.am (EXTRA_DIST): Include ChangeLog.pre-2-2.
2003-01-30Remove references to glib.spec. (#102231)Owen Taylor1-3/+2
Thu Jan 30 16:45:13 2003 Owen Taylor <otaylor@redhat.com> * Makefile.am: Remove references to glib.spec. (#102231) * configure.in: Don't generate glib.spec.
2003-01-04Don't distribute glib-zip.Tor Lillqvist1-2/+1
2003-01-04 Tor Lillqvist <tml@iki.fi> * Makefile.am (BUILT_EXTRA_DIST): Don't distribute glib-zip.
2002-05-06[ merged from stable ]Owen Taylor1-0/+1
Mon May 6 11:48:08 2002 Owen Taylor <otaylor@redhat.com> [ merged from stable ] * Makefile.am (EXTRA_DIST): Add ChangeLog.pre-2-0 (#78641) * m4macros/glib-2.0.m4: save CFLAGS/LIBS properly when compiling "what went wrong" test case. (#79330) * m4macros/glib-2.0.m4: Remove reference to editing pkg-config script. (From Jim Gettys) * configure.in: (Look for dyld interfaces before dlopen() since OS X can have both. Patch from Jacob Berkman, #80438)
2002-03-08Updates.Owen Taylor1-1/+0
Fri Mar 8 00:15:29 2002 Owen Taylor <otaylor@redhat.com> * README.in: Updates. * README.in: Add warnings about current encoding problems with .po files and error logging functions. * configure.in: Check for bind_textdomain_codeset(). * glib/gutils.c (_glib_gettext): Call bind_textdomain_codeset, if present. * INSTALL.in: Some updates. * AUTHORS: Updates. * Makefile.am (EXTRA_DIST): Remove TODO.xml from EXTRA_DIST. * docs/Makefile.am (EXTRA_DIST): Remove Changes-2.0.txt from EXTRA_DIST.