Skip to content

Commit

Permalink
let's be more realistic on what we can do here
Browse files Browse the repository at this point in the history
libvty is not going to happen. Too complex and it's not the goal
for this project. For now, let's move it back into the daemon.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
  • Loading branch information
fabbione committed Sep 17, 2012
1 parent b516467 commit 2023d32
Show file tree
Hide file tree
Showing 19 changed files with 22 additions and 54 deletions.
7 changes: 1 addition & 6 deletions Makefile.am
Expand Up @@ -7,17 +7,12 @@ AUTOMAKE_OPTIONS = foreign

ACLOCAL_AMFLAGS = -I m4

SUBDIRS = libtap libknet libvty kronosnetd tests
SUBDIRS = libtap libknet kronosnetd tests

if BUILD_DOCS
SUBDIRS += docs
endif

AM_CFLAGS = \
-I$(top_srcdir)/libtap \
-I$(top_srcdir)/libknet \
-I$(top_srcdir)/libvty

dist_doc_DATA = \
COPYING.applications \
COPYING.libraries \
Expand Down
2 changes: 0 additions & 2 deletions configure.ac
Expand Up @@ -283,8 +283,6 @@ AC_CONFIG_FILES([
kronosnetd/Makefile
libknet/Makefile
libknet/libknet.pc
libvty/Makefile
libvty/libvty.pc
docs/Makefile
tests/Makefile
])
Expand Down
20 changes: 15 additions & 5 deletions kronosnetd/Makefile.am
Expand Up @@ -2,24 +2,34 @@ MAINTAINERCLEANFILES = Makefile.in

noinst_HEADERS = \
cfg.h \
logging.h
logging.h \
netutils.h \
vty.h \
vty_auth.h \
vty_cli.h \
vty_cli_cmds.h \
vty_utils.h

sbin_PROGRAMS = kronosnetd

kronosnetd_SOURCES = \
cfg.c \
main.c \
logging.c
logging.c \
netutils.c \
vty.c \
vty_auth.c \
vty_cli.c \
vty_cli_cmds.c \
vty_utils.c

kronosnetd_CPPFLAGS = \
-I$(top_srcdir)/libtap \
-I$(top_srcdir)/libknet \
-I$(top_srcdir)/libvty
-I$(top_srcdir)/libknet

kronosnetd_CFLAGS = $(LIBQB_CFLAGS)

kronosnetd_LDADD = \
$(top_builddir)/libvty/libvty.a \
$(top_builddir)/libknet/libknet.a \
$(top_builddir)/libtap/libtap.la \
$(LIBQB_LIBS)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
24 changes: 0 additions & 24 deletions libvty/Makefile.am

This file was deleted.

11 changes: 0 additions & 11 deletions libvty/libvty.pc.in

This file was deleted.

12 changes: 6 additions & 6 deletions tests/Makefile.am
Expand Up @@ -23,24 +23,24 @@ check_PROGRAMS = \
TESTS = $(check_PROGRAMS)

AM_CPPFLAGS = -DTEST \
-I$(srcdir)/../ \
-I$(srcdir)/../libtap/ \
-I$(srcdir)/../libknet/ \
-I$(srcdir)/../libvty/
-I$(srcdir)/../kronosnetd/

AM_LDFLAGS = \
$(top_builddir)/libtap/libtap.la \
$(top_builddir)/libknet/libknet.a \
$(top_builddir)/libvty/libvty.a
$(top_builddir)/libknet/libknet.a

ping_test_SOURCES = ping_test.c

khandle_test_SOURCES = khandle_test.c

lookup_bench_SOURCES = lookup_bench.c
lookup_bench_SOURCES = lookup_bench.c \
$(srcdir)/../kronosnetd/netutils.c

listener_test_SOURCES = listener_test.c

netutils_test_SOURCES = netutils_test.c
netutils_test_SOURCES = netutils_test.c \
$(srcdir)/../kronosnetd/netutils.c

timediff_test_SOURCES = timediff_test.c

0 comments on commit 2023d32

Please sign in to comment.