diff options
author | Ted Gould <ted@gould.cx> | 2010-09-21 10:42:05 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-09-21 10:42:05 -0500 |
commit | 1be18c59d8366b80291977e93f97847ba23eca0e (patch) | |
tree | c676f2d8b07469427337215c982e45a74664b3e5 /bindings/mono/Makefile.am | |
parent | c2aee8ac8876b03c1fcddaeca884620f973d698d (diff) | |
parent | 316dbc5d675e78b92334dc087d95c795a3a108d0 (diff) | |
download | ayatana-indicator-application-1be18c59d8366b80291977e93f97847ba23eca0e.tar.gz ayatana-indicator-application-1be18c59d8366b80291977e93f97847ba23eca0e.tar.bz2 ayatana-indicator-application-1be18c59d8366b80291977e93f97847ba23eca0e.zip |
Fixing Mono bindings to build versions correctly.
Diffstat (limited to 'bindings/mono/Makefile.am')
-rw-r--r-- | bindings/mono/Makefile.am | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/bindings/mono/Makefile.am b/bindings/mono/Makefile.am index 98fe6f9..8d0444c 100644 --- a/bindings/mono/Makefile.am +++ b/bindings/mono/Makefile.am @@ -15,6 +15,8 @@ ASSEMBLY = $(ASSEMBLY_NAME).dll POLICY = policy.$(POLICY_VERSION).$(ASSEMBLY_NAME) POLICY_VERSION = 0.0 DLLPOLICY = $(POLICY).dll +WRAPPER_FREE_BINDING_SRC = $(top_srcdir)/src/app-indicator.c +WRAPPER_FREE_BINDING = app-indicator.c TARGET = \ $(ASSEMBLY) \ @@ -35,6 +37,7 @@ CLEANFILES = \ $(RAW_API) \ $(TEST) \ $(DLLPOLICY) \ + $(WRAPPER_FREE_BINDING) \ $(POLICY).config DISTCLEANFILES = $(ASSEMBLY).config @@ -57,8 +60,11 @@ GACUTIL_FLAGS=-package $(ASSEMBLY_NAME) -root $(DESTDIR)$(prefix)/lib references = $(GTK_SHARP_LIBS) test_references = $(GTK_SHARP_LIBS) $(NUNIT_LIBS) -r:$(ASSEMBLY) -$(RAW_API): app-indicator.sources.xml - $(GAPI_PARSER) app-indicator.sources.xml +$(RAW_API): app-indicator.sources.xml $(WRAPPER_FREE_BINDING) + $(GAPI_PARSER) $(srcdir)/app-indicator.sources.xml + +$(WRAPPER_FREE_BINDING): $(WRAPPER_FREE_BINDING_SRC) + sed '/signals\[X_NEW_LABEL\] /,+6d' $(WRAPPER_FREE_BINDING_SRC) > $(WRAPPER_FREE_BINDING) $(MIDDLE_API): $(METADATA) $(RAW_API) cp $(srcdir)/$(RAW_API) $(MIDDLE_API) |