~ubuntu-branches/ubuntu/saucy/monodevelop/saucy

« back to all changes in this revision

Viewing changes to .pc/use_csc.patch/src/core/MonoDevelop.Projects.Formats.MSBuild/Makefile.am

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2012-05-27 18:08:20 UTC
  • mfrom: (1.8.5) (1.5.8 sid)
  • Revision ID: package-import@ubuntu.com-20120527180820-f1ub6lhg0s50wci1
Tags: 3.0.2+dfsg-3
* [fcecfe7] Fix monodevelop-core-addins.pc.in to point to actual 
  installed location of assemblies.
* [26e1a07] DebSrc 3.0 does not support Quilt's -p parameter, so 
  manually adjust the path in the patch file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
ASSEMBLY = $(top_builddir)/build/bin/MonoDevelop.Projects.Formats.MSBuild.exe
3
 
 
4
 
REFS =  \
5
 
        -r:Microsoft.Build.Engine \
6
 
        -r:Microsoft.Build.Framework \
7
 
        -r:Microsoft.Build.Utilities.v3.5 \
8
 
        -r:System \
9
 
        -r:System.Runtime.Remoting
10
 
 
11
 
FILES =  \
12
 
        AssemblyInfo.cs \
13
 
        Main.cs \
14
 
        MonoDevelop.Projects.Formats.MSBuild/BuildEngine.cs \
15
 
        MonoDevelop.Projects.Formats.MSBuild/ConsoleLogger.cs \
16
 
        MonoDevelop.Projects.Formats.MSBuild/IBuildEngine.cs \
17
 
        MonoDevelop.Projects.Formats.MSBuild/ILogWriter.cs \
18
 
        MonoDevelop.Projects.Formats.MSBuild/IProjectBuilder.cs \
19
 
        MonoDevelop.Projects.Formats.MSBuild/LocalLogger.cs \
20
 
        MonoDevelop.Projects.Formats.MSBuild/MSBuildResult.cs \
21
 
        MonoDevelop.Projects.Formats.MSBuild/ProjectBuilder.cs
22
 
 
23
 
RES = 
24
 
 
25
 
# Mono's 2.0/3.5 compiler doesn't recognize 3.5 variants of the MSBuild assemblies
26
 
# so patch up the references
27
 
MSB_REF_PREFIX:=$(shell pkg-config --variable prefix mono)/lib/mono/3.5/
28
 
FIXED_REFS:=$(shell echo '$(REFS)' | sed -e 's@Microsoft.Build[^ ]*@$(MSB_REF_PREFIX)&.dll@g')
29
 
 
30
 
all: $(ASSEMBLY) $(ASSEMBLY).mdb
31
 
 
32
 
$(ASSEMBLY): $(build_sources) $(build_resources) $(DEPS)
33
 
        $(CSC) $(CSC_FLAGS) -warnaserror -debug -out:$@ -target:winexe $(FIXED_REFS) $(build_deps) $(build_resources:%=/resource:%) $(build_sources)
34
 
        
35
 
$(ASSEMBLY).mdb: $(ASSEMBLY)
36
 
 
37
 
$(ASSEMBLY).config: $(srcdir)/app.config
38
 
        cp $< $@
39
 
 
40
 
assemblydir = $(MD_ASSEMBLY_DIR)
41
 
assembly_DATA = $(ASSEMBLY) $(ASSEMBLY).mdb $(ASSEMBLY).config
42
 
 
43
 
CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb $(ASSEMBLY).config
44
 
 
45
 
EXTRA_DIST = $(FILES) $(RES) app.config
46
 
 
47
 
include $(top_srcdir)/Makefile.include