Skip to content
Snippets Groups Projects
Commit b743e8a8 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

PROFILE-LIB-SUFFIX: Used in the name of libraries when profiling.

parent 0ccb2617
No related branches found
No related tags found
No related merge requests found
Tue Apr 14 17:38:37 1992 Per Cederqvist (ceder@lysator)
* balance-defs.make: Updated.
* sunos4-defs.make (PROFILE-LIB-SUFFIX): New variable.
Sat Apr 4 19:11:53 1992 Per Cederqvist (ceder@lysator)
* sun4os4-defs.make (CC): gcc2 has been renamed to gcc.
......
#
# $Id: balance-defs.make,v 1.10 1992/04/04 17:23:30 ceder Exp $
# $Id: balance-defs.make,v 1.11 1992/04/14 15:56:27 ceder Exp $
# Copyright (C) 1991 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
......@@ -22,7 +22,7 @@
#
# Please mail bug reports to bug-lyskom@lysator.liu.se.
#
# $Id: balance-defs.make,v 1.10 1992/04/04 17:23:30 ceder Exp $
# $Id: balance-defs.make,v 1.11 1992/04/14 15:56:27 ceder Exp $
# This file is included by all Makefiles in the LysKOM hierarchy.
# It gives default values for all variables that is normally used.
# TOPDIR and SCRIPTDIR must be set before this file is included.
......@@ -39,6 +39,7 @@ TOUCHLIB = ranlib
SYMLINK = ln -s
YACC = bison -d
LEX = flex
MKDIR=/bin/mkdir
INCLUDEDIR = $(TOPDIR)/include
LIBDIR = $(TOPDIR)/lib
......@@ -46,11 +47,11 @@ ANSIDIR = $(INCLUDEDIR)/ansi
INCLUDES = -I$(ANSIDIR) -I$(INCLUDEDIR)
OPTIMIZE-FLAGS = -O
MISC-CFLAGS = -g -Wall
MISC-CFLAGS = -g -Wall -Wstrict-prototypes -Wmissing-prototypes
PIPE = -pipe
# -h flag makes NULL pointer references generate runtime errors
LDFLAGS = -h -L$(LIBDIR)
LDFLAGS = -h -L$(LIBDIR) $(PROFILE-FLAGS)
# Library for hostname lookup.
LIBRESOLV = -lresolv
......@@ -60,9 +61,18 @@ LIBRESOLV = -lresolv
#LIBIDENT = -lauthuser
LIBIDENT =
CFLAGS = $(INCLUDES) $(OPTIMIZE-FLAGS) $(MISC-CFLAGS) $(PIPE) $(TARGET)
CFLAGS = $(INCLUDES) $(OPTIMIZE-FLAGS) $(MISC-CFLAGS) $(PIPE) $(TARGET) $(PROFILE-FLAGS)
# LysKOM executables that the typical user don't use go here.
# Are we profiling? PROFILE-FLAGS are sent to CC when compiling and linking.
# PROFILE-LIB-SUFFIX are included in all library names so that we can have
# one profiled and one non-profiled version at the same time. But make sure
# to delete all .o files when switching between profiling and not profiling...
#PROFILE-FLAGS = -pg -static
#PROFILE-LIB-SUFFIX = -pg
PROFILE-FLAGS =
PROFILE-LIB-SUFFIX =
# LysKOM executables that the typical user doesn't use go here.
# (The server, dbck, et c)
LYSKOMSYSBIN = /usr/lyskom/bin
......
#
# $Id: sun4os4-defs.make,v 1.17 1992/04/14 15:42:48 ceder Exp $
# $Id: sun4os4-defs.make,v 1.18 1992/04/14 15:56:30 ceder Exp $
# Copyright (C) 1991 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
......@@ -22,7 +22,7 @@
#
# Please mail bug reports to bug-lyskom@lysator.liu.se.
#
# $Id: sun4os4-defs.make,v 1.17 1992/04/14 15:42:48 ceder Exp $
# $Id: sun4os4-defs.make,v 1.18 1992/04/14 15:56:30 ceder Exp $
# This file is included by all Makefiles in the LysKOM hierarchy.
# It gives default values for all variables that is normally used.
# TOPDIR and SCRIPTDIR must be set before this file is included.
......@@ -42,6 +42,10 @@ YACC = bison -d
LEX = flex
MKDIR=/bin/mkdir
#Use the commented versions in the distribution!
#INCLUDEDIR = $(TOPDIR)/include
#LIBDIR = $(TOPDIR)/lib
#ANSIDIR = $(INCLUDEDIR)/ansi
INCLUDEDIR = /usr/local/include/lyskom
LIBDIR = /usr/local/lib/lyskom
#ANSIDIR = $(INCLUDEDIR)/ansi
......@@ -50,7 +54,6 @@ ANSIDIR=/usr/gnu/var/gcc/sunos4.1.1/2.0/proto-include
INCLUDES = -I$(ANSIDIR) -I$(INCLUDEDIR)
OPTIMIZE-FLAGS = -O3
#MISC-CFLAGS = -g -Wall
MISC-CFLAGS = -g -Wall -Wstrict-prototypes -Wmissing-prototypes
# You sometimes can't use -pipe on a sun3, since Suns /bin/as can't read
# stdin. If you use gas you can use -pipe.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment