920d4b49d0548d5000b1992291a165b3288ee105
[platform/core/uifw/e-mod-tizen-wm-policy.git] / src / Makefile.am
1 MAINTAINERCLEANFILES = Makefile.in
2
3 AM_CPPFLAGS = -I./rotation -I./splitscreen
4
5 MODULE = e-mod-tizen-wm-policy
6
7 # data files for the module
8 filesdir = $(libdir)/enlightenment/modules/$(MODULE)
9
10 pkgdir                 = $(libdir)/enlightenment/modules/$(MODULE)/$(MODULE_ARCH)
11 pkg_LTLIBRARIES        = module.la
12
13 ROT_SRC  = rotation/e_mod_rotation.c \
14            rotation/e_mod_rotation.h \
15            rotation/e_mod_rotation_settings.c \
16            rotation/e_mod_rotation_settings.h
17
18 if HAVE_AUTO_ROTATION
19 ROT_SRC  += rotation/e_mod_sensord.c \
20             rotation/e_mod_sensord.h
21 endif
22
23 ROT_SRC  += rotation/e_mod_rotation_wl.c \
24             rotation/e_mod_rotation_wl.h
25
26 SPLITSCREEN_SRC = splitscreen/e_mod_split_screen_manager.c \
27                   splitscreen/e_mod_split_screen_manager.h \
28                   splitscreen/e_mod_split_screen_manager_log.h \
29                   splitscreen/e_mod_split_screen_region.c \
30                   splitscreen/e_mod_split_screen_region.h \
31                   splitscreen/e_mod_appinfo_ext.c \
32                   splitscreen/e_mod_appinfo_ext.h
33
34 module_la_SOURCES      = e_mod_config.c \
35                          e_mod_main.c \
36                          e_mod_main.h \
37                          e_mod_pol_pingpong.c \
38                          e_mod_pol_pingpong.h \
39                          e_mod_configured_resolution.c \
40                          e_mod_configured_resolution.h \
41                          $(ROT_SRC) \
42                          $(SPLITSCREEN_SRC)
43
44 module_la_LIBADD       =
45 module_la_CFLAGS       = @ENLIGHTENMENT_CFLAGS@  @TTRACE_CFLAGS@ @CAPI_SYSTEM_INFO_CFLAGS@
46 module_la_LDFLAGS      = -module -avoid-version @ENLIGHTENMENT_LIBS@ @TTRACE_LIBS@ @CAPI_SYSTEM_INFO_LIBS@
47 module_la_DEPENDENCIES = $(top_builddir)/config.h
48
49 if HAVE_AUTO_ROTATION
50 module_la_CFLAGS       += @SENSORD_CFLAGS@
51 module_la_LDFLAGS      += @SENSORD_LIBS@
52 endif