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

(MALLOCLIB): New variable. Use it everywhere a program is linked.

(.gdbinit): Added libraries/gnumalloc.  Changed libraries/libisc to
parent 16840936
# $Id: Makefile.src,v 1.23 1995/01/01 19:31:42 ceder Exp $
# $Id: Makefile.src,v 1.24 1995/11/02 20:00:17 ceder Exp $
# Copyright (C) 1991, 1993, 1994, 1995 Lysator Academic Computer Association.
# This file is part of the LysKOM server.
......@@ -31,6 +31,8 @@ KOMLIBS = $(LIBDIR)/libisc-new$(PROFILE-LIB-SUFFIX).a \
MALLOCLIB=`if [ "@GNUMALLOC@" = gnumalloc ];then echo $(LIBDIR)/libgmalloc$(PROFILE-LIB-SUFFIX).a;fi`
# Files that implements protocol A.
PROTA = prot-a-output.o prot-a-parse-arg.o prot-a-parse.o prot-a.o \
......@@ -79,16 +81,20 @@ SPECIALS = call-switch.incl com.h fnc-def-init.incl \
PROGRAMS = lyskomd dbck updateLysKOM
$(CC) $(LDFLAGS) -o lyskomd $(DISKOBJS) $(GENOBJS) $(KOMLIBS) \
updateLysKOM: updateLysKOM.o $(KOMLIBS)
$(CC) $(LDFLAGS) -o updateLysKOM updateLysKOM.o $(KOMLIBS) $(LIBS)
$(CC) $(LDFLAGS) -o updateLysKOM updateLysKOM.o $(KOMLIBS) \
encrypt: $(ENCRYPT) $(KOMLIBS)
$(CC) $(LDFLAGS) -o enrypt $(ENCRYPT) $(KOMLIBS) $(LIBS)
$(CC) $(LDFLAGS) -o enrypt $(ENCRYPT) $(KOMLIBS) \
dbck: $(DBCK) $(KOMLIBS)
$(CC) $(LDFLAGS) -o dbck $(DBCK) $(KOMLIBS) $(LIBS)
$(CC) $(LDFLAGS) -o dbck $(DBCK) $(KOMLIBS) \
call-switch.incl: call-switch.awk fncdef-no-str-limit.txt
$(AWK) -f $(srcdir)/call-switch.awk fncdef-no-str-limit.txt \
......@@ -144,8 +150,9 @@ version-info.c: @SRCTOPDIR@/versions
echo handle 13 nostop noprint >.gdbinit
echo dir @SRCTOPDIR@/src/libraries/libcommon >>.gdbinit
echo dir @SRCTOPDIR@/src/libraries/libansi >>.gdbinit
echo dir @SRCTOPDIR@/src/libraries/libisc >>.gdbinit
echo dir @SRCTOPDIR@/src/libraries/libisc-new >>.gdbinit
echo dir @SRCTOPDIR@/src/libraries/libmisc >>.gdbinit
echo dir @SRCTOPDIR@/src/libraries/gnumalloc >>.gdbinit
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