* Makefile.am:
[monodevelop.git] / extras / MonoDevelop.AddinAuthoring / MonoDevelop.AddinAuthoring.make
blob67352373fda1e5cf886a33c94bcd81c0a2c5d2fb
3 # Warning: This is an automatically generated file, do not edit!
5 srcdir=.
6 top_srcdir=.
8 include $(top_srcdir)/Makefile.include
9 include $(top_srcdir)/config.make
11 ifeq ($(CONFIG),DEBUG)
12 ASSEMBLY_COMPILER_COMMAND = gmcs
13 ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ -debug -define:DEBUG
14 ASSEMBLY = build/MonoDevelop.AddinAuthoring.dll
15 ASSEMBLY_MDB = $(ASSEMBLY).mdb
16 COMPILE_TARGET = library
17 PROJECT_REFERENCES =
18 BUILD_DIR = build
21 endif
23 ifeq ($(CONFIG),RELEASE)
24 ASSEMBLY_COMPILER_COMMAND = gmcs
25 ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+
26 ASSEMBLY = bin/Release/MonoDevelop.AddinAuthoring.dll
27 ASSEMBLY_MDB =
28 COMPILE_TARGET = library
29 PROJECT_REFERENCES =
30 BUILD_DIR = bin/Release
33 endif
36 LINUX_PKGCONFIG = \
37 $(MONODEVELOP_ADDINAUTHORING_PC)
41 MONODEVELOP_ADDINAUTHORING_PC = $(BUILD_DIR)/monodevelop.addinauthoring.pc
44 FILES = \
45 AssemblyInfo.cs \
46 gtk-gui/generated.cs \
47 gtk-gui/MonoDevelop.AddinAuthoring.AddinDescriptionWidget.cs \
48 gtk-gui/MonoDevelop.AddinAuthoring.AddinFeatureWidget.cs \
49 gtk-gui/MonoDevelop.AddinAuthoring.AddinOptionPanelWidget.cs \
50 gtk-gui/MonoDevelop.AddinAuthoring.ExtensionEditorWidget.cs \
51 gtk-gui/MonoDevelop.AddinAuthoring.ExtensionPointsEditorWidget.cs \
52 gtk-gui/MonoDevelop.AddinAuthoring.ExtensionSelectorDialog.cs \
53 gtk-gui/MonoDevelop.AddinAuthoring.NewExtensionPointDialog.cs \
54 gtk-gui/MonoDevelop.AddinAuthoring.NewRegistryDialog.cs \
55 gtk-gui/MonoDevelop.AddinAuthoring.NodeSetEditorDialog.cs \
56 gtk-gui/MonoDevelop.AddinAuthoring.NodeSetEditorWidget.cs \
57 gtk-gui/MonoDevelop.AddinAuthoring.NodeTypeEditorDialog.cs \
58 gtk-gui/MonoDevelop.AddinAuthoring.RegistrySelector.cs \
59 gtk-gui/MonoDevelop.AddinAuthoring.SelectNodeSetDialog.cs \
60 gtk-gui/MonoDevelop.AddinAuthoring.SelectRepositoryDialog.cs \
61 gtk-gui/MonoDevelop.AddinAuthoring.TypeSelector.cs \
62 MonoDevelop.AddinAuthoring.NodeBuilders/AddinFolderNodeBuilder.cs \
63 MonoDevelop.AddinAuthoring.NodeBuilders/AddinHeaderNodeBuilder.cs \
64 MonoDevelop.AddinAuthoring.NodeBuilders/AddinReferenceNodeBuilder.cs \
65 MonoDevelop.AddinAuthoring.NodeBuilders/ExtensionPointsNodeBuilder.cs \
66 MonoDevelop.AddinAuthoring.NodeBuilders/ExtensionsNodeBuilder.cs \
67 MonoDevelop.AddinAuthoring.NodeBuilders/ProjectFolderNodeBuilderExtension.cs \
68 MonoDevelop.AddinAuthoring.NodeBuilders/ReferencesFolderNodeBuilder.cs \
69 MonoDevelop.AddinAuthoring/AddinAuthoringService.cs \
70 MonoDevelop.AddinAuthoring/AddinData.cs \
71 MonoDevelop.AddinAuthoring/AddinDescriptionDisplayBinding.cs \
72 MonoDevelop.AddinAuthoring/AddinDescriptionView.cs \
73 MonoDevelop.AddinAuthoring/AddinDescriptionWidget.cs \
74 MonoDevelop.AddinAuthoring/AddinFeatureWidget.cs \
75 MonoDevelop.AddinAuthoring/AddinFileDescriptionTemplate.cs \
76 MonoDevelop.AddinAuthoring/AddinOptionPanelWidget.cs \
77 MonoDevelop.AddinAuthoring/AddinProjectExtension.cs \
78 MonoDevelop.AddinAuthoring/AddinProjectReference.cs \
79 MonoDevelop.AddinAuthoring/CellRendererExtension.cs \
80 MonoDevelop.AddinAuthoring/Commands.cs \
81 MonoDevelop.AddinAuthoring/ExtensionEditorWidget.cs \
82 MonoDevelop.AddinAuthoring/ExtensionPointsEditorWidget.cs \
83 MonoDevelop.AddinAuthoring/ExtensionSelectorDialog.cs \
84 MonoDevelop.AddinAuthoring/NewExtensionPointDialog.cs \
85 MonoDevelop.AddinAuthoring/NewRegistryDialog.cs \
86 MonoDevelop.AddinAuthoring/NodeEditorDialog.cs \
87 MonoDevelop.AddinAuthoring/NodeEditorWidget.cs \
88 MonoDevelop.AddinAuthoring/NodeSetEditorDialog.cs \
89 MonoDevelop.AddinAuthoring/NodeSetEditorWidget.cs \
90 MonoDevelop.AddinAuthoring/NodeTypeEditorDialog.cs \
91 MonoDevelop.AddinAuthoring/RegistryExtensionNode.cs \
92 MonoDevelop.AddinAuthoring/RegistrySelector.cs \
93 MonoDevelop.AddinAuthoring/SelectNodeSetDialog.cs \
94 MonoDevelop.AddinAuthoring/SelectRepositoryDialog.cs \
95 MonoDevelop.AddinAuthoring/TypeSelector.cs
97 DATA_FILES =
99 RESOURCES = \
100 extension-node-set.png \
101 extension-node-type.png \
102 extension-point.png \
103 flare.png \
104 gtk-gui/gui.stetic \
105 gtk-gui/objects.xml \
106 MonoDevelop.AddinAuthoring.addin.xml \
107 templates/AddinProject.xpt.xml
109 EXTRAS = \
110 monodevelop.addinauthoring.pc.in
112 REFERENCES = \
113 System \
114 Mono.Posix \
115 System.Xml \
116 -pkg:monodevelop \
117 -pkg:mono-addins \
118 -pkg:mono-addins-setup \
119 -pkg:gtk-sharp-2.0
121 DLL_REFERENCES =
123 CLEANFILES += $(LINUX_PKGCONFIG)
125 #Targets
126 all-local: $(ASSEMBLY) $(LINUX_PKGCONFIG) $(top_srcdir)/config.make
128 $(MONODEVELOP_ADDINAUTHORING_PC): monodevelop.addinauthoring.pc
129 mkdir -p $(BUILD_DIR)
130 cp '$<' '$@'
134 monodevelop.addinauthoring.pc: monodevelop.addinauthoring.pc.in $(top_srcdir)/config.make
135 sed -e "s,@prefix@,$(prefix)," -e "s,@PACKAGE@,$(PACKAGE)," < monodevelop.addinauthoring.pc.in > monodevelop.addinauthoring.pc
138 $(build_xamlg_list): %.xaml.g.cs: %.xaml
139 xamlg '$<'
141 $(build_resx_resources) : %.resources: %.resx
142 resgen2 '$<' '$@'
144 LOCAL_PKGCONFIG=PKG_CONFIG_PATH=../../local-config:$$PKG_CONFIG_PATH
146 $(ASSEMBLY) $(ASSEMBLY_MDB): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list)
147 make pre-all-local-hook prefix=$(prefix)
148 mkdir -p $(dir $(ASSEMBLY))
149 make $(CONFIG)_BeforeBuild
150 $(LOCAL_PKGCONFIG) $(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref)
151 make $(CONFIG)_AfterBuild
152 make post-all-local-hook prefix=$(prefix)
155 install-local: $(ASSEMBLY) $(ASSEMBLY_MDB) $(MONODEVELOP_ADDINAUTHORING_PC)
156 make pre-install-local-hook prefix=$(prefix)
157 mkdir -p $(DESTDIR)$(prefix)/lib/$(PACKAGE)
158 cp $(ASSEMBLY) $(ASSEMBLY_MDB) $(DESTDIR)$(prefix)/lib/$(PACKAGE)
159 mkdir -p $(DESTDIR)$(prefix)/lib/pkgconfig
160 test -z '$(MONODEVELOP_ADDINAUTHORING_PC)' || cp $(MONODEVELOP_ADDINAUTHORING_PC) $(DESTDIR)$(prefix)/lib/pkgconfig
161 make post-install-local-hook prefix=$(prefix)
163 uninstall-local: $(ASSEMBLY) $(ASSEMBLY_MDB) $(MONODEVELOP_ADDINAUTHORING_PC)
164 make pre-uninstall-local-hook prefix=$(prefix)
165 rm -f $(DESTDIR)$(prefix)/lib/$(PACKAGE)/$(notdir $(ASSEMBLY))
166 test -z '$(ASSEMBLY_MDB)' || rm -f $(DESTDIR)$(prefix)/lib/$(PACKAGE)/$(notdir $(ASSEMBLY_MDB))
167 test -z '$(MONODEVELOP_ADDINAUTHORING_PC)' || rm -f $(DESTDIR)$(prefix)/lib/pkgconfig/$(notdir $(MONODEVELOP_ADDINAUTHORING_PC))
168 make post-uninstall-local-hook prefix=$(prefix)