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
	libraries/libisc-new.
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 \
$(LIBDIR)/libansi$(PROFILE-LIB-SUFFIX).a \
$(LIBDIR)/libregex.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 \
prot-a-send-async.o
......@@ -79,16 +81,20 @@ SPECIALS = call-switch.incl com.h fnc-def-init.incl \
PROGRAMS = lyskomd dbck updateLysKOM
lyskomd: $(DISKOBJS) $(GENOBJS) $(KOMLIBS)
$(CC) $(LDFLAGS) -o lyskomd $(DISKOBJS) $(GENOBJS) $(KOMLIBS) $(LIBS)
$(CC) $(LDFLAGS) -o lyskomd $(DISKOBJS) $(GENOBJS) $(KOMLIBS) \
$(MALLOCLIB) $(LIBS)
updateLysKOM: updateLysKOM.o $(KOMLIBS)
$(CC) $(LDFLAGS) -o updateLysKOM updateLysKOM.o $(KOMLIBS) $(LIBS)
$(CC) $(LDFLAGS) -o updateLysKOM updateLysKOM.o $(KOMLIBS) \
$(MALLOCLIB) $(LIBS)
encrypt: $(ENCRYPT) $(KOMLIBS)
$(CC) $(LDFLAGS) -o enrypt $(ENCRYPT) $(KOMLIBS) $(LIBS)
$(CC) $(LDFLAGS) -o enrypt $(ENCRYPT) $(KOMLIBS) \
$(MALLOCLIB) $(LIBS)
dbck: $(DBCK) $(KOMLIBS)
$(CC) $(LDFLAGS) -o dbck $(DBCK) $(KOMLIBS) $(LIBS)
$(CC) $(LDFLAGS) -o dbck $(DBCK) $(KOMLIBS) \
$(MALLOCLIB) $(LIBS)
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
tags:
$(RM) TAGS
......
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