Build tweaks
Add .AUTOPARALELL which is my GNU-make fix for projects to specify that the build is parallel-safe, and to automatically parallelize. Add a missing dependency on built sources, and specify --libtool to be safe.
This commit is contained in:
parent
156fdf1fa3
commit
94b26888cf
@ -5,6 +5,8 @@ EXTRA_DIST =
|
|||||||
libexec_PROGRAMS =
|
libexec_PROGRAMS =
|
||||||
noinst_LTLIBRARIES =
|
noinst_LTLIBRARIES =
|
||||||
|
|
||||||
|
.AUTOPARALLEL:
|
||||||
|
|
||||||
bin_SCRIPTS = gnome-shell
|
bin_SCRIPTS = gnome-shell
|
||||||
|
|
||||||
gnome-shell: gnome-shell.in
|
gnome-shell: gnome-shell.in
|
||||||
@ -161,6 +163,7 @@ Shell-0.1.gir: $(mutter) $(G_IR_SCANNER) Big-1.0.gir libgnome-shell.la Makefile
|
|||||||
--add-include-path=$(MUTTER_LIB_DIR)/mutter/ \
|
--add-include-path=$(MUTTER_LIB_DIR)/mutter/ \
|
||||||
--include=Clutter-1.0 \
|
--include=Clutter-1.0 \
|
||||||
--include=Meta-2.27 \
|
--include=Meta-2.27 \
|
||||||
|
--libtool="$(LIBTOOL)" \
|
||||||
--add-include-path=$(builddir) \
|
--add-include-path=$(builddir) \
|
||||||
--include=Big-1.0 \
|
--include=Big-1.0 \
|
||||||
--program=mutter \
|
--program=mutter \
|
||||||
@ -180,12 +183,13 @@ Shell-0.1.typelib: libgnome-shell.la Shell-0.1.gir Big-1.0.gir
|
|||||||
Shell-0.1.gir -o $@
|
Shell-0.1.gir -o $@
|
||||||
CLEANFILES += Shell-0.1.typelib
|
CLEANFILES += Shell-0.1.typelib
|
||||||
|
|
||||||
Big-1.0.gir: $(mutter) $(G_IR_SCANNER) libgnome-shell.la libbig-1.0.la Makefile
|
Big-1.0.gir: $(mutter) $(G_IR_SCANNER) libgnome-shell.la libbig-1.0.la $(srcdir)/big-enum-types.h Makefile
|
||||||
$(AM_V_GEN) $(G_IR_SCANNER) \
|
$(AM_V_GEN) $(G_IR_SCANNER) \
|
||||||
--namespace=Big \
|
--namespace=Big \
|
||||||
--nsversion=1.0 \
|
--nsversion=1.0 \
|
||||||
--include=Clutter-1.0 \
|
--include=Clutter-1.0 \
|
||||||
--include=GdkPixbuf-2.0 \
|
--include=GdkPixbuf-2.0 \
|
||||||
|
--libtool="$(LIBTOOL)" \
|
||||||
--program=mutter \
|
--program=mutter \
|
||||||
--program-arg=--mutter-plugins=$$(pwd)/libgnome-shell.la \
|
--program-arg=--mutter-plugins=$$(pwd)/libgnome-shell.la \
|
||||||
$(addprefix $(srcdir)/,$(big_source_h)) \
|
$(addprefix $(srcdir)/,$(big_source_h)) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user