summaryrefslogtreecommitdiff
path: root/src/modules/everything/Makefile.am
blob: 697d175dacd2b900541e5828d31477de28668e67 (plain)
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
MAINTAINERCLEANFILES = Makefile.in everything.pc
MODULE = everything

SUBDIRS = . sources actions views

# data files for the module
filesdir = $(libdir)/enlightenment/modules/$(MODULE)
files_DATA = \
e-module-$(MODULE).edj module.desktop

EXTRA_DIST = $(files_DATA) $(EVRYHEADERS) everything.pc.in

# the module .so file
INCLUDES               = -I. \
                         -I$(top_srcdir) \
                         -I$(top_srcdir)/src/modules/$(MODULE) \
                         -I$(top_srcdir)/src/bin \
                         -I$(top_srcdir)/src/lib \
                         -I$(top_srcdir)/src/modules \
                         @e_cflags@

pkgdir                 = $(libdir)/enlightenment/modules/$(MODULE)/$(MODULE_ARCH)
pkg_LTLIBRARIES        = module.la
noinst_LTLIBRARIES      = libfoo.la

EVRYHEADERS = Evry.h

module_la_SOURCES      = $(EVRYHEADERS) \
			 e_mod_main.c \
                         e_mod_main.h \
			 evry.c \
                         evry_config.c \
	                 evry_util.c \
	                 evry_history.c \
			 evry_plug_aggregator.c \
			 evry_plug_actions.c \
			 evry_view_plugin_tabs.c

module_la_LIBADD       = @e_libs@ @dlopen_libs@
module_la_LDFLAGS      = -module -avoid-version
module_la_DEPENDENCIES = $(top_builddir)/config.h

installed_headersdir = $(prefix)/include/@PACKAGE@
installed_headers_DATA = $(EVRYHEADERS)

libfoo_la_SOURCES = evry.c e_mod_main.h evry_util.c evry_config.c evry_history.c evry_view_plugin_tabs.c
libfoo_la_LIBADD       = @e_libs@ @dlopen_libs@
libfoo_la_LDFLAGS      = -avoid-version
libfoo_la_DEPENDENCIES = $(top_builddir)/config.h

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = everything.pc

uninstall-local:
	rm -rf $(DESTDIR)$(libdir)/enlightenment/modules/$(MODULE)