~cszikszoy/do-plugins/pastebin

« back to all changes in this revision

Viewing changes to Thunderbird/Makefile.am

  • Committer: Christopher James Halse Rogers
  • Date: 2008-01-14 06:19:28 UTC
  • Revision ID: chalserogers@gmail.com-20080114061928-18eh4jziddt21ag0
Add a trivial autogen.sh to make the build process look more standard
Add yet more *.dll to .bzrignore

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
SUBDIRS = src
 
2
 
 
3
ASSEMBLY_NAME=Thunderbird
 
4
 
 
5
EXTRA_DIST=$(ASSEMBLY_NAME).mdp
 
6
 
 
7
ASSEMBLY=$(ASSEMBLY_NAME).dll
 
8
 
 
9
CSFLAGS+= -debug+ -debug:full
 
10
 
 
11
CLEANFILES = $(ASSEMBLY){,.mdb}
 
12
 
 
13
thunderbird_references = $(DO_ADDINS_LIBS)
 
14
 
 
15
thunderbird_sources =   \
 
16
                        AssemblyInfo.cs \
 
17
                        Mork.cs \
 
18
                        ThunderbirdContactItemSource.cs
 
19
 
 
20
thunderbird_build_sources = $(addprefix $(srcdir)/src/, $(thunderbird_sources))
 
21
 
 
22
all: $(ASSEMBLY)
 
23
 
 
24
$(ASSEMBLY): $(thunderbird_build_sources)
 
25
        $(CSC) $(CSFLAGS) $(thunderbird_references) -target:library -out:$@ $(thunderbird_build_sources)
 
26
 
 
27
install-exec-local: $(ASSEMBLY)
 
28
        mkdir -p $(plugin_path)
 
29
        install -m 644 $(ASSEMBLY) $(plugin_path)
 
30
 
 
31
uninstall-local:
 
32
        rm $(plugin_path)/$(ASSEMBLY)