aboutsummaryrefslogtreecommitdiff
path: root/bindings
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-01-11 18:05:57 -0600
committerTed Gould <ted@gould.cx>2010-01-11 18:05:57 -0600
commit9c04a328f97257e951b382262a0c38f4438d46b3 (patch)
tree95bb3d7e39b123018eae3621151d93bebbf5e94b /bindings
parentbebf56594d9250ca07aaa13370674fa9b47abd89 (diff)
downloadlibayatana-appindicator-9c04a328f97257e951b382262a0c38f4438d46b3.tar.gz
libayatana-appindicator-9c04a328f97257e951b382262a0c38f4438d46b3.tar.bz2
libayatana-appindicator-9c04a328f97257e951b382262a0c38f4438d46b3.zip
Adding in customs support
Diffstat (limited to 'bindings')
-rw-r--r--bindings/mono/Makefile.am9
1 files changed, 7 insertions, 2 deletions
diff --git a/bindings/mono/Makefile.am b/bindings/mono/Makefile.am
index 54e0b53..d8a0222 100644
--- a/bindings/mono/Makefile.am
+++ b/bindings/mono/Makefile.am
@@ -24,13 +24,17 @@ EXTRA_DIST = \
appindicator-sharp.dll.config.in \
app-indicator.sources.xml \
$(ASSEMBLY_NAME).snk \
- $(TEST_SOURCES)
+ $(TEST_SOURCES) \
+ $(customs)
GACUTIL_FLAGS="-package $(ASSEMBLY_NAME) -root $(DESTDIR)$(prefix)/lib"
references = $(GTK_SHARP_LIBS)
test_references = $(GTK_SHARP_LIBS) $(NUNIT_LIBS) -r:$(ASSEMBLY)
+customs = myfile.custom
+build_customs = $(addprefix $(srcdir)/, $(customs))
+
$(RAW_API): app-indicator.sources.xml
$(GAPI_PARSER) app-indicator.sources.xml
@@ -63,9 +67,10 @@ $(API): $(MIDDLE_API) Makefile.am
api_includes = $(GTK_SHARP_CFLAGS)
-generated-stamp: $(API)
+generated-stamp: $(API) $(build_customs)
rm -f generated/* && \
$(GAPI_CODEGEN) --generate $(API) $(api_includes) \
+ --customdir=$(srcdir) \
--outdir=generated --assembly-name=$(ASSEMBLY_NAME) \
&& touch generated-stamp