File: Makefile.am

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 (53 lines) | stat: -rw-r--r-- 1,224 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
46
47
48
49
50
51
52
53
include $(top_srcdir)/Makefile.include

ASSEMBLY_NAME = gkeyfile-sharp

ASSEMBLY_SOURCES =

ASSEMBLY_CUSTOMS =			\
	$(srcdir)/GKeyFile.custom

GENERATED =				\
	$(srcdir)/generated/Error.cs	\
	$(srcdir)/generated/Flags.cs	\
	$(srcdir)/generated/GKeyFile.cs
	
REFS =

PKGS =					\
	-pkg:glib-sharp-2.0

ASSEMBLY = $(ASSEMBLY_NAME).dll

all: $(ASSEMBLY)

gkeyfile-api.raw: gkeyfile-sharp-sources.xml
	$(GAPI2PARSER) gkeyfile-sharp-sources.xml

gkeyfile-api.xml: gkeyfile-api.raw GKeyFile.metadata
	cp gkeyfile-api.raw gkeyfile-api.xml
	$(GAPI2FIXUP) --api=gkeyfile-api.xml --metadata=GKeyFile.metadata

.generated_timestamp: gkeyfile-api.xml $(CUSTOMS)
	$(GAPI2CODEGEN) --outdir=generated --customdir=$(srcdir) --generate gkeyfile-api.xml
	touch $@
$(ASSEMBLY): .generated_timestamp $(ASSEMBLY_SOURCES) $(ASSEMBLY_CUSTOMS)
	$(CSC_LIB) -unsafe -out:$@ $(PKGS) $(REFS) $(ASSEMBLY_SOURCES) $(srcdir)/generated/*.cs

assemblydir = $(pkglibdir)
assembly_DATA =			\
	$(ASSEMBLY)

EXTRA_DIST =				\
	$(ASSEMBLY_SOURCES)		\
	$(ASSEMBLY_CUSTOMS)		\
	$(ASSEMBLY_NAME)-sources.xml	\
	gkeyfile-api.raw		\
	GKeyFile.metadata		\
	gkeyfile-api.xml		\
	.generated_timestamp		\
	$(GENERATED)

CLEANFILES =			\
	$(ASSEMBLY)		\
	$(ASSEMBLY).mdb