Changed the compile settings, the subdirectory event will be compiled as static library and included in the two ther directorys. Just a beauty thing :)

Reviewers: michael.bouchaud

CC: raster

Differential Revision: https://phab.enlightenment.org/D451
This commit is contained in:
Marcel Hollerbach 2014-02-07 11:48:55 +01:00
parent 53d146dbe1
commit 61d0d63bd0
6 changed files with 23 additions and 9 deletions

4
.gitignore vendored
View File

@ -32,6 +32,10 @@ src/bin/.deps/
src/bin/Makefile
src/bin/Makefile.in
src/bin/entrance_client
src/event/.deps/
src/event/Makefile
src/event/Makefile.in
src/event/libevent.a
src/daemon/.deps/
src/daemon/Makefile
src/daemon/Makefile.in

View File

@ -2,7 +2,7 @@ AC_INIT([entrance], [0.0.99], [enlightenment-devel@lists.sourceforge.net])
AC_PREREQ([2.59])
AC_CONFIG_SRCDIR([configure.ac])
AC_CONFIG_MACRO_DIR([m4])
AC_PROG_RANLIB
AM_INIT_AUTOMAKE([1.6 dist-bzip2])
AC_CONFIG_HEADERS([config.h])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
@ -196,6 +196,7 @@ AC_FUNC_ALLOCA
AC_OUTPUT([
Makefile
src/Makefile
src/event/Makefile
src/bin/Makefile
src/daemon/Makefile
data/Makefile

View File

@ -1,3 +1,3 @@
SUBDIRS = bin daemon
SUBDIRS = event bin daemon
MAINTAINERCLEANFILES = Makefile.in

View File

@ -12,8 +12,6 @@ internal_bindir=$(libdir)/entrance
internal_bin_PROGRAMS = entrance_client
entrance_client_SOURCES = \
../event/entrance_event.h \
../event/entrance_event.c \
entrance_client.h \
entrance_client.c \
entrance_conf.h \
@ -29,5 +27,4 @@ entrance_gui.c
entrance_client_LDFLAGS =
entrance_client_LDADD = @ENTRANCE_CLIENT_LIBS@
entrance_client_LDADD = @ENTRANCE_CLIENT_LIBS@ ../event/libevent.a

View File

@ -30,8 +30,6 @@ entrance_session.h \
entrance_session.c \
entrance_xserver.h \
entrance_xserver.c \
../event/entrance_event.c \
../event/entrance_event.h \
entrance_server.h \
entrance_server.c \
entrance_history.h \
@ -43,7 +41,7 @@ entrance.c
entrance_LDFLAGS =
entrance_LDADD = @ENTRANCE_LIBS@
entrance_LDADD = @ENTRANCE_LIBS@ ../event/libevent.a
entrance_wait_SOURCES = \
entrance_wait.c

14
src/event/Makefile.am Normal file
View File

@ -0,0 +1,14 @@
MAINTAINERCLEANFILES = Makefile.in
AM_CPPFLAGS = \
-I$(top_srcdir)/src/event \
-I$(top_builddir)/src/event \
-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
-DSYSTEM_CONFIG_DIR=\"$(sysconfdir)\" \
-DPACKAGE_BIN_DIR=\"$(libdir)/$(PACKAGE)\" \
-DPACKAGE_SBIN_DIR=\"$(sbindir)/\" \
@ENTRANCE_CFLAGS@
noinst_LIBRARIES = libevent.a
libevent_a_SOURCES = entrance_event.c