~iwarford/do-plugins/autofoo

« back to all changes in this revision

Viewing changes to OpenSearch/Makefile.am

  • Committer: Christopher Halse Rogers
  • Date: 2009-01-05 01:29:09 UTC
  • Revision ID: raof@ubuntu.com-20090105012909-wazczkbdvhmpnobc
MoreĀ builds

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
 
ASSEMBLY = bin/Debug/OpenSearch.dll
10
 
ASSEMBLY_MDB = $(ASSEMBLY).mdb
11
 
COMPILE_TARGET = library
12
 
PROJECT_REFERENCES = 
13
 
BUILD_DIR = bin/Debug
14
 
 
15
 
OPENSEARCH_DLL_MDB_SOURCE=bin/Debug/OpenSearch.dll.mdb
16
 
OPENSEARCH_DLL_MDB=$(BUILD_DIR)/OpenSearch.dll.mdb
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_DLL_MDB=
30
 
 
31
 
endif
32
 
 
33
 
AL=al2
34
 
SATELLITE_ASSEMBLY_NAME=$(notdir $(basename $(ASSEMBLY))).resources.dll
35
 
 
36
 
PROGRAMFILES = \
37
 
        $(OPENSEARCH_DLL_MDB)  
38
 
 
39
 
LINUX_PKGCONFIG = \
40
 
        $(OPENSEARCH_PC)  
41
 
 
42
 
 
43
 
RESGEN=resgen2
44
 
        
45
 
all: $(ASSEMBLY) $(PROGRAMFILES) $(LINUX_PKGCONFIG) 
 
1
include $(top_srcdir)/build.rules.mk
 
2
 
 
3
ASSEMBLY=OpenSearch
46
4
 
47
5
FILES = \
48
6
        src/AssemblyInfo.cs \
 
7
        src/FirefoxOpenSearchDirectoryProvider.cs \
 
8
        src/IOpenSearchItem.cs \
49
9
        src/OpenSearchAction.cs \
50
10
        src/OpenSearchItem.cs \
51
11
        src/OpenSearchItemSource.cs \
52
 
        src/OpenSearchParser.cs \
53
 
        src/IOpenSearchItem.cs \
54
 
        src/FirefoxOpenSearchDirectoryProvider.cs 
55
 
 
56
 
DATA_FILES = 
 
12
        src/OpenSearchParser.cs
57
13
 
58
14
RESOURCES = \
59
 
        src/OpenSearch.addin.xml 
60
 
 
61
 
EXTRAS = \
62
 
        opensearch.pc.in 
63
 
 
64
 
REFERENCES =  \
 
15
        src/OpenSearch.addin.xml
 
16
 
 
17
REFERENCES = \
 
18
        Mono.Posix \
65
19
        System \
 
20
        System.Core \
 
21
        System.Web \
66
22
        System.Xml \
67
 
        Mono.Posix \
68
 
        System.Web \
69
 
        Do.Addins
70
 
 
71
 
DLL_REFERENCES = 
72
 
 
73
 
CLEANFILES = $(PROGRAMFILES) $(LINUX_PKGCONFIG) 
74
 
 
75
 
include $(top_srcdir)/Makefile.include
76
 
 
77
 
OPENSEARCH_PC = $(BUILD_DIR)/opensearch.pc
78
 
 
79
 
$(eval $(call emit-deploy-wrapper,OPENSEARCH_PC,opensearch.pc))
80
 
 
81
 
 
82
 
$(eval $(call emit_resgen_targets))
83
 
$(build_xamlg_list): %.xaml.g.cs: %.xaml
84
 
        xamlg '$<'
85
 
 
86
 
$(ASSEMBLY) $(ASSEMBLY_MDB): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list) $(build_satellite_assembly_list)
87
 
        mkdir -p $(shell dirname $(ASSEMBLY))
88
 
        $(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref)
 
23
        $(DO_PLATFORM_LIBS) \
 
24
        $(DO_UNIVERSE_LIBS)