~cszikszoy/do-plugins/pastebin

« back to all changes in this revision

Viewing changes to OpenSearch/Makefile.am

  • Committer: djsiegel at gmail
  • Date: 2007-11-07 19:51:21 UTC
  • Revision ID: djsiegel@gmail.com-20071107195121-v1niznt43hkai3o1
Added some template files.

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/OpenSearch.dll
11
 
ASSEMBLY_MDB = $(ASSEMBLY).mdb
12
 
COMPILE_TARGET = library
13
 
PROJECT_REFERENCES = 
14
 
BUILD_DIR = bin/Debug
15
 
 
16
 
OPENSEARCH_ADDIN_XML_SOURCE=src/OpenSearch.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/OpenSearch.dll
24
 
ASSEMBLY_MDB = 
25
 
COMPILE_TARGET = library
26
 
PROJECT_REFERENCES = 
27
 
BUILD_DIR = bin/Release
28
 
 
29
 
OPENSEARCH_ADDIN_XML_SOURCE=src/OpenSearch.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/OpenSearch.dll
38
 
ASSEMBLY_MDB = $(ASSEMBLY).mdb
39
 
COMPILE_TARGET = library
40
 
PROJECT_REFERENCES = 
41
 
BUILD_DIR = ../buildrepo
42
 
 
43
 
OPENSEARCH_ADDIN_XML_SOURCE=src/OpenSearch.addin.xml
44
 
 
45
 
endif
46
 
 
47
 
AL=al2
48
 
SATELLITE_ASSEMBLY_NAME=.resources.dll
49
 
 
50
 
PROGRAMFILES = \
51
 
        $(OPENSEARCH_ADDIN_XML)  
52
 
 
53
 
LINUX_PKGCONFIG = \
54
 
        $(OPENSEARCH_PC)  
55
 
 
56
 
 
57
 
        
58
 
all: $(ASSEMBLY) $(PROGRAMFILES) $(LINUX_PKGCONFIG) 
59
 
 
60
 
FILES = \
61
 
        src/AssemblyInfo.cs \
62
 
        src/FirefoxOpenSearchFileProvider.cs \
63
 
        src/IOpenSearchFile.cs \
64
 
        src/IOpenSearchFileProvider.cs \
65
 
        src/IOpenSearchItem.cs \
66
 
        src/MozillaSearchFile.cs \
67
 
        src/OpenSearch.cs \
68
 
        src/OpenSearchAction.cs \
69
 
        src/OpenSearchFile.cs \
70
 
        src/OpenSearchFileManager.cs \
71
 
        src/OpenSearchFileType.cs \
72
 
        src/OpenSearchFileTypeIdentifier.cs \
73
 
        src/OpenSearchItem.cs \
74
 
        src/XmlNamespaceHelper.cs 
75
 
 
76
 
DATA_FILES = \
77
 
        src/OpenSearch.addin.xml 
78
 
 
79
 
RESOURCES = 
80
 
 
81
 
EXTRAS = \
82
 
        opensearch.pc.in 
83
 
 
84
 
REFERENCES =  \
85
 
        $(DOADDINS_LIBS) \
86
 
        System \
87
 
        System.Xml \
88
 
        Mono.Posix \
89
 
        System.Web
90
 
 
91
 
DLL_REFERENCES = 
92
 
 
93
 
CLEANFILES = $(PROGRAMFILES) $(LINUX_PKGCONFIG) 
94
 
 
95
 
include $(top_srcdir)/Makefile.include
96
 
 
97
 
OPENSEARCH_ADDIN_XML = $(BUILD_DIR)/OpenSearch.addin.xml
98
 
OPENSEARCH_PC = $(BUILD_DIR)/opensearch.pc
99
 
 
100
 
$(eval $(call emit-deploy-target,OPENSEARCH_ADDIN_XML))
101
 
$(eval $(call emit-deploy-wrapper,OPENSEARCH_PC,opensearch.pc))
102
 
 
103
 
 
104
 
$(build_xamlg_list): %.xaml.g.cs: %.xaml
105
 
        xamlg '$<'
106
 
 
107
 
$(build_resx_resources) : %.resources: %.resx
108
 
        resgen2 '$<' '$@'
109
 
 
110
 
$(ASSEMBLY) $(ASSEMBLY_MDB): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list) $(build_satellite_assembly_list)
111
 
        mkdir -p $(dir $(ASSEMBLY))
112
 
        $(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref)