[comp.sources.misc] v15i106: Patch 2 to cardfile

djl@PacBell.COM (Dave Lampe) (12/18/90)

Posting-number: Volume 15, Issue 106
Submitted-by: Dave Lampe <dplace!djl@PacBell.COM>
Archive-name: cardfile/patch02

One minor mistake in the Imakefile included in patch1 to cardfile posted
last week. It wasn't included. So here it is.
-- 
Dave Lampe
{ames | lll-tis | sun | pyramid}!pacbell!dplace!djl
(415) 455-1571 (H)

---- Cut Here and feed the following to sh ----
#!/bin/sh
# This is a shell archive (produced by shar 3.49)
# To extract the files from this archive, save it to a file, remove
# everything above the "!/bin/sh" line above, and type "sh file_name".
#
# made 12/13/1990 05:49 UTC by djl@dplace
# Source directory /usr/src/cmd/cardfile.d
#
# existing files will NOT be overwritten unless -c is specified
# This format requires very little intelligence at unshar time.
# "if test", "echo", "true", and "sed" may be needed.
#
# This shar contains:
# length  mode       name
# ------ ---------- ------------------------------------------
#   1292 -rw-r--r-- Imakefile
#
# ============= Imakefile ==============
if test -f 'Imakefile' -a X"$1" != X"-c"; then
	echo 'x - skipping Imakefile (File already exists)'
else
echo 'x - extracting Imakefile (Text)'
sed 's/^X//' << 'SHAR_EOF' > 'Imakefile' &&
X#if (defined(VaxArchitecture) && !defined(UltrixArchitecture)) || \
X	(defined(RtArchitecture) && !defined(AIXArchitecture))
XDEFINES=	-DBSD_RE -DTERMCAP -DBSD_TTY -DBSD_STRING\
X		-DBSD_SIG -DSIGRTN=int
XSYS_LIBRARIES=	-lcurses -ltermcap
X#else
X#  if defined(UltrixArchitecture)
XDEFINES=	-DBSD_RE -DTERMCAP -DBSD_TTY -DBSD_STRING\
X		-DBSD_SIG -DSIGRTN=void -DTERMIO
XSYS_LIBRARIES=	-lcurses -ltermcap
X#  else
X#    error "I don't know what kind of system you're compiling on!
X#  endif
X#endif
X
XCDEBUGFLAGS=	-g
X
XSRCS=		\
X		cardfile.c \
X		add.c \
X		change.c \
X		common.c \
X		compress.c \
X		define.c \
X		delete.c \
X		dumpdb.c \
X		extract.c \
X		find.c \
X		findrcds.c \
X		fmt_chk.c \
X		getkey.c \
X		keymatch.c \
X		maint.c \
X		menu.c \
X		printdb.c \
X		putrcd.c \
X		rawio.c \
X		rbuildak.c \
X		screen.c \
X		setupkeys.c \
X		updak.c \
X		$(NULL)
X
XOBJS=		\
X		cardfile.o \
X		add.o \
X		change.o \
X		common.o \
X		compress.o \
X		define.o \
X		delete.o \
X		dumpdb.o \
X		extract.o \
X		find.o \
X		findrcds.o \
X		fmt_chk.o \
X		getkey.o \
X		keymatch.o \
X		maint.o \
X		menu.o \
X		printdb.o \
X		putrcd.o \
X		rawio.o \
X		rbuildak.o \
X		screen.o \
X		setupkeys.o \
X		updak.o \
X		$(NULL)
X
XComplexProgramTarget(cardfile)
X
Xcardfile.man: manual.cpp
X	$(CPP) -C -P manual.cpp | sed -e '/^$$/d' > cardfile.man
X
Xinstall:: install.man
SHAR_EOF
true || echo 'restore of Imakefile failed'
fi
exit 0
(415) 462-7000 (W)