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
devs/bu5hm4n/develop
Marcel Hollerbach 10 years ago
parent 53d146dbe1
commit 61d0d63bd0
  1. 4
      .gitignore
  2. 3
      configure.ac
  3. 2
      src/Makefile.am
  4. 5
      src/bin/Makefile.am
  5. 4
      src/daemon/Makefile.am
  6. 14
      src/event/Makefile.am

4
.gitignore vendored

@ -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

@ -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

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

@ -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

@ -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

@ -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
Loading…
Cancel
Save