~d6g/do-plugins/Timer

« back to all changes in this revision

Viewing changes to GDocs/Makefile.am

  • Committer: Alex Launi
  • Date: 2008-10-20 22:21:07 UTC
  • mfrom: (248.1.8 GDocs)
  • Revision ID: alex@eriktorvaldsonn-20081020222107-xl42p0fnsg2p0tsb
Added GDocs plugin from Peng Deng

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/GDocs.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/GDocs.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
FILES = \
 
37
        src/CertHandler.cs \
 
38
        src/Configuration.cs \
 
39
        src/GDocs.cs \
 
40
        src/GDocsItem.cs \
 
41
        src/GDocsDocumentItem.cs \
 
42
        src/GDocsSpreadsheetItem.cs \
 
43
        src/GDocsPresentationItem.cs \
 
44
        src/GDocsPDFItem.cs \
 
45
        src/GDocsItemSource.cs \
 
46
        src/GDocsUploadDocument.cs \
 
47
        src/GDocsTrashDocument.cs
 
48
 
 
49
RESOURCES = \
 
50
        GDocs.addin.xml \
 
51
        resources/gDocsIcon.png \
 
52
        resources/gDocsUploadIcon.png \
 
53
        resources/gDocsTrashIcon.png
 
54
 
 
55
DATA_FILES =
 
56
 
 
57
BUNDLED_LIBS = \
 
58
        $(bundledir)/Google.GData.AccessControl.dll \
 
59
        $(bundledir)/Google.GData.Documents.dll \
 
60
        $(bundledir)/Google.GData.Client.dll \
 
61
        $(bundledir)/Google.GData.Extensions.dll
 
62
 
 
63
REFERENCES =  \
 
64
        System \
 
65
        System.Xml \
 
66
        Mono.Posix \
 
67
        $(DOADDINS_LIBS) \
 
68
        $(GTK_SHARP_20_LIBS) \
 
69
        $(BUNDLED_LIBS)
 
70
 
 
71
DLL_REFERENCES =
 
72
 
 
73
CLEANFILES =
 
74
 
 
75
include $(top_srcdir)/Makefile.include
 
76
 
 
77
 
 
78
$(build_xamlg_list): %.xaml.g.cs: %.xaml
 
79
        xamlg '$<'
 
80
 
 
81
$(build_resx_resources) : %.resources: %.resx
 
82
        resgen2 '$<' '$@'
 
83
 
 
84
$(ASSEMBLY) $(ASSEMBLY_MDB): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list) $(build_satellite_assembly_list)
 
85
        mkdir -p $(dir $(ASSEMBLY))
 
86
        $(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref)