~cszikszoy/do-plugins/pastebin

« back to all changes in this revision

Viewing changes to Twitter/Makefile.am

  • Committer: Jacob Andreas
  • Date: 2008-03-21 14:13:52 UTC
  • Revision ID: jacob@ada-20080321141352-305e6v5ve6zv5m1t
Twitter plugin added.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
EXTRA_DIST =    \
 
2
                        Twitter.cs \
 
3
                        TwitterIcon.cs \
 
4
                        Notifications.cs
 
5
 
 
6
ASSEMBLY_NAME=Twitter
 
7
ASSEMBLY=$(ASSEMBLY_NAME).dll
 
8
 
 
9
CSFLAGS+= -debug+ -debug:full
 
10
 
 
11
CLEANFILES = $(ASSEMBLY){,.mdb}
 
12
 
 
13
twitter_references = $(DO_ADDINS_LIBS) $(DO_LIBS) -r:System -r:Mono.Posix $(NDESK_DBUS_LIBS) $(GCONF_SHARP_LIBS)
 
14
 
 
15
twitter_sources  =      \
 
16
                        Twitter.cs \
 
17
                        TwitterIcon.cs \
 
18
                        Notifications.cs
 
19
 
 
20
twitter_resources =     \
 
21
                        twitter-icon.svg \
 
22
                        twitter-icon.png
 
23
 
 
24
twitter_build_sources = $(addprefix $(srcdir)/, $(twitter_sources))
 
25
 
 
26
twitter_resource_args = $(addprefix -resource:$(srcdir)/, $(twitter_resources))
 
27
 
 
28
plugin_DATA = $(ASSEMBLY)
 
29
 
 
30
all: $(ASSEMBLY)
 
31
 
 
32
$(ASSEMBLY): $(twitter_build_sources)
 
33
        $(CSC) $(CSFLAGS) $(twitter_references) $(twitter_resource_args) -target:library -out:$@ $(twitter_build_sources)