~haakan/do-plugins/sshfix

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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
EXTRA_DIST =  

# Warning: This is an automatically generated file, do not edit!

if ENABLE_DEBUG
ASSEMBLY_COMPILER_COMMAND = gmcs
ASSEMBLY_COMPILER_FLAGS =  -noconfig -codepage:utf8 -warn:4 -optimize+ -debug "-define:DEBUG"
ASSEMBLY = bin/Debug/RSS.dll
ASSEMBLY_MDB = $(ASSEMBLY).mdb
COMPILE_TARGET = library
PROJECT_REFERENCES = 
BUILD_DIR = bin/Debug

RSS_DLL_MDB_SOURCE=bin/Debug/RSS.dll.mdb
RSS_DLL_MDB=$(BUILD_DIR)/RSS.dll.mdb

endif

if ENABLE_RELEASE
ASSEMBLY_COMPILER_COMMAND = gmcs
ASSEMBLY_COMPILER_FLAGS =  -noconfig -codepage:utf8 -warn:4 -optimize+
ASSEMBLY = bin/Release/RSS.dll
ASSEMBLY_MDB = 
COMPILE_TARGET = library
PROJECT_REFERENCES = 
BUILD_DIR = bin/Release

RSS_DLL_MDB=

endif

AL=al2
SATELLITE_ASSEMBLY_NAME=$(notdir $(basename $(ASSEMBLY))).resources.dll

PROGRAMFILES = \
	$(RSS_DLL_MDB)  

LINUX_PKGCONFIG = \
	$(RSS_PC)  


RESGEN=resgen2
	
all: $(ASSEMBLY) $(PROGRAMFILES) $(LINUX_PKGCONFIG) 

FILES = \
	src/Configuration.cs \
	src/FirefoxLiveBookmarksItemSource.cs \
	src/RssFeedAction.cs \
	src/RssFeedItem.cs \
	src/RssFeedLinkItem.cs \
	src/RssItemSource.cs \
	src/RSS.NET/RssReader.cs \
	src/RSS.NET/Day.cs \
	src/RSS.NET/Hour.cs \
	src/RSS.NET/RssFeed.cs \
	src/RSS.NET/RssModule.cs \
	src/RSS.NET/Shared/RssCategory.cs \
	src/RSS.NET/Shared/RssDefault.cs \
	src/RSS.NET/Shared/RssElement.cs \
	src/RSS.NET/Shared/RssEnumerators.cs \
	src/RSS.NET/RssItem/RssEnclosure.cs \
	src/RSS.NET/RssItem/RssGuid.cs \
	src/RSS.NET/RssItem/RssItem.cs \
	src/RSS.NET/RssItem/RssSource.cs \
	src/RSS.NET/RssChannel/RssChannel.cs \
	src/RSS.NET/RssChannel/RssCloud.cs \
	src/RSS.NET/RssChannel/RssImage.cs \
	src/RSS.NET/RssChannel/RssTextInput.cs \
	src/RSS.NET/RssModuleItem.cs \
	gtk-gui/Do.Plugins.Rss.Configuration.cs \
	gtk-gui/generated.cs 

DATA_FILES = 

RESOURCES = \
	resources/feed-icon.png \
	resources/RSS.addin.xml \
	gtk-gui/gui.stetic \
	gtk-gui/objects.xml 

EXTRAS = \
	src/RSS.usertasks \
	src/RSS.userprefs \
	rss.pc.in 

REFERENCES =  \
	$(GTK_SHARP_20_LIBS) \
	System \
	System.Xml \
	Mono.Posix \
	System.Web \
	Do.Addins \
	$(GCONF_SHARP_20_LIBS)

DLL_REFERENCES = 

CLEANFILES = $(PROGRAMFILES) $(LINUX_PKGCONFIG) 

include $(top_srcdir)/Makefile.include

RSS_PC = $(BUILD_DIR)/rss.pc

$(eval $(call emit-deploy-wrapper,RSS_PC,rss.pc))


$(eval $(call emit_resgen_targets))
$(build_xamlg_list): %.xaml.g.cs: %.xaml
	xamlg '$<'

$(ASSEMBLY) $(ASSEMBLY_MDB): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list) $(build_satellite_assembly_list)
	mkdir -p $(shell dirname $(ASSEMBLY))
	$(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref)