enlightenment-module-cpu/Makefile.am

51 lines
915 B
Makefile
Raw Normal View History

2006-03-06 20:05:49 -08:00
MAINTAINERCLEANFILES = Makefile.in e_modules-cpu.spec
SUBDIRS = po
EDJE_CC = @edje_cc@
EDJE_FLAGS = -v \
-id $(top_srcdir) \
-fd $(top_srcdir)
files_DATA = \
module_icon.png \
module.eap \
cpu.edj
EXTRA_DIST = $(files_DATA) \
cpu.edc \
VeraMono.ttf \
cpu.png \
module.eap \
e_modules-cpu.spec \
e_modules-cpu.spec.in
2006-03-06 20:05:49 -08:00
# data files for the module
filesdir = $(datadir)
# the module .so file
INCLUDES = -I. \
-I$(top_srcdir) \
-I$(includedir) \
@e_cflags@
pkgdir = $(datadir)/$(MODULE_ARCH)
pkg_LTLIBRARIES = module.la
module_la_SOURCES = e_mod_main.c \
e_mod_main.h \
e_mod_config.c \
e_mod_config.h
module_la_LIBADD = @e_libs@ -lm
module_la_LDFLAGS = -module -avoid-version
module_la_DEPENDENCIES = $(top_builddir)/config.h
cpu.edj: Makefile cpu.edc
$(EDJE_CC) $(EDJE_FLAGS) \
cpu.edc \
cpu.edj
clean-local:
rm -rf *.edj *~