Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
# $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. # Copyright (C) 1998 Lysator Academic Computer Association.
# #
# This file is part of the LysKOM server. # This file is part of the LysKOM server.
...@@ -31,6 +31,7 @@ noinst_PROGRAMS = test-l2g ...@@ -31,6 +31,7 @@ noinst_PROGRAMS = test-l2g
noinst_DATA = site.exp .gdbinit noinst_DATA = site.exp .gdbinit
EXTRA_DIST = .cvsignore \ EXTRA_DIST = .cvsignore \
tcpconnect.py \
l2g.0/00.exp l2g.0/01.exp l2g.0/00.exp l2g.0/01.exp
MOSTLYCLEANFILES = .gdbinit site.exp MOSTLYCLEANFILES = .gdbinit site.exp
...@@ -39,7 +40,10 @@ test_l2g_SOURCES = test-l2g.c ...@@ -39,7 +40,10 @@ test_l2g_SOURCES = test-l2g.c
test_l2g_LDADD = ../libcheck.a $(LDADD) test_l2g_LDADD = ../libcheck.a $(LDADD)
../libcheck.a: ../libcheck.a:
(cd .. && make libcheck.a) (cd .. && $(MAKE) libcheck.a)
../lyskomd:
(cd .. && $(MAKE) lyskomd)
INCLUDES = -DSERVER \ INCLUDES = -DSERVER \
-I$(srcdir)/.. \ -I$(srcdir)/.. \
...@@ -77,7 +81,7 @@ check: l2g_check lyskomd_check ...@@ -77,7 +81,7 @@ check: l2g_check lyskomd_check
l2g_check: test-l2g site.exp l2g_check: test-l2g site.exp
runtest --tool l2g --srcdir $(srcdir) runtest --tool l2g --srcdir $(srcdir)
lyskomd_check: site.exp lyskomd_check: site.exp ../lyskomd
$(RM) -r db etc $(RM) -r db etc
mkdir db etc mkdir db etc
cp $(top_srcdir)/db-crypt/db/lyskomd-data db/ cp $(top_srcdir)/db-crypt/db/lyskomd-data db/
...@@ -87,3 +91,4 @@ lyskomd_check: site.exp ...@@ -87,3 +91,4 @@ lyskomd_check: site.exp
site.exp: site.exp:
echo "# this file is automatically generated" > site.exp echo "# this file is automatically generated" > site.exp
echo "set l2g ./test-l2g" >> site.exp echo "set l2g ./test-l2g" >> site.exp
echo "set srcdir $(srcdir) >> site.exp
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment