Commit ab2256e6 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(../lyskomd): New target.

(lyskomd_check): Depend on ../lyskomd.
(site.exp): Added srcdir.
(EXTRA_DIST): Added tcpconnect.py.
parent e7214a4b
# $Id: Makefile.am,v 1.4 1998/08/06 22:00:44 ceder Exp $
# $Id: Makefile.am,v 1.5 1998/08/07 23:29:26 ceder Exp $
# Copyright (C) 1998 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
......@@ -31,6 +31,7 @@ noinst_PROGRAMS = test-l2g
noinst_DATA = site.exp .gdbinit
EXTRA_DIST = .cvsignore \
tcpconnect.py \
l2g.0/00.exp l2g.0/01.exp
MOSTLYCLEANFILES = .gdbinit site.exp
......@@ -39,7 +40,10 @@ test_l2g_SOURCES = test-l2g.c
test_l2g_LDADD = ../libcheck.a $(LDADD)
../libcheck.a:
(cd .. && make libcheck.a)
(cd .. && $(MAKE) libcheck.a)
../lyskomd:
(cd .. && $(MAKE) lyskomd)
INCLUDES = -DSERVER \
-I$(srcdir)/.. \
......@@ -77,7 +81,7 @@ check: l2g_check lyskomd_check
l2g_check: test-l2g site.exp
runtest --tool l2g --srcdir $(srcdir)
lyskomd_check: site.exp
lyskomd_check: site.exp ../lyskomd
$(RM) -r db etc
mkdir db etc
cp $(top_srcdir)/db-crypt/db/lyskomd-data db/
......@@ -87,3 +91,4 @@ lyskomd_check: site.exp
site.exp:
echo "# this file is automatically generated" > site.exp
echo "set l2g ./test-l2g" >> site.exp
echo "set srcdir $(srcdir) >> site.exp
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