~cszikszoy/do-plugins/pastebin

« back to all changes in this revision

Viewing changes to OpenSearch/Makefile.am

Make build system sane

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
SUBDIRS=src
2
 
 
3
 
ASSEMBLY_NAME=OpenSearch
4
 
ASSEMBLY=$(ASSEMBLY_NAME).dll
5
 
 
6
 
CSFLAGS+= -debug+ -debug:full
7
 
 
8
 
CLEANFILES = $(ASSEMBLY){,.mdb}
9
 
 
10
 
open_search_references = $(DO_ADDINS_LIBS) -r:Mono.Posix.dll -r:System.Web
11
 
 
12
 
open_search_sources  =  \
13
 
    AssemblyInfo.cs \
14
 
    OpenSearch.cs \
15
 
    FirefoxOpenSearchFileProvider.cs \
16
 
    IOpenSearchFile.cs \
17
 
    IOpenSearchFileProvider.cs \
18
 
    IOpenSearchItem.cs \
19
 
    OpenSearchItem.cs \
20
 
    MozillaSearchFile.cs  \
21
 
    OpenSearchAction.cs  \
22
 
    OpenSearchFile.cs \
23
 
    OpenSearchFileManager.cs \
24
 
    OpenSearchFileType.cs \
25
 
    OpenSearchFileTypeIdentifier.cs \
26
 
    XmlNamespaceHelper.cs
27
 
 
28
 
open_search_build_sources = $(addprefix $(srcdir)/src/, $(open_search_sources))
29
 
 
30
 
plugin_DATA = $(ASSEMBLY)
31
 
 
32
 
all: $(ASSEMBLY)
33
 
 
34
 
$(ASSEMBLY): $(open_search_build_sources)
35
 
        $(CSC) $(CSFLAGS) $(open_search_references) -target:library -out:$@ $(open_search_build_sources)