~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to src/addins/MonoDevelop.Autotools/Makefile.am

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
ADDIN_BUILD = $(top_builddir)/build/AddIns/MonoDevelop.Autotools
3
 
ASSEMBLY = $(ADDIN_BUILD)/MonoDevelop.Autotools.dll
4
 
 
5
 
DEPS =  \
6
 
        $(top_builddir)/build/AddIns/MonoDevelop.Deployment/MonoDevelop.Deployment.dll \
7
 
        $(top_builddir)/build/AddIns/MonoDevelop.DesignerSupport/MonoDevelop.DesignerSupport.dll \
8
 
        $(top_builddir)/build/bin/MonoDevelop.Core.dll \
9
 
        $(top_builddir)/build/bin/MonoDevelop.Ide.dll
10
 
 
11
 
REFS =  \
12
 
        $(GLIB_SHARP_LIBS) \
13
 
        $(GTK_SHARP_LIBS) \
14
 
        $(MONO_ADDINS_LIBS) \
15
 
        -r:Mono.Posix \
16
 
        -r:System 
17
 
 
18
 
FILES =  \
19
 
        AssemblyInfo.cs \
20
 
        AutotoolsContext.cs \
21
 
        Commands.cs \
22
 
        ConfigSection.cs \
23
 
        CustomMakefile.cs \
24
 
        FileNodeBuilderExtension.cs \
25
 
        GenerateMakefilesDialog.cs \
26
 
        gtk-gui/generated.cs \
27
 
        gtk-gui/MonoDevelop.Autotools.GenerateMakefilesDialog.cs \
28
 
        gtk-gui/MonoDevelop.Autotools.MakefileIntegrationFeatureWidget.cs \
29
 
        gtk-gui/MonoDevelop.Autotools.MakefileOptionPanelWidget.cs \
30
 
        gtk-gui/MonoDevelop.Autotools.MakefileSwitchEditor.cs \
31
 
        gtk-gui/MonoDevelop.Autotools.MakefileSwitchEditorWidget.cs \
32
 
        gtk-gui/MonoDevelop.Autotools.TarballBuilderEditorWidget.cs \
33
 
        Handler.cs \
34
 
        IMakefileHandler.cs \
35
 
        ImportMakefileDialog.cs \
36
 
        ISimpleAutotoolsSetup.cs \
37
 
        Makefile.cs \
38
 
        MakefileData.cs \
39
 
        MakefileGeneratorTool.cs \
40
 
        MakefileIntegrationFeature.cs \
41
 
        MakefileIntegrationFeatureWidget.cs \
42
 
        MakefileOptionPanel.cs \
43
 
        MakefileOptionPanelWidget.cs \
44
 
        MakefileProject.cs \
45
 
        MakefileProjectServiceExtension.cs \
46
 
        MakefileSwitchEditor.cs \
47
 
        MakefileSwitchEditorWidget.cs \
48
 
        MakefileVar.cs \
49
 
        PropertyProvider.cs \
50
 
        Set.cs \
51
 
        SimpleProjectMakefileHandler.cs \
52
 
        SolutionDeployer.cs \
53
 
        SolutionMakefileHandler.cs \
54
 
        Switch.cs \
55
 
        TarballBuilderEditorWidget.cs \
56
 
        TemplateEngine.cs
57
 
 
58
 
RES =  \
59
 
        gtk-gui/gui.stetic \
60
 
        MonoDevelop.Autotools.addin.xml
61
 
 
62
 
DATA_FILES =  \
63
 
        templates/autogen.sh.template \
64
 
        templates/configure.ac.template \
65
 
        templates/configure.template \
66
 
        templates/exe.wrapper.in.template \
67
 
        templates/expansions.m4 \
68
 
        templates/make-dist.targets \
69
 
        templates/Makefile.am.project.template \
70
 
        templates/Makefile.include \
71
 
        templates/Makefile.noauto.project.template \
72
 
        templates/Makefile.solution.template \
73
 
        templates/package.pc.template \
74
 
        templates/rules.make
75
 
 
76
 
DATA_FILE_BUILD = $(addprefix $(ADDIN_BUILD)/templates/, $(notdir $(DATA_FILES)))
77
 
 
78
 
all: $(ASSEMBLY) $(ASSEMBLY).mdb $(DATA_FILE_BUILD)
79
 
 
80
 
$(DATA_FILE_BUILD): $(srcdir)$(subst $(ADDIN_BUILD),, $@)
81
 
        mkdir -p $(ADDIN_BUILD)/templates
82
 
        cp $(srcdir)/$(subst $(ADDIN_BUILD),,$@) $@
83
 
 
84
 
$(ASSEMBLY): $(build_sources) $(build_resources) $(DEPS)
85
 
        mkdir -p $(ADDIN_BUILD)
86
 
        $(CSC) $(CSC_FLAGS) $(REFS) $(build_deps) $(build_resources:%=/resource:%) $(build_sources) -out:$@ -target:library
87
 
 
88
 
$(ASSEMBLY).mdb: $(ASSEMBLY)
89
 
 
90
 
assemblydir = $(MD_ADDIN_DIR)/MonoDevelop.Autotools
91
 
assembly_DATA = $(ASSEMBLY) $(ASSEMBLY).mdb $(DATA_FILES)
92
 
 
93
 
templatedir = $(assemblydir)/templates
94
 
template_DATA = $(DATA_FILES)
95
 
 
96
 
CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb $(DATA_FILE_BUILD)
97
 
EXTRA_DIST = $(FILES) $(RES) $(DATA_FILES)
98
 
 
99
 
include $(top_srcdir)/Makefile.include
 
1
include $(top_srcdir)/xbuild.include