File: Include.am

package info (click to toggle)
gtkglarea-sharp 0.0.17-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,144 kB
  • ctags: 492
  • sloc: sh: 3,376; cs: 2,633; makefile: 421; xml: 126
file content (47 lines) | stat: -rw-r--r-- 1,151 bytes parent folder | download | duplicates (3)
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
ASSEMBLY=$(ASSEMBLY_NAME).$(ASSEMBLY_EXT)

## Set or append to EXTRA_DIST
EXTRA_DIST += $(addprefix $(srcdir)/, $(SOURCE_FILES))

## Set or append to CLEANFILES
CLEANFILES += \
	$(ASSEMBLY) \
	$(ASSEMBLY).pidb \
	$(ASSEMBLY).mdb

## Set or append to MCS_ARGS
MCS_ARGS += \
	-debug \
	-lib:@top_builddir@/gtkglarea \
	$(addprefix -resource:, $(RESOURCE_FILES)) \
	-pkg:gtk-sharp-2.0 \
	-pkg:tao-opengl \
	-nowarn:0169 \
	-r:gtkglarea-sharp.dll

## Set or append to MONO_PATH
MONO_PATH += :@top_builddir@/gtkglarea:

## Set or append to ASSEMBLY_DEPS
ASSEMBLY_DEPS += \
	@top_builddir@/gtkglarea/gtkglarea-sharp.dll \
	$(addprefix $(srcdir)/, $(SOURCE_FILES))

## The all (default) target
all: $(ASSEMBLY)

## Add the run target
run: $(ASSEMBLY)
	MONO_PATH="$(MONO_PATH)" mono $(ASSEMBLY)

## And of course, the target to build this assembly
$(ASSEMBLY): $(ASSEMBLY_DEPS)
	$(MCS) \
		/t:$(ASSEMBLY_TYPE) \
		$(MCS_ARGS) \
		$(addprefix $(srcdir)/, $(SOURCE_FILES)) \
		-out:$(ASSEMBLY)

## We can't forget to decribe how to build gtkglarea-sharp.dll
@top_builddir@/gtkglarea/gtkglarea-sharp.dll:
	$(MAKE) -C @top_builddir@/gtkglarea gtkglarea-sharp.dll