summaryrefslogtreecommitdiff
path: root/Makefile.introspection
Commit message (Collapse)AuthorAgeFilesLines
* Fix indentation on pretty printed Makefile rulesRobert Ancell2013-06-061-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=701679
* scanner: Allow CFLAGS to contain arbitrary preprocessor commands like -includeColin Walters2013-03-061-0/+2
| | | | | | | | | Newer spidermonkey .pc file contains a -include argument, which g-ir-scanner doesn't understand. Rather than us attempting to replicate all of cpp's options, use wrapper arguments in Makefile.introspection to pass them through. https://bugzilla.gnome.org/show_bug.cgi?id=695182
* Revert "gi-r-scanner: add support for raw CFLAGS flags option"Colin Walters2013-03-051-1/+1
| | | | | | Doesn't work with arguments that have shell quotes. This reverts commit 95b03cf87efbd4fea4b7d55601c9752cefd29bfc.
* gi-r-scanner: add support for raw CFLAGS flags optionTim Lunn2013-03-061-1/+1
| | | | | | | | gi-r-scanner chokes when gir_CFLAGS have an '-include <header>' since this is not a recognised option. This commit adds a new --cflags option that passes cflags directly to the spawned gcc. https://bugzilla.gnome.org/show_bug.cgi?id=695182
* Makefile.introspection: Add gir dependency to exampleColin Walters2012-08-141-0/+1
|
* Makefile.introspection: allow buildir girs in subdirsMarc-Antoine Perennou2011-12-051-1/+2
| | | | | | | | | | | Formerly, trying to build gi/Foo-1.0.gir resulted in namespace being set to "gi/Foo" Trying to build g-i/Foo-1.0.gir was even setting it to "g" This fixes this behaviour by only considerating the filename without dirs. Btw, ensure that the directory exists Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com> https://bugzilla.gnome.org/show_bug.cgi?id=665276
* Makefile.introspection: Allow usage with --header-onlyColin Walters2011-10-191-1/+2
|
* Windows port: Work arount MSYS weirdness where it changes --libtool= command ↵Dieter Verfaillie2011-09-071-2/+6
| | | | | | | | | | | | line arguments. This continues to reuse the LIBTOOL variable from automake if it's set, but works around some MSYS weirdness: When running g-ir-scanner, MSYS changes a command-line argument --libtool="/bin/sh ../../libtool" into --libtool=c:/opt/msys/1.0/bin/libtool. So just use sh.exe without path because we already "know" where the libtool configure produced is. https://bugzilla.gnome.org/show_bug.cgi?id=620566
* Use INTROSPECTION_SCANNER_ENV in Makefile.introspectionJohan Dahlin2011-08-291-1/+3
|
* Bug 628594 — Handle slashes when building _gir_namePhilip Withnall2010-09-061-1/+1
| | | | | Convert slashes to underscores in _gir_name so that non-recursive builds can use Makefile.introspection. Closes: bgo#628594
* Makefile.introspection: Add _EXPORT_PACKAGES variable.Luca Bruno2010-08-281-0/+4
| | | | This new variable maps to --pkg-export.
* In verbose mode, print out the dump compilationColin Walters2010-07-071-4/+8
| | | | | | | | | | | | When debugging the dumper, it's extremely useful to be able to see the argument it's passing to the compiler/linker. This patch makes g-ir-scanner work the same way as libtool basically; we default to printing out stuff, and add a --quiet option. The Makefile.introspection handles passing --quiet automatically. https://bugzilla.gnome.org/show_bug.cgi?id=622751
* Move pkg-config calls before --library and --programColin Walters2010-06-251-2/+2
| | | | | | | We need our just-built library path to override what we have from pkg-config. https://bugzilla.gnome.org/show_bug.cgi?id=605156
* Makefile.introspection: add support for gir_LDFLAGSSteve Frécinaux2010-06-071-0/+2
| | | | | | | | | | This allows specifying LDFLAGS for the introspection scanner. LDFLAGS are currently just appended to the CFLAGS as the current scanner doesn't make the difference between both, but it looked wrong to include LDFLAGS in the middle of CFLAGS for g-ir-scanner. https://bugzilla.gnome.org/show_bug.cgi?id=620875
* Makefile.introspection: use $^, simplifying non-srcdir buildsDan Winship2010-05-201-3/+3
| | | | | | | | | | | | | | | | | | | In the .gir-building rule, use "$^" to refer to the source files, since that automatically looks in both $(srcdir) and $(builddir). This is particularly important since certain generated files will be in $(builddir) when building from git, but in $(srcdir) when building from tarballs If you were previously prefixing $(srcdir) to the Foo_gir_FILES members by hand, you should stop now. (Also, removed the dependencies on $(INTROSPECTION_SCANNER) and $(INTROSPECTION_COMPILER) for the .gir/.typelib rules, since the scanner one was broken anyway, and we don't have that kind of dependency for other rules (eg, making .o files depend on /usr/bin/gcc).) https://bugzilla.gnome.org/show_bug.cgi?id=616425
* [Makefile.introspection] Do not use _GIRDIRJohan Dahlin2010-05-171-3/+3
| | | | Instead use the path from configure in the example.
* Make sure the macros work without silent rulesJohan Dahlin2009-12-311-2/+4
| | | | | We should not require AM_DEFAULT_VERBOSITY to be present, workaround that fact
* Make compiler output with silent-rules prettierJohan Dahlin2009-12-301-2/+11
| | | | | This is only supported with automake 1.11 or newer, older versions should default to showing nothing for now.
* Do not require the precense of INTROSPECTION_GIRSJohan Dahlin2009-12-141-1/+0
| | | | | It's useful to be able to include the makefile without having introspection enabled.
* Move the functions out of the defineJohan Dahlin2009-12-141-22/+23
| | | | | As it breaks when including the makefile when using an absolute path.
* Add a Makefile.introspectionJohan Dahlin2009-12-141-0/+134
This will make it easier for third-party projects to use introspection by having easy make rules.