~cszikszoy/do-plugins/pastebin

244.1.1 by Jason Jones
Added ImageShack plugin.
1
EXTRA_DIST =  
2
3
if ENABLE_DEBUG
4
ASSEMBLY_COMPILER_COMMAND = gmcs
5
ASSEMBLY_COMPILER_FLAGS =  -noconfig -codepage:utf8 -warn:4 -optimize+ -debug "-define:DEBUG"
6
7
ASSEMBLY = bin/Debug/ImageShack.dll
8
ASSEMBLY_MDB = $(ASSEMBLY).mdb
9
COMPILE_TARGET = library
10
PROJECT_REFERENCES = 
11
BUILD_DIR = bin/Debug
12
13
14
endif
15
16
if ENABLE_RELEASE
17
ASSEMBLY_COMPILER_COMMAND = gmcs
18
ASSEMBLY_COMPILER_FLAGS =  -noconfig -codepage:utf8 -warn:4 -optimize+
19
ASSEMBLY = bin/Release/ImageShack.dll
20
ASSEMBLY_MDB = 
21
COMPILE_TARGET = library
22
PROJECT_REFERENCES = 
23
BUILD_DIR = bin/Release
24
25
26
endif
27
28
AL=al2
29
SATELLITE_ASSEMBLY_NAME=.resources.dll
30
31
all: $(ASSEMBLY)
32
33
FILES = \
34
	src/ImageShackAction.cs \
264.1.3 by Jason Jones
Merged the ImageShack config from Adam Guthrie.
35
	src/ImageShackConfig.cs \
36
	gtk-gui/generated.cs \
37
	gtk-gui/ImageShack.ImageShackConfig.cs
38
244.1.1 by Jason Jones
Added ImageShack plugin.
39
DATA_FILES = 
40
41
RESOURCES = \
42
	src/ImageShack.addin.xml \
43
	resources/imageshack.png \
264.1.3 by Jason Jones
Merged the ImageShack config from Adam Guthrie.
44
	gtk-gui/gui.stetic \
45
	gtk-gui/objects.xml 
46
244.1.1 by Jason Jones
Added ImageShack plugin.
47
REFERENCES =  \
48
	System \
49
	Mono.Posix \
50
	System.Web \
51
	$(GTK_SHARP_20_LIBS) \
52
	$(GCONF_SHARP_20_LIBS) \
53
	$(DOADDINS_LIBS)
54
55
DLL_REFERENCES = 
56
57
CLEANFILES = 
58
59
include $(top_srcdir)/Makefile.include
60
61
62
$(build_xamlg_list): %.xaml.g.cs: %.xaml
63
	xamlg '$<'
64
65
$(build_resx_resources) : %.resources: %.resx
66
	resgen2 '$<' '$@'
67
68
$(ASSEMBLY) $(ASSEMBLY_MDB): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list) $(build_satellite_assembly_list)
69
	mkdir -p $(dir $(ASSEMBLY))
70
	$(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref)
71