Commit 5b242a4d authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(KOMLIBS): New variable, holding all of the libraries included in the

	distribution.
(LIBS): Now only holds the libraries found by Autoconf.
(lyskomd, updateLysKOM, encrypt, dbck): Depend on, and link with, $(KOMLIBS).
(domostlyclean): Remove $(SPECIALS).
parent 2463a993
#
# $Id: Makefile.src,v 1.21 1994/12/31 11:47:27 ceder Exp $
# $Id: Makefile.src,v 1.22 1995/01/01 13:13:04 ceder Exp $
# Copyright (C) 1991, 1993, 1994 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
......@@ -24,11 +24,12 @@
#
LK_STD([includes binaries])
[
LIBS = $(LIBDIR)/libisc-new$(PROFILE-LIB-SUFFIX).a \
LIBS = @LIBS@
KOMLIBS = $(LIBDIR)/libisc-new$(PROFILE-LIB-SUFFIX).a \
$(LIBDIR)/libmisc$(PROFILE-LIB-SUFFIX).a \
$(LIBDIR)/liblyskom-server$(PROFILE-LIB-SUFFIX).a \
$(LIBDIR)/libansi$(PROFILE-LIB-SUFFIX).a \
$(LIBDIR)/libregex.a @LIBS@
$(LIBDIR)/libregex.a
# Files that implements protocol A.
PROTA = prot-a-output.o prot-a-parse-arg.o prot-a-parse.o prot-a.o \
......@@ -77,17 +78,17 @@ SPECIALS = call-switch.incl com.h fnc-def-init.incl \
PROGRAMS = lyskomd dbck updateLysKOM
lyskomd: $(DISKOBJS) $(GENOBJS)
$(CC) $(LDFLAGS) -o lyskomd $(DISKOBJS) $(GENOBJS) $(LIBS)
lyskomd: $(DISKOBJS) $(GENOBJS) $(KOMLIBS)
$(CC) $(LDFLAGS) -o lyskomd $(DISKOBJS) $(GENOBJS) $(KOMLIBS) $(LIBS)
updateLysKOM: updateLysKOM.o
$(CC) $(LDFLAGS) -o updateLysKOM updateLysKOM.o $(LIBS)
updateLysKOM: updateLysKOM.o $(KOMLIBS)
$(CC) $(LDFLAGS) -o updateLysKOM updateLysKOM.o $(KOMLIBS) $(LIBS)
encrypt: $(ENCRYPT)
$(CC) $(LDFLAGS) -o enrypt $(ENCRYPT) $(LIBS)
encrypt: $(ENCRYPT) $(KOMLIBS)
$(CC) $(LDFLAGS) -o enrypt $(ENCRYPT) $(KOMLIBS) $(LIBS)
dbck: $(DBCK)
$(CC) $(LDFLAGS) -o dbck $(DBCK) $(LIBS)
dbck: $(DBCK) $(KOMLIBS)
$(CC) $(LDFLAGS) -o dbck $(DBCK) $(KOMLIBS) $(LIBS)
call-switch.incl: call-switch.awk fncdef-no-str-limit.txt
$(AWK) -f $(srcdir)/call-switch.awk fncdef-no-str-limit.txt \
......@@ -172,6 +173,9 @@ define([doinstall],
dnl
define([prebinaries],[[$(PROGRAMS)]])dnl
dnl
define([domostlyclean],
LK_QUOTE(domostlyclean)LK_cmd([[$(RM) $(SPECIALS)]]))dnl
dnl
LK_INSTALL_BUILT_HDRS([com.h])
LK_ALL_C_DEPEND
define([predepend],[[$(SPECIALS)]])dnl
......
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