Commit 449358d7 authored by Dag Erling Smørgrav's avatar Dag Erling Smørgrav

Rename libcompat to libvarnishcompat, and make it dynamic.


git-svn-id: http://www.varnish-cache.org/svn/trunk@1817 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 45cfbe7d
......@@ -13,4 +13,4 @@ varnishadm_CFLAGS = -include config.h
varnishadm_LDADD = \
$(top_builddir)/lib/libvarnish/libvarnish.la \
$(top_builddir)/lib/libcompat/libcompat.a
$(top_builddir)/lib/libvarnishcompat/libvarnishcompat.la
......@@ -66,6 +66,6 @@ varnishd_LDFLAGS = -export-dynamic
varnishd_LDADD = \
$(top_builddir)/lib/libvarnish/libvarnish.la \
$(top_builddir)/lib/libcompat/libcompat.a \
$(top_builddir)/lib/libvarnishcompat/libvarnishcompat.la \
$(top_builddir)/lib/libvcl/libvcl.la \
${DL_LIBS} ${PTHREAD_LIBS} ${LIBM}
......@@ -12,7 +12,7 @@ varnishhist_CFLAGS = -include config.h
varnishhist_LDADD = \
$(top_builddir)/lib/libvarnish/libvarnish.la \
$(top_builddir)/lib/libcompat/libcompat.a \
$(top_builddir)/lib/libvarnishcompat/libvarnishcompat.la \
$(top_builddir)/lib/libvarnishapi/libvarnishapi.la \
-lm \
${CURSES_LIBS} ${PTHREAD_LIBS}
......@@ -12,5 +12,5 @@ varnishlog_CFLAGS = -include config.h
varnishlog_LDADD = \
$(top_builddir)/lib/libvarnish/libvarnish.la \
$(top_builddir)/lib/libcompat/libcompat.a \
$(top_builddir)/lib/libvarnishcompat/libvarnishcompat.la \
$(top_builddir)/lib/libvarnishapi/libvarnishapi.la
......@@ -12,5 +12,5 @@ varnishncsa_CFLAGS = -include config.h
varnishncsa_LDADD = \
$(top_builddir)/lib/libvarnish/libvarnish.la \
$(top_builddir)/lib/libcompat/libcompat.a \
$(top_builddir)/lib/libvarnishcompat/libvarnishcompat.la \
$(top_builddir)/lib/libvarnishapi/libvarnishapi.la
......@@ -13,7 +13,7 @@ varnishreplay_CFLAGS = -include config.h
varnishreplay_LDADD = \
$(top_builddir)/lib/libvarnish/libvarnish.la \
$(top_builddir)/lib/libcompat/libcompat.a \
$(top_builddir)/lib/libvarnishcompat/libvarnishcompat.la \
$(top_builddir)/lib/libvarnishapi/libvarnishapi.la \
${PTHREAD_LIBS}
......@@ -12,6 +12,6 @@ varnishstat_CFLAGS = -include config.h
varnishstat_LDADD = \
$(top_builddir)/lib/libvarnish/libvarnish.la \
$(top_builddir)/lib/libcompat/libcompat.a \
$(top_builddir)/lib/libvarnishcompat/libvarnishcompat.la \
$(top_builddir)/lib/libvarnishapi/libvarnishapi.la \
${CURSES_LIBS} ${RT_LIBS}
......@@ -12,6 +12,6 @@ varnishtop_CFLAGS = -include config.h
varnishtop_LDADD = \
$(top_builddir)/lib/libvarnish/libvarnish.la \
$(top_builddir)/lib/libcompat/libcompat.a \
$(top_builddir)/lib/libvarnishcompat/libvarnishcompat.la \
$(top_builddir)/lib/libvarnishapi/libvarnishapi.la \
${CURSES_LIBS} ${PTHREAD_LIBS}
......@@ -151,9 +151,9 @@ AC_CONFIG_FILES([
etc/Makefile
include/Makefile
lib/Makefile
lib/libcompat/Makefile
lib/libvarnish/Makefile
lib/libvarnishapi/Makefile
lib/libvarnishcompat/Makefile
lib/libvcl/Makefile
man/Makefile
debian/Makefile
......
# $Id$
SUBDIRS = \
libcompat \
libvarnish \
libvarnishapi \
libvarnishcompat \
libvcl
......@@ -2,9 +2,9 @@
INCLUDES = -I$(top_srcdir)/include
noinst_LIBRARIES = libcompat.a
lib_LTLIBRARIES = libvarnishcompat.la
libcompat_a_SOURCES = \
libvarnishcompat_la_SOURCES = \
asprintf.c \
vasprintf.c \
setproctitle.c \
......@@ -14,4 +14,4 @@ libcompat_a_SOURCES = \
strndup.c \
vis.c
libcompat_a_CFLAGS = -include config.h
libvarnishcompat_la_CFLAGS = -include config.h
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment