File: Makefile.am

package info (click to toggle)
camserv 0.42-9
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,884 kB
  • ctags: 1,123
  • sloc: ansic: 19,694; sh: 7,454; makefile: 206
file content (74 lines) | stat: -rw-r--r-- 1,925 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
bin_PROGRAMS = camserv

INCLUDES =-I$(includedir) -I$(top_srcdir)/include -DDATDIR=\"${datadir}\"  \
	  -I${top_srcdir}/libltdl

CFLAGS += -g ${X_CFLAGS}
LDFLAGS += -export-dynamic

camserv_SOURCES=	alpha_map.h \
			camconfig.c \
			camserv.c \
			filter.c \
			main_loop.c \
			picture_loop.c \
			shm.c \
			video.c 

if HAVE_GDK_PIXBUF
libgdk_pixbuf_filter_la_SOURCES = gdkpixbuf_filter.c camconfig.c
gdk_ltlibs = libgdk_pixbuf_filter.la
gdk_ldaddflags = "-dlopen " ${gdk_ltlibs}
endif

if VIDEO_V4L
libvideo_v4l_la_SOURCES = video_v4l.c camconfig.c
v4l_ltlibs = libvideo_v4l.la
v4l_ldaddflags = "-dlopen " ${v4l_ltlibs}
endif

EXTRA_DIST += video_fbsd_bttv.c

if VIDEO_FBSD_BTTV
libvideo_fbsd_bttv_la_SOURCES = video_fbsd_bttv.c camconfig.c
fbsd_bttv_ltlibs = libvideo_fbsd_bttv.la
fbsd_bttv_ldaddflags = "-dlopen " ${fbsd_bttv_ltlibs}
endif

if JPEG_VALID
libjpg_filter_la_SOURCES = jpg_filter.c camconfig.c jpgstuff.c
jpg_ltlibs = libjpg_filter.la
jpg_ldaddflags = "-dlopen " ${jpg_ltlibs}
endif

if HAVE_IMLIB2
libimlib2_filter_la_SOURCES = imlib2_filter.c camconfig.c
imlib2_ltlibs = libimlib2_filter.la
imlib2_ldaddflags = "-dlopen " ${imlib2_ltlibs}
endif

lib_LTLIBRARIES = 	${jpg_ltlibs}		\
			librand_filter.la	\
			libtext_filter.la	\
			${v4l_ltlibs}           \
			${imlib2_ltlibs}	\
			${gdk_ltlibs}		\
			${fbsd_bttv_ltlibs}	\
			libvideo_basic.la

librand_filter_la_SOURCES = rand_filter.c camconfig.c
libtext_filter_la_SOURCES = text_filter.c camconfig.c fixfont.c fmt_text.c
libvideo_basic_la_SOURCES = video_basic.c camconfig.c

camserv_LDADD =   $(LIBLTDL) "-dlopen" self \
			     ${jpg_ldaddflags} \
			     "-dlopen" librand_filter.la \
			     "-dlopen" libtext_filter.la \
			     ${v4l_ldaddflags} \
			     ${imlib2_ldaddflags} \
			     ${gdk_ldaddflags} \
			     ${fbsd_bttv_ldaddflags} \
			     "-dlopen" libvideo_basic.la \
			     ../common/libcommon.a

camserv_DEPENDENCIES = $(LIBLTDL)