File: Makefile.am

package info (click to toggle)
gnome-do-plugins 0.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 1,272 kB
  • ctags: 868
  • sloc: cs: 4,634; sh: 632; makefile: 379
file content (28 lines) | stat: -rw-r--r-- 633 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
SUBDIRS=src

ASSEMBLY_NAME=Pastebin
ASSEMBLY=$(ASSEMBLY_NAME).dll

CSFLAGS+= -debug+ -debug:full

CLEANFILES = $(ASSEMBLY){,.mdb}

pastebin_references = $(DO_ADDINS_LIBS) -r:Mono.Posix.dll -r:System.Web

pastebin_sources  = 	\
    AssemblyInfo.cs \
    IPastebinProvider.cs \
    ITextSyntaxItem.cs \
    Paste2.cs \
    Pastebin.cs \
    PastebinAction.cs \
    TextSyntaxItem.cs

pastebin_build_sources = $(addprefix $(srcdir)/src/, $(pastebin_sources))

plugin_DATA = $(ASSEMBLY)

all: $(ASSEMBLY)

$(ASSEMBLY): $(pastebin_build_sources)
	$(CSC) $(CSFLAGS) $(pastebin_references) -target:library -out:$@ $(pastebin_build_sources)