From f399d897c0367ebde3acbe2da2b819116f4a739f Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Fri, 18 Jun 2010 10:33:02 -0500 Subject: Generating a policy dll --- .bzrignore | 1 + bindings/mono/Makefile.am | 8 +++++++- bindings/mono/policy.2.0.appindicator-sharp.config | 10 ++++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 bindings/mono/policy.2.0.appindicator-sharp.config diff --git a/.bzrignore b/.bzrignore index df407b6..c044203 100644 --- a/.bzrignore +++ b/.bzrignore @@ -106,3 +106,4 @@ src/AppIndicator-0.1.typelib docs/reference/libappindicator-decl.txt.bak docs/reference/libappindicator-decl-list.txt.bak src/AppIndicator-0.1.vapi +bindings/mono/policy.appindicator-sharp.dll diff --git a/bindings/mono/Makefile.am b/bindings/mono/Makefile.am index 4d2d8b4..cd2d229 100644 --- a/bindings/mono/Makefile.am +++ b/bindings/mono/Makefile.am @@ -11,7 +11,8 @@ RAW_API = libappindicator-api.raw METADATA = libappindicator-api.metadata ASSEMBLY_NAME = appindicator-sharp ASSEMBLY = appindicator-sharp.dll -TARGET = $(ASSEMBLY) $(ASSEMBLY).config +DLLPOLICY = policy.$(ASSEMBLY) +TARGET = $(ASSEMBLY) $(ASSEMBLY).config $(DLLPOLICY) assemblydir = $(libdir)/cli/appindicator-sharp-0.1 assembly_DATA = $(TARGET) CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb generated-stamp generated/*.cs $(API) $(MIDDLE_API) $(RAW_API) $(TEST) @@ -26,6 +27,7 @@ EXTRA_DIST = \ appindicator-sharp.dll.config.in \ app-indicator.sources.xml \ $(ASSEMBLY_NAME).snk \ + policy.2.0.$(ASSMEBLY_NAME).config \ $(customs) \ $(TEST_SOURCES) @@ -83,3 +85,7 @@ $(TEST): $(ASSEMBLY) $(TEST_SOURCES) $(CSC) -out:$(TEST) -target:library $(test_references) $(srcdir)/$(TEST_SOURCES) all: $(TEST) + +$(DLLPOLICY): policy.2.0.$(ASSEMBLY_NAME).config $(ASSEMBLY_NAME).snk + $(AL) -link:policy.2.0.$(ASSEMBLY_NAME).config -out:$(DLLPOLICY) -keyfile:$(ASSEMBLY_NAME).snk + diff --git a/bindings/mono/policy.2.0.appindicator-sharp.config b/bindings/mono/policy.2.0.appindicator-sharp.config new file mode 100644 index 0000000..dd9e6e9 --- /dev/null +++ b/bindings/mono/policy.2.0.appindicator-sharp.config @@ -0,0 +1,10 @@ + + + + + + + + + + -- cgit v1.2.3