~cszikszoy/do-plugins/fix-confluence

« back to all changes in this revision

Viewing changes to ClawsMail/Makefile.am

  • Committer: Alex Launi
  • Date: 2009-01-09 09:05:05 UTC
  • mfrom: (413.1.45 build-fixins)
  • Revision ID: alex.launi@gmail.com-20090109090505-47e4prpey8eb0903
Merge massive plugins tree cleanup, and autofoo build fixes

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 = 
 
1
include $(top_srcdir)/build.rules.mk
 
2
 
 
3
ASSEMBLY=ClawsMail
37
4
 
38
5
FILES = \
39
6
        src/ClawsContactDetailItem.cs \
40
 
        src/ClawsContactsItemSource.cs 
 
7
        src/ClawsContactsItemSource.cs
41
8
 
42
9
RESOURCES = \
43
 
        resources/ClawsMail.addin.xml \
44
 
        resources/claws-mail.png
 
10
        Resources/ClawsMail.addin.xml \
 
11
        Resources/icons/claws-mail.png
45
12
 
46
 
REFERENCES =  \
 
13
REFERENCES = \
47
14
        System \
48
15
        System.Xml \
 
16
        System.Core \
49
17
        Mono.Posix \
50
18
        $(DO_PLATFORM_LIBS) \
51
19
        $(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)