1 ACLOCAL_AMFLAGS='-I m4'
3 lib_LTLIBRARIES = libmmfcamcorder.la
5 includelibmmfcamcorderdir = $(includedir)/mmf
7 includelibmmfcamcorder_HEADERS = include/mm_camcorder.h \
8 include/mm_camcorder_mused.h
10 noinst_HEADERS = include/mm_camcorder_audiorec.h \
11 include/mm_camcorder_attribute.h \
12 include/mm_camcorder_configure.h \
13 include/mm_camcorder_gstcommon.h \
14 include/mm_camcorder_internal.h \
15 include/mm_camcorder_platform.h \
16 include/mm_camcorder_stillshot.h \
17 include/mm_camcorder_videorec.h \
18 include/mm_camcorder_util.h \
19 include/mm_camcorder_exifinfo.h\
20 include/mm_camcorder_exifdef.h \
21 include/mm_camcorder_sound.h \
22 include/mm_camcorder_mused.h
24 libmmfcamcorder_la_SOURCES = mm_camcorder.c \
25 mm_camcorder_internal.c \
26 mm_camcorder_attribute.c \
27 mm_camcorder_stillshot.c \
28 mm_camcorder_videorec.c \
29 mm_camcorder_audiorec.c \
30 mm_camcorder_gstcommon.c \
31 mm_camcorder_platform.c \
32 mm_camcorder_configure.c \
34 mm_camcorder_exifinfo.c \
35 mm_camcorder_sound.c \
38 libmmfcamcorder_la_CFLAGS = -I$(srcdir)/include \
40 $(GST_PLUGIN_BASE_CFLAGS) \
48 $(MMUTIL_IMGP_CFLAGS) \
49 $(MMUTIL_JPEG_CFLAGS) \
53 libmmfcamcorder_la_LIBADD = \
57 $(GST_PLUGIN_BASE_LIBS) \
69 libmmfcamcorder_la_CFLAGS += -DMMF_LOG_OWNER=0x010 -D_FILE_OFFSET_BITS=64
70 libmmfcamcorder_la_CFLAGS += -fdata-sections -ffunction-sections -Wl,--gc-sections
71 libmmfcamcorder_la_LDFLAGS = -Wl,--gc-sections \
72 -Wl,-init,_mmcamcorder_constructor
73 libmmfcamcorder_la_LIBADD += $(SYSTEMINFO_LIBS)
76 libmmfcamcorder_la_CFLAGS += $(GST_WAYLAND_CFLAGS)
77 libmmfcamcorder_la_LIBADD += $(GST_WAYLAND_LIBS)
81 mkdir -p $(DESTDIR)$(prefix)/share/sounds/mm-camcorder && \
82 cp $(srcdir)/../sounds/* $(DESTDIR)$(prefix)/share/sounds/mm-camcorder/