~cszikszoy/do-plugins/pastebin

« back to all changes in this revision

Viewing changes to Thunderbird/Makefile.am

  • Committer: Christopher Halse Rogers
  • Date: 2008-08-24 08:44:24 UTC
  • mfrom: (244.1.2 do-plugins)
  • Revision ID: raof@ubuntu.com-20080824084424-8gp5ff6v9nku9z21
Merge in the tip of 0.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
EXTRA_DIST =  
3
 
 
4
 
# Warning: This is an automatically generated file, do not edit!
5
 
 
6
 
if ENABLE_DEBUG
7
 
ASSEMBLY_COMPILER_COMMAND = gmcs
8
 
ASSEMBLY_COMPILER_FLAGS =  -noconfig -codepage:utf8 -warn:4 -optimize+ -debug "-define:DEBUG"
9
 
 
10
 
ASSEMBLY = bin/Debug/Thunderbird.dll
11
 
ASSEMBLY_MDB = $(ASSEMBLY).mdb
12
 
COMPILE_TARGET = library
13
 
PROJECT_REFERENCES = 
14
 
BUILD_DIR = bin/Debug
15
 
 
16
 
THUNDERBIRD_ADDIN_XML_SOURCE=src/Thunderbird.addin.xml
17
 
 
18
 
endif
19
 
 
20
 
if ENABLE_RELEASE
21
 
ASSEMBLY_COMPILER_COMMAND = gmcs
22
 
ASSEMBLY_COMPILER_FLAGS =  -noconfig -codepage:utf8 -warn:4 -optimize+
23
 
ASSEMBLY = bin/Release/Thunderbird.dll
24
 
ASSEMBLY_MDB = 
25
 
COMPILE_TARGET = library
26
 
PROJECT_REFERENCES = 
27
 
BUILD_DIR = bin/Release
28
 
 
29
 
THUNDERBIRD_ADDIN_XML_SOURCE=src/Thunderbird.addin.xml
30
 
 
31
 
endif
32
 
 
33
 
if ENABLE_REPO
34
 
ASSEMBLY_COMPILER_COMMAND = gmcs
35
 
ASSEMBLY_COMPILER_FLAGS =  -noconfig -codepage:utf8 -warn:4 -optimize+ -debug "-define:DEBUG"
36
 
 
37
 
ASSEMBLY = ../buildrepo/Thunderbird.dll
38
 
ASSEMBLY_MDB = $(ASSEMBLY).mdb
39
 
COMPILE_TARGET = library
40
 
PROJECT_REFERENCES = 
41
 
BUILD_DIR = ../buildrepo
42
 
 
43
 
THUNDERBIRD_ADDIN_XML_SOURCE=src/Thunderbird.addin.xml
44
 
 
45
 
endif
46
 
 
47
 
AL=al2
48
 
SATELLITE_ASSEMBLY_NAME=.resources.dll
49
 
 
50
 
PROGRAMFILES = \
51
 
        $(THUNDERBIRD_ADDIN_XML)  
52
 
 
53
 
LINUX_PKGCONFIG = \
54
 
        $(THUNDERBIRD_PC)  
55
 
 
56
 
 
57
 
        
58
 
all: $(ASSEMBLY) $(PROGRAMFILES) $(LINUX_PKGCONFIG) 
59
 
 
60
 
FILES = \
61
 
        src/AssemblyInfo.cs \
62
 
        src/Mork.cs \
63
 
        src/ThunderbirdContactItemSource.cs 
64
 
 
65
 
DATA_FILES = \
66
 
        src/Thunderbird.addin.xml 
67
 
 
68
 
RESOURCES = 
69
 
 
70
 
EXTRAS = \
71
 
        thunderbird.pc.in 
72
 
 
73
 
REFERENCES =  \
74
 
        System \
75
 
        $(DOADDINS_LIBS)
76
 
 
77
 
DLL_REFERENCES = 
78
 
 
79
 
CLEANFILES = $(PROGRAMFILES) $(LINUX_PKGCONFIG) 
80
 
 
81
 
include $(top_srcdir)/Makefile.include
82
 
 
83
 
THUNDERBIRD_ADDIN_XML = $(BUILD_DIR)/Thunderbird.addin.xml
84
 
THUNDERBIRD_PC = $(BUILD_DIR)/thunderbird.pc
85
 
 
86
 
$(eval $(call emit-deploy-target,THUNDERBIRD_ADDIN_XML))
87
 
$(eval $(call emit-deploy-wrapper,THUNDERBIRD_PC,thunderbird.pc))
88
 
 
89
 
 
90
 
$(build_xamlg_list): %.xaml.g.cs: %.xaml
91
 
        xamlg '$<'
92
 
 
93
 
$(build_resx_resources) : %.resources: %.resx
94
 
        resgen2 '$<' '$@'
95
 
 
96
 
$(ASSEMBLY) $(ASSEMBLY_MDB): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list) $(build_satellite_assembly_list)
97
 
        mkdir -p $(dir $(ASSEMBLY))
98
 
        $(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref)