Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tarot
tarot
Commits
f03d90cc
Commit
f03d90cc
authored
Oct 27, 2019
by
Vivien Kraus
Browse files
Do not re-compile everything just for the gir
parent
ec39ddb8
Pipeline
#179605
passed with stages
in 30 minutes and 50 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/libtarot/gobject/libtarot-gir.am
View file @
f03d90cc
...
...
@@ -21,25 +21,14 @@ scan_verbose_0 = @echo " GI-SCAN " $@;
$(srcdir)/%reldir%/Tarot.gir: src/libtarot/core/tarot.h src/libtarot/gobject/tarot-gobject.h $(tarotinclude_HEADERS)
$(MAKE) $(AM_MAKEFLAGS) lib/libgnu.la
$(scan_verbose) gcc \
-shared \
-fPIC \
-o %reldir%/libtarot-host.so \
$$(for source in $(INTROSPECTED_SOURCES) ; \
do \
echo "$(srcdir)/$$source"; \
done) \
$(AM_CPPFLAGS) \
$(AM_CFLAGS) \
$$(pkg-config --cflags --libs gobject-2.0 libxml-2.0 nettle) \
$(AM_LDADD) \
-L lib/.libs \
-lgnu \
&& LD_LIBRARY_PATH="%reldir%:$$LD_LIBRARY_PATH" \
$(G_IR_SCANNER) $$(if $(AM_V_P); then echo "--quiet"; fi) \
--no-libtool \
--library tarot-host \
--library-path %reldir% \
$(MAKE) $(AM_MAKEFLAGS) src/libtarot/libtarot.la
$(MAKE) $(AM_MAKEFLAGS) src/libtarot/gobject/libtarot-gobject.la
$(scan_verbose) ./libtool --mode=execute $(G_IR_SCANNER) $$(if $(AM_V_P); then echo "--quiet"; fi) \
--libtool=./libtool \
--library tarot \
--library tarot-gobject \
--library-path src/libtarot \
--library-path src/libtarot/gobject \
--namespace Tarot \
--nsversion "$(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_PATCH)$(VERSION_ADDITIONAL)" \
--include GObject-2.0 \
...
...
@@ -53,9 +42,7 @@ $(srcdir)/%reldir%/Tarot.gir: src/libtarot/core/tarot.h src/libtarot/gobject/tar
echo "$(srcdir)/$$header"; \
done) \
-o $(srcdir)/%reldir%/Tarot.gir-t
@rm %reldir%/libtarot-host.so
@touch $(srcdir)/%reldir%/Tarot.gir-t
@mv $(srcdir)/%reldir%/Tarot.gir-t $(srcdir)/%reldir%/Tarot.gir
CLEANFILES += %reldir%/libtarot-host.so
MAINTAINERCLEANFILES += $(srcdir)/%reldir%/Tarot.gir
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment