File: Makefile.am

package info (click to toggle)
gnonlin 0.10.15-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 2,840 kB
  • ctags: 776
  • sloc: sh: 10,859; ansic: 7,066; perl: 1,486; makefile: 625; python: 470; xml: 93
file content (54 lines) | stat: -rw-r--r-- 1,373 bytes parent folder | download | duplicates (2)
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
54
built_header_make = gnlmarshal.h
build_source_make = gnlmarshal.c
plugin_LTLIBRARIES = libgnl.la

EXTRA_libgnl_la_SOURCES = gnlmarshal.list 

libgnl_la_SOURCES =		\
	gnl.c			\
	gnlobject.c		\
	gnlcomposition.c	\
	gnlghostpad.c		\
	gnlmarshal.c		\
	gnloperation.c		\
	gnlsource.c		\
	gnlurisource.c		\
	gnlfilesource.c
libgnl_la_CFLAGS = $(GST_CFLAGS)
libgnl_la_LIBADD = $(GST_LIBS)
libgnl_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgnl_la_LIBTOOLFLAGS = --tag=disable-static

gnl_headers =			\
	gnl.h			\
	gnlobject.h		\
	gnlcomposition.h	\
	gnltypes.h		\
	gnlghostpad.h		\
	gnloperation.h		\
	gnlsource.h		\
	gnltypes.h		\
	gnlurisource.h		\
	gnlfilesource.h

DISTCLEANFILE = $(CLEANFILES)

#files built on make all/check/instal
BUILT_SOURCES =			\
	$(built_header_configure)	\
	$(built_header_make)		\
	$(built_source_make)

CLEANFILES = $(built_header_make) $(built_source_make)

noinst_HEADERS = $(gnl_headers) $(built_header_make) $(built_header_configure)

gnlmarshal.h: gnlmarshal.list
	$(AM_V_GEN)glib-genmarshal --header --prefix=gnl_marshal $^ > gnlmarshal.h.tmp && \
	mv gnlmarshal.h.tmp gnlmarshal.h

gnlmarshal.c: gnlmarshal.list
	$(AM_V_GEN)echo "#include \"glib-object.h\"" >gnlmarshal.c.tmp && \
	echo "#include \"gnlmarshal.h\"" >> gnlmarshal.c.tmp && \
	glib-genmarshal --body --prefix=gnl_marshal $^ >> gnlmarshal.c.tmp && \
	mv gnlmarshal.c.tmp gnlmarshal.c