File: assembly.mk

package info (click to toggle)
clutter-sharp 1.0.0~alpha3~git20090817.r1.349dba6-8
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 4,104 kB
  • ctags: 2,193
  • sloc: xml: 23,456; cs: 9,946; sh: 3,393; perl: 1,213; makefile: 270; awk: 50; sed: 13
file content (32 lines) | stat: -rw-r--r-- 823 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
ASSEMBLY = $(ASSEMBLY_NAME).dll
REFERENCES = $(GTKSHARP_LIBS) -r:Mono.Cairo $(CUSTOM_REFERENCES)

assemblydir = $(prefix)/lib/clutter-sharp
assembly_DATA = $(TARGET)

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = $(ASSEMBLY_NAME).pc

SOURCES_BUILD = $(addprefix $(srcdir)/, $(SOURCES))

$(ASSEMBLY): $(GAPI_FIXED_API) $(SOURCES_BUILD)
	@rm -f $(ASSEMBLY).mdb
	$(MCS) $(CSFLAGS) -out:$@ -debug -target:library -nowarn:0169 -unsafe \
		$(REFERENCES) $(SOURCES_BUILD) AssemblyInfo.cs $(top_srcdir)/glib/*.cs $(foreach dir, $(GENERATED_DIRS), $(dir)/generated/*.cs)

$(ASSEMBLY).mdb: $(ASSEMBLY)

EXTRA_DIST += \
	$(ASSEMBLY_NAME).pc.in \
	$(ASSEMBLY).config.in \
	$(SOURCES) \
	$(CUSTOMS)

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

DISTCLEANFILES = \
	$(ASSEMBLY).config \
	$(ASSEMBLY_NAME).pc \
	AssemblyInfo.cs