move to single makefile build

devs/discomfitor/biztrip
Mike Blumenkrantz 7 years ago
parent 6a21290dcd
commit 289f356c28
  1. 6
      Makefile.am
  2. 1
      configure.ac
  3. 27
      src/Makefile.am
  4. 24
      src/Makefile.mk

@ -1,10 +1,10 @@
ACLOCAL_AMFLAGS = -I m4
AUTOMAKE_OPTIONS = subdir-objects
MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess config.h.in \
config.sub configure compile depcomp install-sh ltmain.sh \
missing module.desktop config.rpath mkinstalldirs
SUBDIRS = src
#if HAVE_PO
#SUBDIRS += po
@ -23,6 +23,8 @@ glow_bottom.png \
glow_top.png
include src/Makefile.mk
e-module-desksanity.edj: e-module-desksanity.edc
$(EDJE_CC) -id $(top_srcdir) $< $@

@ -55,7 +55,6 @@ AC_MSG_RESULT(${EDJE_CC})
AC_OUTPUT([
Makefile
src/Makefile
module.desktop
e_modules-desksanity.spec
], [

@ -1,27 +0,0 @@
MAINTAINERCLEANFILES = Makefile.in
AM_CPPFLAGS = -I. \
-I$(top_srcdir) \
-I$(includedir) \
-DLOCALEDIR=\"$(datadir)/locale\" \
-DPACKAGE_DATA_DIR=\"$(module_dir)/$(PACKAGE)\" \
@E_CFLAGS@
pkgdir = $(module_dir)/$(PACKAGE)/$(MODULE_ARCH)
pkg_LTLIBRARIES = module.la
module_la_SOURCES = e_mod_main.h \
e_mod_main.c \
ds_config.c \
maximize.c \
moveresize.c \
pip.c \
zoom.c \
magnify.c \
desksanity.c
module_la_LIBADD = @E_LIBS@
module_la_LDFLAGS = -module -avoid-version
module_la_DEPENDENCIES = $(top_builddir)/config.h
clean-local:
rm -rf *~

@ -0,0 +1,24 @@
AM_CPPFLAGS = \
-Isrc \
-I$(top_srcdir) \
-I$(includedir) \
-DLOCALEDIR=\"$(datadir)/locale\" \
-DPACKAGE_DATA_DIR=\"$(module_dir)/$(PACKAGE)\" \
@E_CFLAGS@
pkgdir = $(module_dir)/$(PACKAGE)/$(MODULE_ARCH)
pkg_LTLIBRARIES = module.la
module_la_SOURCES = \
src/e_mod_main.h \
src/e_mod_main.c \
src/ds_config.c \
src/maximize.c \
src/moveresize.c \
src/pip.c \
src/zoom.c \
src/magnify.c \
src/desksanity.c
module_la_LIBADD = @E_LIBS@
module_la_LDFLAGS = -module -avoid-version
module_la_DEPENDENCIES = $(top_builddir)/config.h
Loading…
Cancel
Save