2005-04-18 07:33:24 -07:00
|
|
|
MAINTAINERCLEANFILES = Makefile.in
|
|
|
|
MODULE = cpufreq
|
|
|
|
|
|
|
|
# data files for the module
|
|
|
|
filesdir = $(libdir)/enlightenment/modules/$(MODULE)
|
|
|
|
files_DATA = \
|
2006-05-31 23:44:37 -07:00
|
|
|
module.eap
|
2005-04-18 07:33:24 -07:00
|
|
|
|
|
|
|
EXTRA_DIST = $(files_DATA)
|
|
|
|
|
|
|
|
# the module .so file
|
|
|
|
INCLUDES = -I. \
|
2005-04-20 07:51:38 -07:00
|
|
|
-I$(top_srcdir) \
|
2006-05-09 06:02:48 -07:00
|
|
|
-I$(top_srcdir)/src/modules/$(MODULE) \
|
2005-04-20 07:51:38 -07:00
|
|
|
-I$(top_srcdir)/src/bin \
|
|
|
|
-I$(top_srcdir)/src/lib \
|
|
|
|
-I$(top_srcdir)/src/modules \
|
|
|
|
@e_cflags@
|
2005-04-18 07:33:24 -07:00
|
|
|
pkgdir = $(libdir)/enlightenment/modules/$(MODULE)/$(MODULE_ARCH)
|
|
|
|
pkg_LTLIBRARIES = module.la
|
|
|
|
module_la_SOURCES = e_mod_main.c \
|
2005-04-20 07:51:38 -07:00
|
|
|
e_mod_main.h
|
2005-04-18 07:33:24 -07:00
|
|
|
module_la_LIBADD = @e_libs@ @dlopen_libs@
|
|
|
|
module_la_LDFLAGS = -module -avoid-version
|
|
|
|
module_la_DEPENDENCIES = $(top_builddir)/config.h
|
|
|
|
|
2005-04-20 08:09:08 -07:00
|
|
|
freqsetdir = $(pkgdir)
|
|
|
|
freqset_DATA = \
|
|
|
|
freqset$(EXEEXT)
|
2005-04-18 07:33:24 -07:00
|
|
|
setuid_root_mode = a=rx,u+s
|
|
|
|
|
2005-04-20 08:09:08 -07:00
|
|
|
install-data-hook:
|
2006-07-03 01:32:16 -07:00
|
|
|
@chmod $(setuid_root_mode) $(DESTDIR)$(freqsetdir)/freqset$(EXEEXT) || true
|
2005-04-18 07:33:24 -07:00
|
|
|
|
|
|
|
noinst_PROGRAMS = freqset
|
|
|
|
freqset_SOURCES = freqset.c
|