1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
|
SUBDIRS=Gnome.Keyring
ASSEMBLY_NAME=Gnome.Keyring
ASSEMBLY=$(ASSEMBLY_NAME).dll
SNK=$(ASSEMBLY_NAME).snk
pkgconfigdir=$(libdir)/pkgconfig
CSFLAGS += -debug+ -debug:full -nologo -r:Mono.Posix.dll
pkgconfig_DATA = gnome-keyring-sharp-1.0.pc
CLEANFILES = $(ASSEMBLY_NAME).dll $(ASSEMBLY_NAME).dll.mdb $(ASSEMBLY_NAME).snk
gnomekeyring_references = $(GLIB_SHARP_LIBS)
gnomekeyring_sources = \
Gnome.Keyring/AccessRights.cs \
Gnome.Keyring/AttributeType.cs \
Gnome.Keyring/GenericItemData.cs \
Gnome.Keyring/ItemACL.cs \
Gnome.Keyring/ItemData.cs \
Gnome.Keyring/ItemType.cs \
Gnome.Keyring/KeyringException.cs \
Gnome.Keyring/KeyringInfo.cs \
Gnome.Keyring/NetItemData.cs \
Gnome.Keyring/NoteItemData.cs \
Gnome.Keyring/ResultCode.cs \
Gnome.Keyring/Ring.cs
gnomekeyring_build_sources = $(addprefix $(srcdir)/, $(gnomekeyring_sources)) $(addprefix $(top_builddir)/src/Gnome.Keyring/, AssemblyInfo.cs)
all: $(ASSEMBLY)
$(ASSEMBLY): $(gnomekeyring_build_sources) $(SNK)
$(CSC) $(CSFLAGS) $(gnomekeyring_references) -target:library -out:$@ $(gnomekeyring_build_sources)
$(SNK): $(top_srcdir)/$(SNK)
cp $(top_srcdir)/$(SNK) .
### GAC install rules ###
install-data-local:
echo "$(GACUTIL) /i $(ASSEMBLY) $(GACUTIL_FLAGS)"; \
$(GACUTIL) /i $(ASSEMBLY) /package $(PACKAGE)-$(API_VERSION) $(GACUTIL_FLAGS) || exit 1;
uninstall-local:
echo "$(GACUTIL) /u $(ASSEMBLY_NAME) $(GACUTIL_FLAGS)"; \
$(GACUTIL) /u $(ASSEMBLY_NAME) /package $(PACKAGE)-$(API_VERSION) $(GACUTIL_FLAGS) || exit 1;
EXTRA_DIST=Gnome.Keyring.dll.config
|