Remove unused header include code
[platform/core/multimedia/libmm-camcorder.git] / src / Makefile.am
1 ACLOCAL_AMFLAGS='-I m4'
2
3 lib_LTLIBRARIES = libmmfcamcorder.la
4
5 includelibmmfcamcorderdir = $(includedir)/mmf
6
7 includelibmmfcamcorder_HEADERS = include/mm_camcorder.h \
8                                  include/mm_camcorder_mused.h
9
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
23
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 \
33                              mm_camcorder_util.c \
34                              mm_camcorder_exifinfo.c \
35                              mm_camcorder_sound.c \
36                              mm_camcorder_mused.c
37
38 libmmfcamcorder_la_CFLAGS = -I$(srcdir)/include \
39                              $(GST_CFLAGS) \
40                              $(GST_PLUGIN_BASE_CFLAGS) \
41                              $(GST_VIDEO_CFLAGS) \
42                              $(GST_APP_CFLAGS) \
43                              $(EXIF_CFLAGS) \
44                              $(MM_COMMON_CFLAGS) \
45                              $(MMSOUND_CFLAGS) \
46                              $(SNDFILE_CFLAGS) \
47                              $(VCONF_CFLAGS) \
48                              $(MMUTIL_IMGP_CFLAGS) \
49                              $(MMUTIL_JPEG_CFLAGS) \
50                              $(TBM_CFLAGS) \
51                              $(SYSTEMINFO_CFLAGS)
52
53 libmmfcamcorder_la_LIBADD = \
54                             $(GLIB_LIBS) \
55                             $(GIO_LIBS) \
56                             $(GST_LIBS) \
57                             $(GST_PLUGIN_BASE_LIBS) \
58                             $(GST_VIDEO_LIBS) \
59                             $(GST_APP_LIBS) \
60                             $(MM_COMMON_LIBS) \
61                             $(EXIF_LIBS) \
62                             $(MMSOUND_LIBS) \
63                             $(SNDFILE_LIBS) \
64                             $(VCONF_LIBS) \
65                             $(MMUTIL_IMGP_LIBS) \
66                             $(MMUTIL_JPEG_LIBS) \
67                             $(TBM_LIBS)
68
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)
74
75 if WAYLAND_SUPPORT
76 libmmfcamcorder_la_CFLAGS += $(GST_WAYLAND_CFLAGS)
77 libmmfcamcorder_la_LIBADD += $(GST_WAYLAND_LIBS)
78 endif
79
80 install-exec-hook:
81                                         mkdir -p $(DESTDIR)$(prefix)/share/sounds/mm-camcorder && \
82                                         cp $(srcdir)/../sounds/* $(DESTDIR)$(prefix)/share/sounds/mm-camcorder/
83