* Makefile.am:
[monodevelop.git] / main / src / addins / MonoDevelop.XmlEditor / Makefile.am
blob0bc30411a0fb624a6768672d7f9d09ff5c7efe92
2 ADDIN_BUILD = $(top_builddir)/build/AddIns/MonoDevelop.XmlEditor
3 ASSEMBLY = $(ADDIN_BUILD)/MonoDevelop.XmlEditor.dll
5 DEPS =  \
6         $(top_builddir)/build/AddIns/MonoDevelop.DesignerSupport/MonoDevelop.DesignerSupport.dll \
7         $(top_builddir)/build/AddIns/MonoDevelop.SourceEditor2.dll \
8         $(top_builddir)/build/bin/Mono.Debugging.dll \
9         $(top_builddir)/build/bin/Mono.TextEditor.dll \
10         $(top_builddir)/build/bin/MonoDevelop.Components.dll \
11         $(top_builddir)/build/bin/MonoDevelop.Core.dll \
12         $(top_builddir)/build/bin/MonoDevelop.Core.Gui.dll \
13         $(top_builddir)/build/bin/MonoDevelop.Ide.dll \
14         $(top_builddir)/build/bin/MonoDevelop.Projects.dll \
15         $(top_builddir)/build/bin/MonoDevelop.Projects.Gui.dll
17 REFS =  \
18         $(GLADE_SHARP_LIBS) \
19         $(GLIB_SHARP_LIBS) \
20         $(GTK_SHARP_LIBS) \
21         $(MONO_ADDINS_LIBS) \
22         -r:Mono.Posix \
23         -r:System \
24         -r:System.Core \
25         -r:System.Data \
26         -r:System.Xml
28 FILES =  \
29         AssemblyInfo.cs \
30         gtk-gui/generated.cs \
31         gtk-gui/MonoDevelop.XmlEditor.Gui.XmlEditorOptionsPanelWidget.cs \
32         gtk-gui/MonoDevelop.XmlEditor.Gui.XmlSchemasPanelWidget.cs \
33         MonoDevelop.Xml.StateEngine/Parser.cs \
34         MonoDevelop.Xml.StateEngine/State.cs \
35         MonoDevelop.Xml.StateEngine/XDom.cs \
36         MonoDevelop.Xml.StateEngine/XmlAttributeState.cs \
37         MonoDevelop.Xml.StateEngine/XmlAttributeValueState.cs \
38         MonoDevelop.Xml.StateEngine/XmlCDataState.cs \
39         MonoDevelop.Xml.StateEngine/XmlChar.cs \
40         MonoDevelop.Xml.StateEngine/XmlClosingTagState.cs \
41         MonoDevelop.Xml.StateEngine/XmlCommentState.cs \
42         MonoDevelop.Xml.StateEngine/XmlDocTypeState.cs \
43         MonoDevelop.Xml.StateEngine/XmlFreeState.cs \
44         MonoDevelop.Xml.StateEngine/XmlMalformedTagState.cs \
45         MonoDevelop.Xml.StateEngine/XmlNameState.cs \
46         MonoDevelop.Xml.StateEngine/XmlParsedDocument.cs \
47         MonoDevelop.Xml.StateEngine/XmlProcessingInstructionState.cs \
48         MonoDevelop.Xml.StateEngine/XmlTagState.cs \
49         MonoDevelop.XmlEditor.Completion/EmptyXmlCompletionProvider.cs \
50         MonoDevelop.XmlEditor.Completion/ILazilyLoadedProvider.cs \
51         MonoDevelop.XmlEditor.Completion/InferredXmlCompletionProvider.cs \
52         MonoDevelop.XmlEditor.Completion/IXmlCompletionProvider.cs \
53         MonoDevelop.XmlEditor.Completion/XmlCompletionData.cs \
54         MonoDevelop.XmlEditor.Completion/XmlCompletionDataCollection.cs \
55         MonoDevelop.XmlEditor.Completion/XmlMultipleClosingTagCompletionData.cs \
56         MonoDevelop.XmlEditor.Completion/XmlSchemaCompletionData.cs \
57         MonoDevelop.XmlEditor.Completion/XmlSchemaCompletionDataCollection.cs \
58         MonoDevelop.XmlEditor.Completion/XmlTagCompletionData.cs \
59         MonoDevelop.XmlEditor.Gui/BaseXmlEditorExtension.cs \
60         MonoDevelop.XmlEditor.Gui/XmlEditorOptionsPanel.cs \
61         MonoDevelop.XmlEditor.Gui/XmlEditorOptionsPanelWidget.cs \
62         MonoDevelop.XmlEditor.Gui/XmlSchemasPanel.cs \
63         MonoDevelop.XmlEditor.Gui/XmlSchemasPanelWidget.cs \
64         MonoDevelop.XmlEditor/Commands.cs \
65         MonoDevelop.XmlEditor/EncodedStringWriter.cs \
66         MonoDevelop.XmlEditor/QualifiedName.cs \
67         MonoDevelop.XmlEditor/QualifiedNameCollection.cs \
68         MonoDevelop.XmlEditor/XmlDocumentParser.cs \
69         MonoDevelop.XmlEditor/XmlEditorAddInOptions.cs \
70         MonoDevelop.XmlEditor/XmlEditorService.cs \
71         MonoDevelop.XmlEditor/XmlElementPath.cs \
72         MonoDevelop.XmlEditor/XmlFileExtensionNode.cs \
73         MonoDevelop.XmlEditor/XmlFileExtensions.cs \
74         MonoDevelop.XmlEditor/XmlNamespace.cs \
75         MonoDevelop.XmlEditor/XmlParser.cs \
76         MonoDevelop.XmlEditor/XmlSchemaAssociation.cs \
77         MonoDevelop.XmlEditor/XmlSchemaManager.cs \
78         MonoDevelop.XmlEditor/XmlTextEditorExtension.cs
80 DATA_FILES =  \
81         schemas/appconfig.xsd \
82         schemas/manifest.xsd \
83         schemas/MonoDevelopAddIn.xsd \
84         schemas/nant.xsd \
85         schemas/readme.txt \
86         schemas/W3C-License.html \
87         schemas/XMLSchema.xsd \
88         schemas/xslt.xsd
90 RES =  \
91         gtk-gui/gui.stetic \
92         gtk-gui/objects.xml \
93         Icons/XPathQueryPad.png \
94         MonoDevelop.XmlEditor.addin.xml \
95         XmlEditor.glade
98 DATA_FILE_BUILD = $(addprefix $(ADDIN_BUILD)/schemas/, $(notdir $(DATA_FILES)))
100 all: $(ASSEMBLY) $(ASSEMBLY).mdb $(DATA_FILE_BUILD)
102 $(DATA_FILE_BUILD): $(srcdir)$(subst $(ADDIN_BUILD),, $@)
103         mkdir -p $(ADDIN_BUILD)/schemas
104         cp $(srcdir)/$(subst $(ADDIN_BUILD),,$@) $@
106 $(ASSEMBLY): $(build_sources) $(build_resources) $(DEPS)
107         mkdir -p $(ADDIN_BUILD)
108         $(CSC) $(CSC_FLAGS) $(REFS) $(build_deps) $(build_resources:%=/resource:%) $(build_sources) -out:$@ -target:library
110 $(ASSEMBLY).mdb: $(ASSEMBLY)
112 assemblydir = $(MD_ADDIN_DIR)/MonoDevelop.XmlEditor
113 assembly_DATA = $(ASSEMBLY) $(ASSEMBLY).mdb
115 schemadir = $(MD_ADDIN_DIR)/MonoDevelop.XmlEditor/schemas
116 schema_DATA = $(DATA_FILES)
118 CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb $(DATA_FILE_BUILD)
119 EXTRA_DIST = $(FILES) $(RES) $(DATA_FILES)
121 include $(top_srcdir)/Makefile.include