diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2017-04-24 13:52:27 +0200 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2017-04-25 11:22:51 +0200 |
commit | 2ccda863c2136c0fa98d07b6863b2c9062149c48 (patch) | |
tree | 497bf8e6ed1051f23ea4ffcbab2a7cb7ba650150 | |
parent | 955ef3e1d216e84b1a88ca1273d069f21bc093d1 (diff) | |
download | vala-2ccda863c2136c0fa98d07b6863b2c9062149c48.tar.gz |
build: Use --use-header for libraries
Reduces the size of generated c-sources while avoiding redefinitions.
-rw-r--r-- | ccode/Makefile.am | 1 | ||||
-rw-r--r-- | codegen/Makefile.am | 1 | ||||
-rw-r--r-- | gee/Makefile.am | 1 | ||||
-rw-r--r-- | vala/Makefile.am | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/ccode/Makefile.am b/ccode/Makefile.am index 3e384d784..fb4c66a71 100644 --- a/ccode/Makefile.am +++ b/ccode/Makefile.am @@ -83,6 +83,7 @@ ccode.vapi ccode.vala.stamp: $(libvalaccode_la_VALASOURCES) --vapidir $(top_srcdir)/vapi --pkg gobject-2.0 \ --vapidir $(top_srcdir)/gee --pkg gee \ --pkg config \ + --use-header \ -H valaccode.h \ --library ccode \ $^ diff --git a/codegen/Makefile.am b/codegen/Makefile.am index e0e3ec972..e8575aba0 100644 --- a/codegen/Makefile.am +++ b/codegen/Makefile.am @@ -61,6 +61,7 @@ codegen.vapi codegen.vala.stamp: $(libvalaccodegen_la_VALASOURCES) --vapidir $(top_srcdir)/gee --pkg gee \ --vapidir $(top_srcdir)/ccode --pkg ccode \ --vapidir $(top_srcdir)/vala --pkg vala \ + --use-header \ -H valacodegen.h \ --library codegen \ $^ diff --git a/gee/Makefile.am b/gee/Makefile.am index 60ffe54b7..e51f8b541 100644 --- a/gee/Makefile.am +++ b/gee/Makefile.am @@ -43,6 +43,7 @@ gee.vapi gee.vala.stamp: $(libgee_la_VALASOURCES) $(VALAFLAGS) \ -C \ --vapidir $(top_srcdir)/vapi --pkg gobject-2.0 \ + --use-header \ -H valagee.h \ --library gee \ $^ diff --git a/vala/Makefile.am b/vala/Makefile.am index 5048a0722..30e3ca1a6 100644 --- a/vala/Makefile.am +++ b/vala/Makefile.am @@ -187,6 +187,7 @@ vala.vapi vala.vala.stamp: $(libvala_la_VALASOURCES) --vapidir $(top_srcdir)/vapi --pkg gmodule-2.0 --pkg gobject-2.0 \ --vapidir $(top_srcdir)/gee --pkg gee \ --pkg config \ + --use-header \ -H vala.h \ --library vala \ $^ |