All pastes #810629 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-12-10 03:13 UTC
rendered paste body
MAINTAINERCLEANFILES = Makefile.in

SUBDIRS = 

EDJE_CC = @edje_cc@
EDJE_FLAGS = -v \
-id $(top_srcdir) \
-fd $(top_srcdir)

filesdir = $(datadir)
files_DATA = e-module-mpdule.edj \
	     module.desktop \
	     mpdule.edj

EXTRA_DIST = $(files_DATA) \
			e_modules-mpdule.spec \
			mpdule.edc \
			VeraMono.ttf

CONFIG_CLEAN_FILES = e_modules-mpdule.spec mpdule.edj

# the module .so file
INCLUDES               = -I. \
			 -I$(top_srcdir) \
			 -I$(includedir) \
			 @e_cflags@ @MPD_CFLAGS@

pkgdir                 = $(datadir)/$(MODULE_ARCH)

pkg_LTLIBRARIES        = module.la
module_la_SOURCES      = e_mod_main.c \
		         e_mod_main.h \
			 e_mod_config.c
module_la_LIBADD       = @e_libs@ @MPD_LIBS@
module_la_LDFLAGS      = -module -avoid-version
module_la_DEPENDENCIES = $(top_builddir)/config.h $(top_builddir)/mpdule.edj

%.edj:  %.edc
	$(EDJE_CC) $(EDJE_FLAGS) $< $@

clean-local:
	 rm -rf *.edj *~