bruce@SLC.COM (Bruce Schuchardt) (08/21/90)
Submitted-by: bruce@SLC.COM (Bruce Schuchardt) Posting-number: Volume 8, Issue 76 Archive-name: xgrabsc/part02 -----------------CUT HERE-------------------- #! /bin/sh # This is a shell archive. Remove anything before this line, then unpack # it by saving it into a file and typing "sh file". To overwrite existing # files, type "sh file -c". You can also feed this as standard input via # unshar, or by typing "sh <file", e.g.. If this archive is complete, you # will see the following message at the end: # "End of archive 2 (of 2)." # Contents: patchlevel.h simple.mak # Wrapped by owner@spruce on Mon Aug 20 10:03:04 1990 PATH=/bin:/usr/bin:/usr/ucb ; export PATH if test -f 'patchlevel.h' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'patchlevel.h'\" else echo shar: Extracting \"'patchlevel.h'\" \(513 characters\) sed "s/^X//" >'patchlevel.h' <<'END_OF_FILE' X#ifndef PATCHLEVEL_H X#define PATCHLEVEL_H X/*======================================================================== X* X* Name - patchlevel.h X* X* Version: 1.1 X* X* ccsid: @(#)patchlevel.h 1.1 - 8/16/90 09:12:36 X* from: ccs/s.patchlevel.h X* date: 8/20/90 09:56:01 X* X* Copyright (C), 1990 Bruce Schuchardt X* See cpyright.h for full copyright information. X* X* Description: patch level for xgrabsc X* X*========================================================================*/ X X#define XGRABSC_PATCHLEVEL 0 X X X#endif END_OF_FILE if test 513 -ne `wc -c <'patchlevel.h'`; then echo shar: \"'patchlevel.h'\" unpacked with wrong size! fi # end of 'patchlevel.h' fi if test -f 'simple.mak' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'simple.mak'\" else echo shar: Extracting \"'simple.mak'\" \(938 characters\) sed "s/^X//" >'simple.mak' <<'END_OF_FILE' X#============================================================================= X# X# Name - simple.mak X# X# Version: 1.3 X# X# ccsid: @(#)simple.mak 1.3 - 8/20/90 09:55:13 X# from: ccs/s.simple.mak X# date: 8/20/90 09:56:01 X# X# Description: make file for xgrabsc. Use "make -f simple.mak" X# X#============================================================================= X X X# change INSTALL_PATH to the directory in which you want xgrabsc installed XINSTALL_PATH = /usr/bin/X11 X X# change MAN_PATH to point to your man page top directory XMAN_PATH = /usr/man X# change MAN_EXT to the section for xgrabsc XMAN_EXT = 1 X X# if you trust your optimizer, change 'g' to 'O' XCFLAGS = -g X Xxgrabsc:: xgrabsc.o X rm -f xgrabsc X $(CC) $(CFLAGS) -o xgrabsc xgrabsc.o -lX11 X Xinstall:: X install -c -s xgrabsc $(INSTALL_PATH) X install -c -m 644 xgrabsc.man \ X $(MAN_PATH)/man$(MAN_EXT)/xgrabsc.$(MAN_EXT)X X Xclean:: X rm -f core *.o xgrabsc *.log X END_OF_FILE if test 938 -ne `wc -c <'simple.mak'`; then echo shar: \"'simple.mak'\" unpacked with wrong size! fi # end of 'simple.mak' fi echo shar: End of archive 2 \(of 2\). cp /dev/null ark2isdone MISSING="" for I in 1 2 ; do if test ! -f ark${I}isdone ; then MISSING="${MISSING} ${I}" fi done if test "${MISSING}" = "" ; then echo You have unpacked both archives. rm -f ark[1-9]isdone else echo You still need to unpack the following archives: echo " " ${MISSING} fi ## End of shell archive. exit 0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Bruce Schuchardt Ph: (503) 629-8383 Servio Logic bruce@servio.SLC.COM Beaverton, OR uunet!servio!bruce dan ---------------------------------------------------- O'Reilly && Associates argv@sun.com / argv@ora.com Opinions expressed reflect those of the author only.