enventor: fix build information.

This commit is contained in:
Cedric Bail 2013-08-09 10:34:58 +09:00
parent 5a8c4551dc
commit 891dc0849b
4 changed files with 21 additions and 2 deletions

View File

@ -31,6 +31,7 @@ AC_CONFIG_HEADERS(config.h)
AC_GNU_SOURCE AC_GNU_SOURCE
AC_PROG_LIBTOOL AC_PROG_LIBTOOL
AM_PROG_CC_C_O
##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
@ -90,6 +91,7 @@ data/Makefile
data/images/Makefile data/images/Makefile
data/theme/Makefile data/theme/Makefile
data/theme/images/Makefile data/theme/images/Makefile
data/.proto/Makefile
]) ])
AC_OUTPUT AC_OUTPUT

15
data/.proto/Makefile.am Normal file
View File

@ -0,0 +1,15 @@
MAINTAINERCLEANFILES = Makefile.in
EDJE_CC = @edje_cc@
EDJE_FLAGS = -id $(top_srcdir)/data/images
filesdir = $(datadir)/$(PACKAGE)/.proto
files_DATA = proto.edj proto.edc
proto.edj: Makefile proto.edc
$(EDJE_CC) $(EDJE_FLAGS) \
$(top_srcdir)/data/.proto/proto.edc \
$(top_builddir)/data/.proto/proto.edj
clean-local:
rm -f *.edj

View File

@ -1,3 +1,3 @@
MAINTAINERCLEANFILES = Makefile.in MAINTAINERCLEANFILES = Makefile.in
SUBDIRS = images theme SUBDIRS = images theme .proto

View File

@ -2,7 +2,9 @@ MAINTAINERCLEANFILES = Makefile.in
bin_PROGRAMS = enventor enventorql bin_PROGRAMS = enventor enventorql
AM_CPPFLAGS = -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \ AM_CPPFLAGS = -DPACKAGE_DATA_DIR=\"$(pkgdatadir)\" \
-DPACKAGE_BIN_DIR=\"$(bindir)\" \
-DPACKAGE_LIB_DIR=\"$(libdir)\" \
-I$(top_srcdir)/src/bin \ -I$(top_srcdir)/src/bin \
-I$(top_srcdir)/include \ -I$(top_srcdir)/include \
@ENVENTOR_CFLAGS@ @ENVENTOR_CFLAGS@