File: Makefile.am

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 (40 lines) | stat: -rw-r--r-- 1,003 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
SAMPLES = \
	test-cogl-primitives.cs \
	test-cogl-vertex-buffer.cs \
	test-actors.cs \
	test-behave.cs \
	test-entry.cs \
	test-shaders.cs \
	test-scale.cs \
	test-script.cs \
	test-scroll-actor.cs \
	test-threads.cs

ASSEMBLIES = clutter-sharp.dll glib-sharp.dll

if ENABLE_GTK
SAMPLES += \
	gtk-test.cs \
	gtk-test-events.cs

ASSEMBLIES += clutter-gtk-sharp.dll
endif

MCSFLAGS = -debug -unsafe $(GTKSHARP_LIBS) $(addprefix -r:, $(ASSEMBLIES)) -r:Mono.Cairo 

noinst_SCRIPTS = $(SAMPLES:.cs=.exe)

%.exe: %.cs $(ASSEMBLIES)
	$(MCS) $(MCSFLAGS) -out:$@ $<

clutter-sharp.dll: $(top_builddir)/clutter/clutter-sharp.dll
	cp $(top_builddir)/clutter/clutter-sharp.dll{,.config,.mdb} .

clutter-gtk-sharp.dll: $(top_builddir)/clutter-gtk/clutter-gtk-sharp.dll
	cp $(top_builddir)/clutter-gtk/clutter-gtk-sharp.dll{,.config,.mdb} .

glib-sharp.dll: $(top_builddir)/glib/glib-sharp.dll
	cp $(top_builddir)/glib/glib-sharp.dll{,.config} .

EXTRA_DIST = $(wildcard *.cs)
CLEANFILES = *.exe *.mdb *.dll *.config