[4137] in Athena Bugs
Saber msg: v2.1 (4/24/89 lycus vax Unix 4042 0)
daemon@ATHENA.MIT.EDU (jtkohl@ATHENA.MIT.EDU)
Mon Feb 5 11:52:20 1990
From: jtkohl@ATHENA.MIT.EDU
Date: Mon, 5 Feb 90 11:51:51 -0500
To: bugs@ATHENA.MIT.EDU
Cc: jtkohl@ATHENA.MIT.EDU
A Makefile (attached) causes saber to foul up when trying to make the
target "Makefile", it says:
15 -> make Makefile
sh ../.././config/imake -I../.././config -DTOPDIR=../../. -DCURDIR=./lib/kdb
-s Makefile.new
/* make -f Makefile.new noop*/
sh if [ -f Makefile ]; then echo "rm -f Makefile.bak; mv Makefile Makefile.bak"
; rm -f Makefile.bak; mv Makefile Makefile.bak; fi
/bin/sh: syntax error at line 1: `then' unexpected
sh mv Makefile.new Makefile
16 ->
# Makefile generated by imake - do not edit!
# $XConsortium: imake.c,v 1.51 89/12/12 12:37:30 jim Exp $
###########################################################################
# Makefile generated from "Imake.tmpl" and <Imakefile>
# $XConsortium: Imake.tmpl,v 1.77 89/12/18 17:01:37 jim Exp $
#
# Platform-specific parameters may be set in the appropriate .cf
# configuration files. Site-wide parameters may be set in the file
# site.def. Full rebuilds are recommended if any parameters are changed.
#
# If your C preprocessor doesn't define any unique symbols, you'll need
# to set BOOTSTRAPCFLAGS when rebuilding imake (usually when doing
# "make Makefile", "make Makefiles", or "make World").
#
# If you absolutely can't get imake to work, you'll need to set the
# variables at the top of each Makefile as well as the dependencies at the
# bottom (makedepend will do this automatically).
#
###########################################################################
# platform-specific configuration parameters - edit bsd.cf to change
###########################################################################
# site-specific configuration parameters - edit site.def to change
# site: $XConsortium: site.def,v 1.21 89/12/06 11:46:50 jim Exp $
SHELL = /bin/sh
TOP = ../../.
CURRENT_DIR = ./lib/kdb
AR = ar cq
BOOTSTRAPCFLAGS =
CC = gcc -fstrength-reduce -fpcc-struct-return
COMPRESS = compress
CPP = /lib/cpp $(STD_CPP_DEFINES)
PREPROCESSCMD = gcc -fstrength-reduce -fpcc-struct-return -E $(STD_CPP_DEFINES)
INSTALL = install
LD = ld
LINT = lint
LINTLIBFLAG = -C
LINTOPTS = -axz
LN = ln -s
MAKE = make
MV = mv
CP = cp
RANLIB = ranlib
RANLIBINSTFLAGS =
RM = rm -f
STD_INCLUDES =
STD_CPP_DEFINES =
STD_DEFINES =
EXTRA_LOAD_FLAGS =
EXTRA_LIBRARIES =
TAGS = ctags
ETAGS = etags
SIGNAL_DEFINES = -DSIGNALRETURNSINT
PROTO_DEFINES =
INSTPGMFLAGS = -s
INSTSCRFLAGS =
INSTBINFLAGS = -m 0755
INSTUIDFLAGS = -o root -m 4755
INSTLIBFLAGS = -m 0664
INSTINCFLAGS = -m 0444
INSTMANFLAGS = -m 0444
INSTDATFLAGS = -m 0444
INSTKMEMFLAGS = -o root -m 4755
DESTDIR =
TOP_INCLUDES = -I$(TOP)
CDEBUGFLAGS = -O -g
CCOPTIONS =
COMPATFLAGS =
ALLINCLUDES = $(STD_INCLUDES) $(TOP_INCLUDES) $(INCLUDES) $(EXTRA_INCLUDES)
ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(PROTO_DEFINES) $(DEFINES) $(COMPATFLAGS)
CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES)
LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES)
LDLIBS = $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS)
LDCOMBINEFLAGS = -X -r
MACROFILE = bsd.cf
RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut
IMAKE_DEFINES =
IRULESRC = $(CONFIGSRC)
IMAKE_CMD = $(NEWTOP)$(IMAKE) -I$(NEWTOP)$(IRULESRC) $(IMAKE_DEFINES)
ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Imake.rules \
$(IRULESRC)/Project.tmpl $(IRULESRC)/site.def \
$(IRULESRC)/$(MACROFILE) $(EXTRA_ICONFIGFILES)
# Kerberos version 5 Build Parameters
# $Id: Project.tmpl,v 5.0 90/02/05 11:09:55 jtkohl Exp $
TOP_INCLUDES = -I$(TOP)/include
CONFIGSRC = $(TOP)/config
IMAKESRC = $(CONFIGSRC)
ISODE = /mit/isode/isode-5.0
ETSRC = $(TOP)/lib/comerr/compile_et
DEPKLIB = $(TOP)/lib/krb/libkrb.a \
$(TOP)/lib/des/libdes.a \
$(TOP)/lib/ccache/libcred.a \
$(TOP)/lib/ccache/libcred.a \
$(TOP)/lib/ccache/file/libfcc.a \
$(TOP)/lib/os-4.3/libos.a \
$(TOP)/error_tables/libkrberrs.a \
$(TOP)/asn.1/libasn1.a
KLIB = $(DEPKLIB) $(ISODE)/libisode.a -ldes -lcom_err
IMAKE = $(IMAKESRC)/imake
DEPEND = DependCmd
MKDIRHIER = /bin/sh $(SCRIPTSRC)/mkdirhier.sh
COMPILE_ET = compile_et
###########################################################################
# Imake rules for building libraries, programs, scripts, and data files
# rules: $XConsortium: Imake.rules,v 1.67 89/12/18 17:14:15 jim Exp $
###########################################################################
# start of Imakefile
SRCS=encrypt_key.c kdb_dbm.c verify_mky.c
.c.o:
$(RM) $@
$(CC) -c $(CFLAGS) $*.c
OBJS=kdb_dbm.o
all:: libkdb.a
libkdb.a: $(OBJS)
$(RM) $@
$(AR) $@ $(OBJS)
$(RANLIB) $@
###########################################################################
# common rules for all Makefiles - do not edit
emptyrule::
clean::
$(RM_CMD) \#*
Makefile:: $(IMAKE)
$(IMAKE):
@(cd $(IMAKESRC); if [ -f Makefile ]; then \
echo "checking $@ in $(IMAKESRC) first..."; $(MAKE) all; else \
echo "bootstrapping $@ from Makefile.ini in $(IMAKESRC) first..."; \
$(MAKE) -f Makefile.ini BOOTSTRAPCFLAGS=$(BOOTSTRAPCFLAGS); fi; \
echo "okay, continuing in $(CURRENT_DIR)")
Makefile::
$(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR) -s Makefile.new
$(MAKE) -f Makefile.new noop
-@if [ -f Makefile ]; then \
echo "$(RM) Makefile.bak; $(MV) Makefile Makefile.bak"; \
$(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \
fi
$(MV) Makefile.new Makefile
noop::
tags::
$(TAGS) -w *.[ch]
$(ETAGS) *.[ch]
saber:
#load $(ALLDEFINES) $(SRCS)
osaber:
#load $(ALLDEFINES) $(OBJS)
###########################################################################
# empty rules for directories that do not have SUBDIRS - do not edit
install::
@echo "install in $(CURRENT_DIR) done"
install.man::
@echo "install.man in $(CURRENT_DIR) done"
Makefiles::
includes::
###########################################################################
# dependencies generated by makedepend