~cszikszoy/do-plugins/fix-confluence

« back to all changes in this revision

Viewing changes to ClawsMail/Makefile.am

  • Committer: David Siegel
  • Date: 2009-01-07 19:40:53 UTC
  • mfrom: (407.1.4 trunk)
  • Revision ID: david@x-20090107194053-wseaq4rkw4y12bka
Merge.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
EXTRA_DIST =  
 
3
 
 
4
 
 
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/ClawsMail.dll
 
11
ASSEMBLY_MDB = $(ASSEMBLY).mdb
 
12
COMPILE_TARGET = library
 
13
PROJECT_REFERENCES = 
 
14
BUILD_DIR = bin/Debug
 
15
 
 
16
 
 
17
endif
 
18
 
 
19
if ENABLE_RELEASE
 
20
ASSEMBLY_COMPILER_COMMAND = gmcs
 
21
ASSEMBLY_COMPILER_FLAGS =  -noconfig -codepage:utf8 -warn:4 -optimize+
 
22
ASSEMBLY = bin/Release/ClawsMail.dll
 
23
ASSEMBLY_MDB = 
 
24
COMPILE_TARGET = library
 
25
PROJECT_REFERENCES = 
 
26
BUILD_DIR = bin/Release
 
27
 
 
28
 
 
29
endif
 
30
 
 
31
AL=al2
 
32
SATELLITE_ASSEMBLY_NAME=.resources.dll
 
33
 
 
34
all: $(ASSEMBLY)
 
35
 
 
36
DATA_FILES = 
 
37
 
 
38
FILES = \
 
39
        src/ClawsContactDetailItem.cs \
 
40
        src/ClawsContactsItemSource.cs 
 
41
 
 
42
RESOURCES = \
 
43
        resources/ClawsMail.addin.xml \
 
44
        resources/claws-mail.png
 
45
 
 
46
REFERENCES =  \
 
47
        System \
 
48
        System.Xml \
 
49
        Mono.Posix \
 
50
        $(DO_PLATFORM_LIBS) \
 
51
        $(DO_UNIVERSE_LIBS)
 
52
 
 
53
DLL_REFERENCES = 
 
54
 
 
55
CLEANFILES = 
 
56
 
 
57
include $(top_srcdir)/Makefile.include
 
58
 
 
59
 
 
60
$(build_xamlg_list): %.xaml.g.cs: %.xaml
 
61
        xamlg '$<'
 
62
 
 
63
$(build_resx_resources) : %.resources: %.resx
 
64
        resgen2 '$<' '$@'
 
65
 
 
66
$(ASSEMBLY) $(ASSEMBLY_MDB): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list) $(build_satellite_assembly_list)
 
67
        mkdir -p $(dir $(ASSEMBLY))
 
68
        $(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref)