File: Makefile.addins

package info (click to toggle)
f-spot 0.6.2-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 21,784 kB
  • ctags: 16,078
  • sloc: cs: 108,718; sh: 17,053; xml: 13,852; ansic: 3,187; makefile: 2,324
file content (45 lines) | stat: -rw-r--r-- 1,281 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
ASSEMBLY = $(addin).dll

include $(top_srcdir)/Makefile.include

dep_resources = $(addprefix $(srcdir)/, $(addin_resources))
build_resources = $(foreach res, $(dep_resources), $(addprefix -resource:, $(res)),$(notdir $(res)))
build_sources = $(addprefix $(srcdir)/, $(addin_sources))
build_packages = 					\
	$(addprefix -pkg:, $(addin_packages))		\
	-pkg:mono-addins

build_references =					\
	$(addprefix -r:, $(addin_references))		\
	-r:$(top_builddir)/src/f-spot.exe		\
	-r:$(top_builddir)/src/Cms.dll			\
	-r:$(top_builddir)/src/FSpot.Core.dll		\
	-r:$(top_builddir)/src/FSpot.Platform.dll	\
	-r:$(top_builddir)/src/FSpot.Query.dll		\
	-r:$(top_builddir)/src/FSpot.Utils.dll		\
	-r:$(top_builddir)/src/FSpot.Widgets.dll	\
	$(LINK_SEMWEB)					\
	$(LINK_GPHOTO2)					\
	$(LINK_GIOSHARP)				\
	$(LINK_UNIQUESHARP)				\
	$(LINK_GTKSHARPBEANS)


mpack: $(ASSEMBLY)
	mautil p $(ASSEMBLY)

addin_SOURCES =						\
	$(build_sources)

$(ASSEMBLY): $(addin_SOURCES) $(dep_resources)
	$(CSC_LIB) -out:$@ $(addin_extraflags) $(build_sources) $(build_references) $(build_packages) $(build_resources)

addindir = $(pkglibdir)/extensions
addin_DATA = $(ASSEMBLY)

CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb *.mpack

EXTRA_DIST = 			\
	$(build_sources)	\
	$(dep_resources)	\
	$(addin_extradist)